And vice versa?
For example install apt-get on Gentoo and connect Ubuntu's repositories.
And if it is possible how can I do it? (at least in general terms)

2 Answers 2


You might be interested in Gentoo Prefix.

Usually, Gentoo's Portage installs in the root of the filesystem hierarchy, '/'. On systems other than Gentoo Linux, this usually results in problems, due to conflicts of software packages, unless the OS is adapted like Gentoo/FreeBSD. Instead, Gentoo Prefix installs with an offset, allowing to install in another location in the filesystem hierarchy, hence avoiding conflicts. Next to this offset, Gentoo Prefix runs unprivileged, meaning no root user or rights are required to use it.


Technically you might be able to do. But is is going to be highly experimental and not very useful and very unlikely to teach you anything.

  • why is it not going to teach?
    – oz123
    Jan 15, 2016 at 23:57
  • 2
    It will actually teach you a lot...
    – Anubioz
    Apr 30, 2016 at 20:36

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.