Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
up vote 4 down vote accepted

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

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
zypper refresh
zypper install mosh
share|improve this answer
That worked flawlessly. I chose add repository and install manually option. I'm going to add the exact commands from that to prevent "link rot". Thanks! – Zombies Jan 11 '14 at 11:38
@mleu, I'm just curious, where or how can you find the repository url for SLE_11_SP3? – Aaron Shen Jun 17 '15 at 0:10
@AaronShen, these commands come from choosing the 'add repository' path on the second download page. – mleu Jun 18 '15 at 6:22

SLES and OpenSUSE are two very different species. SUSE is extremely concervative and has very limited package selection.

What follows may affect your SUSE support contract. SUSE support has repeatedly asked to remove any "foreign" packages, so if you follow instructions below, you might end up having a bad day when calling to SUSE support.

Some OpenSUSE packages will run happily on SLES without modification. What you can do is to enable an OpenSUSE repository for zypper and then try to install mosh from it, just to see if it works or not.

To get one of OpenSUSE repositories into zypper you create a file, /etc/zypp/repos.d/OpenSUSE-repositories.repo with following content:


When you've created the file, just run zypper ref OpenSUSE-11.4-OSS and then zypper search mosh.

This example uses OpenSUSE 11.4 and enables only one of the repositories, namely Open Source Software (OSS) repository. Adjust the version to match your SLES version as close as possible (going lower usually works, going higher will not).

You can find list of OpenSUSE repositories here.

share|improve this answer
I tried this on SLES11 SP2 and it was not able to find 'mosh'. Not to be confused with 'moss', which I do not instend to install. You say going lower in version will help. I am not able to find any lower version repo than 11.4. – Zombies Dec 2 '13 at 9:19
As said, I'm not sure if mosh is even available from OpenSUSE repositories, that's what was left as an exercise for you. My apologies for that. – Sami Laine Dec 2 '13 at 9:24
The repository can also be added with zypper addrepo OpenSUSE-11.4-OSS. – Vituel Apr 20 at 14:08

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.