DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Synaptic has also a sources.list editor, which aptitude lacks. And you can use various search filters in synaptic while aptitude can perform only very basic (although fast!) package searches. My main gripe against synaptic is that it sorts (at least it did the last time I tried synaptic) packages under strange groups while aptitude follows the same familiar package grouping that you can find in the official web interface: http://www.debian.org/distrib/packages
Distribution: openSUSE 11.1 RC 1, Mandriva 2009 and Ubuntu 8.10
Posts: 3
Rep:
Quote:
Originally Posted by rickh
No. And reviving long dead threads is juvenile and unhelpful.
I disagree. I would neither thought of this particular matter nor found thread had this post been revived. I am not an expert, I would know terminal from turkey. I am learning. Any place I can learn is a big help. So, yes, it can be useful.
is worth noting that Synaptic is a front end for apt-get .. or is that changing with Koala's newly branded apps shop or whatever it's called?
.. so if you use synaptic to install/remove stuff, you are apt-getting, as opposed to aptituding, if you'll excuse the ings n tings.
then again, maybe apt-get and aptitude are more cooperational these days anyhow .. with a full upgrade twice a year, if you elect to fupgrade, I guess it clears a lot of cobwebs.
.. also, gtkorphan is a worthy install. it finds orphaned packages for safe removal. great for those with LTS editions or appoholics.
Aptitude is said to deal with dependencies better than apt-get. For example, say you install a package which automatically installs some library packages because it depends on them. When you remove this package with apt-get, it won't remove the libraries this package installed, although they aren't used anymore.
When you install that package with aptitude and remove it with aptitude, aptitude 'detects' that those library packages aren't used anymore and will therefore automatically remove thm.
Won't apt-get do the same with "autoremove" (sudo apt-get autoremove) ?
Yes apt-get will with 'autoremove'. Aptitude isn't the best anymore, IMO. Apt-get with Synaptic combined is awesome and I use it exclusively. Debian and Sidux have recommended apt-get a long time. I think at one point Aptitude was preferable a few years ago, but the perpetuation of that has become a myth ....I'm going to RHEL anyway so who cares
Last edited by joutlancpa; 01-11-2011 at 10:20 PM.
No, Debian still recommends aptitude over apt-get.. and has for years.
For some loose definition of 'still'. The reference you give relates to upgrading etch to lenny. The current Debian GNU/Linux FAQ, http://www.debian.org/doc/FAQ/ch-pkgtools.en.html makes no reference to a preferred tool. In fact a telling line is:
Quote:
It is important to understand that the higher level package management tools such as aptitude or dselect rely on apt which, itself, relies on dpkg to manage the packages in the system.
I think that once upon a time it mattered whether you used apt-get or aptitude but it is now all the same under the hood.
Edit: I really must read ore carefully:
From the FAQ
Quote:
Note that apt-get now installs recommended packages as default and is the preferred program for package management from console to perform system installation and major system upgrades for its robustness.
Quote:
Note that aptitude is the preferred program for daily package management from console.
Last edited by demosthenese; 01-12-2011 at 02:44 PM.
Reason: Factual inaccuracy
So why are you trolling the Debian forum with your opinion?.
Not to mention dragging up an old thread.
I'm still using Debian...the only troll post I see is yours. Guess I was wrong about what Debian recommends, but that's all. I abhor Aptitude after a few years with it. Just my opinion, and others as well....such as the AptoSid folks.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.