I want to install a non-Ubuntu package manager like Portage (Gentoo) or Pacman (Arch) on Ubuntu 12.04 LTS.
How do I do that??
PS - I'm a Newbie to Linux.
|
I want to install a non-Ubuntu package manager like Portage (Gentoo) or Pacman (Arch) on Ubuntu 12.04 LTS. How do I do that?? PS - I'm a Newbie to Linux. |
|||||||||
|
|
You don't. Gentoo, Arch, Redhat -- they all use different packaging systems. Gentoo's portage packages usually compile from source, Arch uses its own binary package format, Redhat uses RPM as packaging system -- and Debian as well as Ubuntu and Linux Mint use Debian Packages (.deb). Managing your local installation takes place using graphical frontends like Synaptic and Adept, or command-line tools like apt-get, aptitude and dpkg. Though it is possible to install other package managers on Ubuntu (else they wouldn't be in the repositories), this is not to be recommended for the unexperienced user. One should be quite familiar with packages and package managers, how they work, etc. before even thinking about using them alongside. Otherwise it is very likely to end up with a very broken system -- as one package manager is not aware of the others, they would e.g. overwrite each others files/configurations, uninstalling a package with one package manager could break dependencies with the other, and more. So for now I'd strongly suggest you stay with the package managers native to your system (see above). |
|||||||||
|
You
|
|
I don't think the internal package structure is important here (that should be handled by the concerned manager). It's rather dependencies getting messed up, files/configurations overwriting each other... in short: system integrety being in danger. One should be quite familiar with packages, packaging, and package managers before playing with "alien things". – Izzy Jul 9 '12 at 11:57 |
||
|
Yupp, you're welcome. As for the package conversion, alien might be worth mentioning as the most-commonly used tool for this task. Another possibility is using the extracted source RPM to create a .deb using debbuild. Or to use the source tarball (e.g. from Arch/Gentoo) and build your own .deb with checkinstall. – Izzy Jul 9 '12 at 12:14 |
|
Due to the different packaging systems, the package managers are not interchangeable without a lot of blood, sweat and tears. Even then, there are a lot of dependency issues, and bugs, and errors, and rabbit holes that you cannot find your way out of. No, it's not it's not impossible, but, it's not recommended. PacApt is your best bet to use Pacman AND Portage commands in Ubuntu without destroying your computer. I believe that it supports commands from all of the major package managers. This is probably your safest bet for installation of Pacman/Portage-likeness in Ubuntu. Check it out. If it isn't what you are looking for, your best bet (and recommended course of action) may be to install the distribution of the package manager that you want to use.
|
|||||||||
|
|
I can think of a good reason to want to install Portage on a Debian system. Dependency Hell. Not just for quagmires that people encounter when there are conflicts, but to get-RID of applications that are listed as dependencies that some users may not want. Example? What if I am paranoid and do not want "security enhanced Linux" or anything NSA produced on my system? I am not claiming that it is inherently a security flaw, though some exploits have been found in it. What if I am just biased and want it OFF of my system, for no other reason than because the idea of it irritates me? Why should it have to remove every other important application on my system to do it?....I am not saying not to include it in your default system if you want it, but why make it such an arbitrary dependency when it clearly is NOT one? Netmask? It is not a true dependency for your network manager. I can see how it might be useful on servers, but why do desktop users need it? In fact, it can be a liability to users who want more anonymity by using virtual systems. It also has a bug that lets you do a really easy DDOS-attack, or did back when everyone was mad about it. Avahi server? Again, could be useful, but why do I need my desktop advertising all its services and daemons? If I wanted more anonymity I would not want such a program advertising my computers services to any hacker or government stooge that wanted it. The printer should be the one saying "I am a printer"....My computer does not need to be the one saying "I am a computer listening on all these ports, are you a printer...are you a printer...are you a printer..". When I try to remove it, it takes too much with it. Net-bios? Dont need it. Don't want it. What is the standard reply? Don't remove it. Its an easy answer, but it sucks. Something like Portage, which CAN install binaries, or even Slackwares style of file management, could do some good for a Debian/Ubuntu based operating system....but then users would just have too much control over their own computers, and we can have that in the open source world now can we? |
|||
|
|