I'm facing to an issue. I'm on Ubuntu Desktop 14.04.
The execution of a program fails with the error:

unshare: unrecognized option '--fork'

I found on the web two man pages for 'unshare' package:

This pakage is included in 'util-linux' package. I would like to know how to switch to the other 'unshare' in order to have the --fork option available.

I already tried to upgrade my Ubuntu, but unshare is not upgraded.

Any ideas ?

Thanks in advance.

  • The Ubuntu manpage lists --fork. How did you install it?
    – muru
    Feb 16, 2015 at 14:35
  • I'm on a fresh install of Ubuntu 14.04.1 LTS, unshare si provided inside, I don't install anything else...
    – segalaj
    Feb 16, 2015 at 14:37
  • Hmm. Looks like the option was only added in 14.10. You may have to use a PPA.
    – muru
    Feb 16, 2015 at 14:38

1 Answer 1


You can try this PPA by Ivan Larionov who built a newer package from Debian experimental to try and fix this bug. I haven't tested it, so caveat emptor. See What are PPAs and how do I use them? if you don't know what a PPA is.

  • the ppa solved it for me as well, running a pretty fresh install of Ubuntu 14.04.2 LTS
    – SlimJim
    Apr 17, 2015 at 21:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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