LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 12-05-2004, 01:00 AM   #1
Triple5
Member
 
Registered: Nov 2004
Location: NYC, USA
Distribution: Frugalware, Kanotix,
Posts: 74

Rep: Reputation: 15
Aptitude *better alternative* to Apt-Get?


This is what I'm hearing it handles dependencies better and I'm seeing better results
 
Old 12-05-2004, 03:22 AM   #2
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
Aptitude is just a frontend for apt-get.

The main difference is that apt-get only installs packages with their dependencies while aptitude defaults to installing both dependent and recommended packages (you can easily change aptitude's default behaviour). This is the possible reason why you're seeing "better results" using aptitude.

Notice that in Debian the package dependencies are classified into three categories: dependent, recommended, and suggested packages. The program you install won't work without the "dependent" packages. "Recommended" packages bring additional functions and are often useful to have as well. It's up to your own consideration if you really need to install any "suggested" packages.

If you highlight a package in aptitude and press Enter, you'll see a more detailed view of that package, including possible dependencies, suggestions, etc. To get back to the more general view, press q.

For me the reason why I prefer aptitude is the graphical (ncurses) interface that I simply find very convenient.
 
Old 12-05-2004, 03:27 AM   #3
Triple5
Member
 
Registered: Nov 2004
Location: NYC, USA
Distribution: Frugalware, Kanotix,
Posts: 74

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Dead Parrot
Aptitude is just a frontend for apt-get.

The main difference is that apt-get only installs packages with their dependencies while aptitude defaults to installing both dependent and recommended packages (you can easily change aptitude's default behaviour). This is the possible reason why you're seeing "better results" using aptitude.

Notice that in Debian the package dependencies are classified into three categories: dependent, recommended, and suggested packages. The program you install won't work without the "dependent" packages. "Recommended" packages bring additional functions and are often useful to have as well. It's up to your own consideration if you really need to install any "suggested" packages.

If you highlight a package in aptitude and press Enter, you'll see a more detailed view of that package, including possible dependencies, suggestions, etc. To get back to the more general view, press q.

For me the reason why I prefer aptitude is the graphical (ncurses) interface that I simply find very convenient.
Actually, I don't use aptitude like that. I use it as a apt-get alternative . for example

APT-GET UPDATE , I do aptitude update
apt-get upgrade , i do aptitude upgrade
apt-get install _______, i do aptitude install ________

 
Old 12-05-2004, 04:35 AM   #4
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
Well, in that case I'd say the main difference is that aptitude is "Y2K-compliant, non-fattening, naturally cleansing, and housebroken" http://packages.debian.org/testing/admin/aptitude while APT has Super Cow Powers -- you just cannot "apt-get moo" in aptitude.
 
Old 12-05-2004, 01:26 PM   #5
Strike
Member
 
Registered: Jun 2001
Location: Houston, TX, USA
Distribution: Debian
Posts: 569

Rep: Reputation: 31
The real main difference is that aptitude tracks which packages were installed as dependencies and which were explicitly requested. Then when you uninstall a package it checks to see if any package that was auto-installed (ie, installed only to satisfy a dependency) is still required. If it's not, it marks it for removal as well.
 
Old 12-05-2004, 01:55 PM   #6
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
Another feature that AFAIK apt-get doesn't have is that with aptitude you can check the changelog for a package (aptitude changelog <package>).
 
Old 12-05-2004, 02:24 PM   #7
Triple5
Member
 
Registered: Nov 2004
Location: NYC, USA
Distribution: Frugalware, Kanotix,
Posts: 74

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Strike
The real main difference is that aptitude tracks which packages were installed as dependencies and which were explicitly requested. Then when you uninstall a package it checks to see if any package that was auto-installed (ie, installed only to satisfy a dependency) is still required. If it's not, it marks it for removal as well.
Perfect for newbies like me
 
  


Reply


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
is apt-get buggy or is aptitude lying!? Daveb3 Debian 14 07-26-2005 03:55 PM
Alternative to apt-get J_K9 Ubuntu 2 06-25-2005 08:03 AM
apt-get dependency problems with alternative package Frits of waterplant Debian 3 06-01-2005 04:45 PM
Debian aptitude - apt-get problem mikek147 Linux - Distributions 1 09-15-2002 07:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 08:49 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration