News for hackers. Stuff that matters.
Re:Linux Package Manager Command Line Comparison by pavelkaroukin on Thursday January 26, 2012 @11:33AM (#3514727)
Could you please elaborate or give a link to article(s) about why aptitude is better?
Re:Linux Package Manager Command Line Comparison by monkeyfacebag on Thursday January 26, 2012 @11:44AM (#3514779)
Aptitude handles package removal, especially orphaned dependencies much better. I think it's now included in the Debian base system, so there's very little reason to prefer apt.
Re:Linux Package Manager Command Line Comparison by saghul on Thursday January 26, 2012 @12:15PM (#3514936)
I actually use apt-get because I like to keep my system with the least amount of packages installed. I don't need any of the "recommended" packages, and if I do I'd install them manually.

Also, I usually use deborphan to find orphaned packages and remove them, if apt-get autoremove didn't find them.

Re:Linux Package Manager Command Line Comparison by Tobu on Thursday January 26, 2012 @01:01PM (#3515152)
Recommends are handled the same way by both tools nowadays. There are configuration options and flags to switch them off it you prefer.
Re:Linux Package Manager Command Line Comparison by sciurus on Thursday January 26, 2012 @02:04PM (#3515443)
You probably already know this, but apt-get defaults to installing recommended packages since Debian Lenny. Ubuntu may have been doing it for longer. To disable this, you have to set 'APT::Install-Recommends "false";' in apt.conf
Re:Linux Package Manager Command Line Comparison by technomancy on Thursday January 26, 2012 @01:48PM (#3515363)
I tried switching to aptitude, but the fact that its search defaults to OR for terms rather than AND made it completely unusable.

I guess I could keep using apt-cache for searching and aptitude for installation/removal though.

Re:Linux Package Manager Command Line Comparison by stouset on Thursday January 26, 2012 @05:43PM (#3516308)
What? Its search is a regex, plain and simple.