Aptitude vs Apt-Get

Here you can discuss every aspect of Debian. Note: not for support requests!

Aptitude vs Apt-Get

Postby rickh » 2007-08-13 18:31

http://www.pthree.org/2007/08/12/aptitude-vs-apt-get/

We're winning the battle, one user at a time.
Debian-Lenny/Sid 32/64
Desktop: Generic Core 2 Duo, EVGA 680i, Nvidia
Laptop: Generic Intel SIS/AC97
User avatar
rickh
 
Posts: 3475
Joined: 2006-06-29 02:13
Location: Albuquerque, NM USA

Postby Bulkley » 2007-08-13 18:53

Aptitude is just a front-end for Apt-get, is it not? Every time I experiment with Aptitude, I give it up as too much trouble. When I want a GUI, I use Synaptic. Otherwise, I use apt-get line instructions.
Bulkley
 
Posts: 4020
Joined: 2006-02-11 18:35

Postby craigevil » 2007-08-13 19:08

No thanks, I will stick with APT.

aptitude doesn't even come preinstalled on sidux.

The one and only time I try to use aptitude to do a dist-upgrade it wanted to remove most of kde, apt was smart enough to autohold the packages rather than trying to remove half of my system.

Right after my d-u that day I took the advice of the Kanotix/sidux devs and did apt-get remove --purge aptitude.

3 yrs on the same install with no problems since. :)
Debian Sid KDE Kernel 3.17 Thinkpad R40 Intel M 1.3 CPU 2GB RAM Radeon Mobility 7500
Debian - "If you can't apt-get something, it isn't useful or doesn't exist"
Debian upgrade script smxi | sysinfo script inxi
User avatar
craigevil
 
Posts: 5171
Joined: 2006-09-17 03:17
Location: Oz

Postby rickh » 2007-08-13 19:14

When I want a GUI, I use Synaptic. Otherwise, I use apt-get line instructions.
I have barely seen the ncurses interface of aptitude, and I certainly don't recommend it. My position is that Aptitude is best used from the command line, where all package management belongs.
Debian-Lenny/Sid 32/64
Desktop: Generic Core 2 Duo, EVGA 680i, Nvidia
Laptop: Generic Intel SIS/AC97
User avatar
rickh
 
Posts: 3475
Joined: 2006-06-29 02:13
Location: Albuquerque, NM USA

Postby hellfire[bg] » 2007-08-13 19:17

