Did you know LQ has a Linux Hardware Compatibility List?
Go Back > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Ubuntu This forum is for the discussion of Ubuntu Linux.


  Search this Thread
Old 08-08-2006, 03:52 AM   #1
LQ Newbie
Registered: Aug 2006
Location: Clovis, CA
Distribution: Ubuntu Dapper Drake
Posts: 17

Rep: Reputation: 0
aptitude vs apt-get

Is there any advantage in using aptitude install <filename> vs. apt-get <filename>?
Old 08-08-2006, 05:23 AM   #2
Registered: Jul 2005
Location: England, UK
Distribution: Ubuntu 8.04 Server, Kubuntu 12.04
Posts: 698
Blog Entries: 1

Rep: Reputation: 31
I'm not 100% on this but, if you use "aptitude install [package]" there is no difference with "apt-get install [package]"
But if you do "aptitude remove [package]" with something that you installed with "aptitude install" it will also remove the dependences, "apt-get remove" wont.
Old 08-08-2006, 05:28 AM   #3
LQ Guru
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
As far as I know, aptitude is just a command-line user interface (i.e. "a frontend") for apt ("apt-get").

EDIT: just read some APT usage help from a website - apt-get removes the dependencies too, not just adept (like binary_y2k2 said). The website (from Debian) stated this:

--APT also takes care of removing packages which depend on the package you have asked to remove. There is no way to remove a package using APT without also removing those packages that depend on it.

..also just stumbled across this thread at LQ:

Search first.

Last edited by b0uncer; 08-08-2006 at 05:34 AM.
Old 08-08-2006, 11:34 AM   #4
Senior Member
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,776

Rep: Reputation: 66 explains the difference.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
apt-get vs. aptitude freddie_leaf Debian 28 01-13-2011 06:56 AM
aptitude .vs. apt-get thelonius Debian 12 07-25-2006 10:52 PM
is apt-get buggy or is aptitude lying!? Daveb3 Debian 14 07-26-2005 03:55 PM
Aptitude *better alternative* to Apt-Get? Triple5 Debian 6 12-05-2004 02:24 PM
Debian aptitude - apt-get problem mikek147 Linux - Distributions 1 09-15-2002 07:11 AM

All times are GMT -5. The time now is 09:35 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration