Debian This forum is for the discussion of Debian Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-05-2004, 01:00 AM
|
#1
|
Member
Registered: Nov 2004
Location: NYC, USA
Distribution: Frugalware, Kanotix,
Posts: 74
Rep:
|
Aptitude *better alternative* to Apt-Get?
This is what I'm hearing it handles dependencies better and I'm seeing better results
|
|
|
12-05-2004, 03:22 AM
|
#2
|
Senior Member
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597
Rep:
|
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.
|
|
|
12-05-2004, 03:27 AM
|
#3
|
Member
Registered: Nov 2004
Location: NYC, USA
Distribution: Frugalware, Kanotix,
Posts: 74
Original Poster
Rep:
|
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 ________

|
|
|
12-05-2004, 04:35 AM
|
#4
|
Senior Member
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597
Rep:
|
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. 
|
|
|
12-05-2004, 01:26 PM
|
#5
|
Member
Registered: Jun 2001
Location: Houston, TX, USA
Distribution: Debian
Posts: 569
Rep:
|
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.
|
|
|
12-05-2004, 01:55 PM
|
#6
|
Senior Member
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597
Rep:
|
Another feature that AFAIK apt-get doesn't have is that with aptitude you can check the changelog for a package (aptitude changelog <package>).
|
|
|
12-05-2004, 02:24 PM
|
#7
|
Member
Registered: Nov 2004
Location: NYC, USA
Distribution: Frugalware, Kanotix,
Posts: 74
Original Poster
Rep:
|
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 
|
|
|
All times are GMT -5. The time now is 12:11 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|