LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 08-06-2010, 01:56 PM   #1
Mr. Alex
Senior Member
 
Registered: May 2010
Distribution: Arch + X.org + IceWM
Posts: 1,195

Rep: Reputation: Disabled
Question What application is more "low level" - apt or aptitude?


What application is more "low level" - apt or aptitude?
 
Old 08-06-2010, 02:20 PM   #2
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,732
Blog Entries: 12

Rep: Reputation: 455Reputation: 455Reputation: 455Reputation: 455Reputation: 455
They are pretty much the same, aptitude is the recommended tool on Debian.
 
Old 08-07-2010, 02:20 AM   #3
Mr. Alex
Senior Member
 
Registered: May 2010
Distribution: Arch + X.org + IceWM
Posts: 1,195

Original Poster
Rep: Reputation: Disabled
Does aptitude use apt like Synaptic does?
 
Old 08-07-2010, 02:45 AM   #4
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,227

Rep: Reputation: 167Reputation: 167
I think apt but aptitude is superior.
dpkg is the lowest.
 
Old 08-07-2010, 04:45 AM   #5
tealio
LQ Newbie
 
Registered: Aug 2010
Location: Atlanta, GA
Distribution: Ubuntu 10.04
Posts: 23

Rep: Reputation: 18
apt-get is the lowest. Aptitude is a console frontend for apt-get. Synaptic is a gui front end for apt-get. Synaptic is basically a gui aptitude.

I use apt-get if I know what I want. I use aptitude if I'm in a console and need to find something to serve a given purpose. Synaptic fills in when I'm already in a gui and need aptitude-like function. I typically use synaptic when vnc'd into my media center, or on my laptop. If i ssh into the server I use apt-get or aptitude.

Basically they're all using apt-get.
 
Old 08-07-2010, 04:50 AM   #6
tealio
LQ Newbie
 
Registered: Aug 2010
Location: Atlanta, GA
Distribution: Ubuntu 10.04
Posts: 23

Rep: Reputation: 18
For the record, dpkg is for installing packages. It doesn't help you find them (like aptitude and synaptic) or download them (like apt-get, aptitude, and synaptic). So I guess dpkg could be considered lower level, but only because It does less. All 3 (apt-get, aptitude, synaptic) use dpkg to do the installing. The programs in question simply get the packages to you. Dpkg does the installing.
 
Old 08-07-2010, 05:46 AM   #7
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,732
Blog Entries: 12

Rep: Reputation: 455Reputation: 455Reputation: 455Reputation: 455Reputation: 455
The Debian GNU/Linux FAQ - The Debian package management tools
http://www.debian.org/doc/FAQ/ch-pkgtools.en.html

Synaptic uses neither apt-get nor aptitude. Nor does it recognize apt.preference or holds placed by apt-get or aptitude.

aptitude is the recommended package management tool for Debian.

See my LQ.org blog post:
http://www.linuxquestions.org/questi...nu-linux-3073/
 
Old 08-07-2010, 06:22 AM   #8
Mr. Alex
Senior Member
 
Registered: May 2010
Distribution: Arch + X.org + IceWM
Posts: 1,195

Original Poster
Rep: Reputation: Disabled
I've had some problems with aptitude. Apt-get is more stable I think. That's why I don't use aptitude.
 
Old 08-07-2010, 06:27 AM   #9
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,732
Blog Entries: 12

Rep: Reputation: 455Reputation: 455Reputation: 455Reputation: 455Reputation: 455
Quote:
Originally Posted by Mr. Alex View Post
I've had some problems with aptitude. Apt-get is more stable I think. That's why I don't use aptitude.
Aptitude tries to be too smart for its own good sometimes.

I have always used apt-get.

I do use aptitude to search.
aptitude search ~npackage searches by name
aptitude search ~dpackage searches by description
 
Old 08-07-2010, 06:49 AM   #10
Mr. Alex
Senior Member
 
Registered: May 2010
Distribution: Arch + X.org + IceWM
Posts: 1,195

Original Poster
Rep: Reputation: Disabled
I use aptitude for "search" and "show" things only. Apt-get for anything else.
 
Old 08-07-2010, 06:53 AM   #11
Xanios
Member
 
Registered: Jul 2010
Posts: 216

Rep: Reputation: 30
I used apt-get to download file from an url.
i have never use aptitude before, does it also enable one to download file from a particular url too?
 
Old 08-07-2010, 07:27 AM   #12
Mr. Alex
Senior Member
 
Registered: May 2010
Distribution: Arch + X.org + IceWM
Posts: 1,195

Original Poster
Rep: Reputation: Disabled
URL? You mean "repository"?
 
Old 08-07-2010, 07:31 AM   #13
Xanios
Member
 
Registered: Jul 2010
Posts: 216

Rep: Reputation: 30
erm ya x.x
something like this:http://sourceforge.net/projects/nagiosplug/files/ from sourceforge as an example.

sorry for my english x_x
 
Old 08-07-2010, 08:33 AM   #14
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,732
Blog Entries: 12

Rep: Reputation: 455Reputation: 455Reputation: 455Reputation: 455Reputation: 455
Quote:
Originally Posted by Xanios View Post
erm ya x.x
something like this:http://sourceforge.net/projects/nagiosplug/files/ from sourceforge as an example.

sorry for my english x_x
Are you sure you don't mean wget?
 
Old 08-07-2010, 08:53 AM   #15
Xanios
Member
 
Registered: Jul 2010
Posts: 216

Rep: Reputation: 30
Quote:
Originally Posted by craigevil View Post
Are you sure you don't mean wget?
sorry, my bad. is wget.
>.<
i was thinking of apt-get install [something] x.x
aptitude-get install [something] and apt-get install [something] is the same i suppose?
 
  


Reply

Tags
apt, apt-get, aptitude, dpkg, synaptic


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/aptitude package management "auto" flag cjmueller Debian 2 10-16-2011 10:52 PM
locating packages held with "aptitude hold <packagename>" farslayer Debian 3 12-01-2008 09:56 AM
Is there an "apt-get" equivalent of "yum list available"? geeeeky.girl Linux - General 3 07-20-2008 08:40 PM
Aptitude giving error after "apt-get update" ciden Linux - Software 6 03-22-2008 03:53 AM
How "low-level" is the dd-command? (Backups) JZL240I-U Linux - Software 11 05-28-2004 10:30 AM


All times are GMT -5. The time now is 03:25 PM.

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