I would like to use aptitude since its parameters are more consistent.
You can install it with:
sudo apt-get install aptitude
Are there any reasons not to use it with elementary OS?
Yes you can.
What are the differences?
aptitudeadds explicit per-package flags, indicating whether a package was automatically installed to satisfy a dependency: you can manipulate those flags (
aptitude unmarkauto) to change the way aptitude treats the package.
apt-getkeeps track of the same information, but will not show it explicitly.
apt-markcan be used for manipulating the flags.
aptitudewill offer to remove unused packages each time you remove an installed package, whereas apt-get will only do that if explicitly asked to with
apt-get autoremoveor specify
aptitudeacts as a single command-line front-end to most of the functionalities in both
In contrast to
apt-cache's "search", aptitude's "search" output also shows the installed/removed/purged status of a package (plus aptitude's own status flags). Also, the "install" output marks which packages are being installed to satisfy a dependency, and which are being removed because unused.
So there are a few differences between
aptitude. Because of this, it is recommended to chose one and stick with it. I've always used apt-get - partly because that's what the internet uses.
aptitudeis supposed to be a user level program whereas
apt-getis supposed to be used by higher level programs like
aptitude. It just turns out
apt-getis easy to use by users so they just use it instead of using the higher level managers like
Why is it easier? I'd say because it doesn't do as much. It's like the difference between a clean UI and a cluttered UI:
New users are much more likely to want to use this UI ▲ because it's easier to understand and navigate.
The command line is scary enough when you come from Windows or OS X - the lack of being able to download everything by clicking (which you can (other than
ppas), but oh so slow) is worrying to a new user.
So anything that makes that experience better is going to make them happier.
apt-getdoes have the advantage of being more memory-efficient. This is unlikely to be noticeable for most users; I wasn't really aware of it until I tried to upgrade packages on a full Debian install with 32MB of RAM.
Currently, Ubuntu ships with
aptitude avaliable to install. Popularity for
aptitude (red has always been lower than
But this graph for
apt-get suggests something else:
Probably just users are getting lazier and not typing
Anyway, back to your question: "Are there any reasons not to use it with elementary OS?"
Not really - pick one and go with it.
apt-get is the future standard, but as long as
aptitude is avaliable why not use it?
Finally, one more article:
Canonical has announced plans to switch all versions of Ubuntu to its new Snappy package manager. The new tool offers the promise of greater stability and security for the system and applications.
Currently, Ubuntu uses the Advanced Packaging Tool (
apt) and the lower-level
dpkgtool to manage packages. They are inherited from Debian and are used on a wide range of distros, including Elementary OS.