Visit Jeremy's Blog.
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, 04: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, 06: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, 06: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 06:34 AM.
Old 08-08-2006, 12:34 PM   #4
Senior Member
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,775

Rep: Reputation: 86 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 07:56 AM
aptitude .vs. apt-get thelonius Debian 12 07-25-2006 11:52 PM
is apt-get buggy or is aptitude lying!? Daveb3 Debian 14 07-26-2005 04:55 PM
Aptitude *better alternative* to Apt-Get? Triple5 Debian 6 12-05-2004 03:24 PM
Debian aptitude - apt-get problem mikek147 Linux - Distributions 1 09-15-2002 08:11 AM > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 02:02 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
Open Source Consulting | Domain Registration