Linux – install openSuse packges on SLES

linuxopensusesles

I wish to install a package called 'mosh' onto Suse (not openSuse). The instructions for mosh are to run a simple sudo zypper in mosh. This sadly results in this on suse:

'mosh' not found in package names. Trying capabilities.
No provider of 'mosh' found.
Resolving package dependencies...

Nothing to do.

In this environment, Suse is being ran on ec2 as a virtual machine. There is no license nor is there any support from Suse. This is just a virtual environment.

Best Answer

To install a single package that is outside of the officially supported SLES packages you can use the search interface on software.opensuse.org.

On the software page for mosh click on 'Show other versions' and if you're lucky the right SLES version will be available.

I recommend clicking on the first item (in case of SLES 11 SP3 that would be 'network') which leads you to the Open Build Service (OBS) page of mosh at OpenSUSE. There, select 'Download package' which leads you to yet another download page. There you can select your SLES version again and choose your preferred installation method: one click, add repository or direct download of the RPMs.

If you choose 'Add repository and install manually' this yields the following commands:

zypper addrepo http://download.opensuse.org/repositories/network/SLE_11_SP3/network.repo
zypper refresh
zypper install mosh
Related Topic