DebianThis forum is for the discussion of Debian Linux.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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
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.
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 11:20 PM.
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:
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
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.
Note that aptitude is the preferred program for daily package management from console.
Last edited by demosthenese; 01-12-2011 at 03: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.