LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   What application is more "low level" - apt or aptitude? (https://www.linuxquestions.org/questions/linux-newbie-8/what-application-is-more-low-level-apt-or-aptitude-824636/)

Mr. Alex 08-06-2010 02:56 PM

What application is more "low level" - apt or aptitude?
 
What application is more "low level" - apt or aptitude?

craigevil 08-06-2010 03:20 PM

They are pretty much the same, aptitude is the recommended tool on Debian.

Mr. Alex 08-07-2010 03:20 AM

Does aptitude use apt like Synaptic does?

smeezekitty 08-07-2010 03:45 AM

I think apt but aptitude is superior.
dpkg is the lowest.

tealio 08-07-2010 05:45 AM

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.

tealio 08-07-2010 05:50 AM

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.

craigevil 08-07-2010 06:46 AM

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/

Mr. Alex 08-07-2010 07:22 AM

I've had some problems with aptitude. Apt-get is more stable I think. That's why I don't use aptitude.

craigevil 08-07-2010 07:27 AM

Quote:

Originally Posted by Mr. Alex (Post 4058734)
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

Mr. Alex 08-07-2010 07:49 AM

I use aptitude for "search" and "show" things only. Apt-get for anything else.

Xanios 08-07-2010 07:53 AM

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?

Mr. Alex 08-07-2010 08:27 AM

URL? You mean "repository"?

Xanios 08-07-2010 08:31 AM

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

sorry for my english x_x

craigevil 08-07-2010 09:33 AM

Quote:

Originally Posted by Xanios (Post 4058813)
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?

Xanios 08-07-2010 09:53 AM

Quote:

Originally Posted by craigevil (Post 4058894)
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?


All times are GMT -5. The time now is 11:33 PM.