I`ve used apt ever since started using Debian. When i want to make things easier i use synaptic.
...to boldly go where no one has gone before...
User avatar
hellfire[bg]
 
Posts: 499
Joined: 2006-06-21 19:15
Location: Sliven, Bulgaria

Re: Aptitude vs Apt-Get

Postby Issyer » 2007-08-13 19:25

rickh wrote:We're winning the battle, one user at a time.

Actually nobody is winning anything. Yes, apt-get doesn't remove libraries. But it was not meant to. Just an example:
Code: Select all
$ sudo apt-get install mondo
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
  afio buffer cdrecord dosfstools libparted1.7-1 lzop mindi mindi-busybox
  parted
Suggested packages:
  libparted1.7-dev libparted1.7-i18n less petris acl attr lilo mondo-doc
  parted-doc
Recommended packages:
  mdadm ntfsprogs linux-image-2.6-amd64 linux-image-2.6-486
  kernel-image-2.6-386 kernel-image-2.4-386 kernel-image-2.6-itanium
  kernel-image-2.4-itanium
The following NEW packages will be installed
  afio buffer cdrecord dosfstools libparted1.7-1 lzop mindi mindi-busybox
  mondo parted
0 upgraded, 10 newly installed, 0 to remove and 4 not upgraded.
Need to get 0B/1582kB of archives.
After unpacking 4248kB of additional disk space will be used.
Do you want to continue [Y/n]?

Code: Select all
$ sudo aptitude install mondo
Reading package lists... Done
Building dependency tree... Done
Reading extended state information       
Initializing package states... Done
Writing extended state information... Done
Reading task descriptions... Done         
Building tag database... Done   
The following NEW packages will be automatically installed:
  afio buffer cdrecord dosfstools fuse-utils libfuse2 libntfs9
  libparted1.7-1 linux-image-2.6-amd64 linux-image-2.6.18-4-amd64 lzop
  mdadm mindi mindi-busybox ntfsprogs parted
The following packages have been kept back:
  libwine opera w32codecs wine
The following NEW packages will be installed:
  afio buffer cdrecord dosfstools fuse-utils libfuse2 libntfs9
  libparted1.7-1 linux-image-2.6-amd64 linux-image-2.6.18-4-amd64 lzop
  mdadm mindi mindi-busybox mondo ntfsprogs parted
0 packages upgraded, 17 newly installed, 0 to remove and 4 not upgraded.
Need to get 0B/19.2MB of archives. After unpacking 73.8MB will be used.
Do you want to continue? [Y/n/?]

If I wanted a nice graphical interface and other bloats, I would continue using Windows. But I want a fast and obedient system. I use apt-get.
User avatar
Issyer
 
Posts: 2992
Joined: 2007-05-23 02:59
Location: Khakassia

Postby Plato » 2007-08-13 19:50

I use aptitude as it is really smarter when you have messed up your system.
Debian Etch 2.6.22.6 on IBM ThinkPad R50e
User avatar
Plato
 
Posts: 170
Joined: 2007-04-16 05:48

Postby b9anders » 2007-08-13 22:08

craigevil wrote:No thanks, I will stick with APT.

aptitude doesn't even come preinstalled on sidux.


aptitude is a frontend for apt, same way apt-get is.
Linux user as of Jan 20007. Still getting the hang of it.
User avatar
b9anders
 
Posts: 88
Joined: 2007-06-19 18:01

Re: Aptitude vs Apt-Get

Postby kirihito » 2007-08-13 22:15

Issyer wrote:If I wanted a nice graphical interface and other bloats, I would continue using Windows. But I want a fast and obedient system. I use apt-get.


By default aptitude automatically installs recommended packages. That can be easily changed. aptitude->options->dependency handling->Uncheck install recommended packages automatically.
kirihito
 
Posts: 14
Joined: 2007-05-04 14:36

Postby actionM » 2007-08-13 22:41

I'm still using BOTH! I'll let you guys know who wins...eventually.
User avatar
actionM
 
Posts: 897
Joined: 2007-05-01 02:11

Re: Aptitude vs Apt-Get

Postby Issyer » 2007-08-13 22:41

kirihito wrote:By default aptitude automatically installs recommended packages. That can be easily changed. aptitude->options->dependency handling->Uncheck install recommended packages automatically.

By default I can continue using apt-get without the need to figure out which package is recommended and so on.
User avatar
Issyer
 
Posts: 2992
Joined: 2007-05-23 02:59
Location: Khakassia

Postby Plato » 2007-08-13 23:56

I'm still using BOTH! I'll let you guys know who wins...eventually.


You'll lose as it is very bad idea to use apt and aptitude together. Those who complain that aptitude wants to remove their Gnome usually are apt users who decided to give aptitude a try. But the fact is that you should use either one or another unless you want to mess everything up.
Debian Etch 2.6.22.6 on IBM ThinkPad R50e
User avatar
Plato
 
Posts: 170
Joined: 2007-04-16 05:48

Re: Aptitude vs Apt-Get

Postby kirihito » 2007-08-14 00:12

Issyer wrote:By default I can continue using apt-get without the need to figure out which package is recommended and so on.


Why would you have to figure out which package is recommended with aptitude?
kirihito
 
Posts: 14
Joined: 2007-05-04 14:36

Re: Aptitude vs Apt-Get

Postby Issyer » 2007-08-14 00:41

kirihito wrote:Why would you have to figure out which package is recommended with aptitude?

Why aptitude is better? Is it faster? It removes libraries together with the executable. But there are a lot of other tools that can remove libraries, if you need. Or you can simply copy the packages that are going to be installed from the terminal and save somewhere. It doesn't make any problem at all. I don't see any huge difference between apt-get and aptitude except that I need to learn one more program.
User avatar
Issyer
 
Posts: 2992
Joined: 2007-05-23 02:59
Location: Khakassia

Postby rickh » 2007-08-14 00:43

I don't see any huge difference between apt-get and aptitude except that I need to learn one more program.

Did you read the link in the OP.
Debian-Lenny/Sid 32/64
Desktop: Generic Core 2 Duo, EVGA 680i, Nvidia
Laptop: Generic Intel SIS/AC97
User avatar
rickh
 
Posts: 3475
Joined: 2006-06-29 02:13
Location: Albuquerque, NM USA

Next

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable