So I don't get what the different between aptitude and apt-get is...
Could you say:
apt-get install build-essential
and
aptitude install build-essential
???
Or are they only used for certain things?
So I don't get what the different between aptitude and apt-get is...
Could you say:
apt-get install build-essential
and
aptitude install build-essential
???
Or are they only used for certain things?
My Java OpenGL Blog:
http://lorgonjortle.tumblr.com/
They are virtually the same thing, just a different interface when it's installing something, and apt-get asks different questions than aptitude does.
Both of those commands would install the package indicated. In years prior, aptitude handled removing dependent packages which were no longer needed. However, recent updates to apt-get have added that functionality.
I typically use aptitude when I go to install something and it says there are recommended updates. In this case, i so something like
sudo aptitude install --with-recommends package_name
apt-get gets about 95% of my business day-to-day.
Desktop: Ubuntu 9.04, AMD64 X2 4600+, Asus M2NPV-VM, 4GB RAM, Nvidia 7600GT
Laptop: Ubuntu 9.04, Dell Latitude E6400, Intel Core 2 Duo P8600, 4GB RAM, Nvidia Quadro 160M, Dell 1397 Wireless.
Here, try reading this thread.
Steady movement is more important than speed, much of the time. So long as there is a regular progression of Stimuli to get your mental hooks into, there is room for lateral movement. Once this begins, its rate is a matter of discretion.
Aptitude and apt-get are separate but nearly identical programs. While you can usually substitute "aptitude" whenever you see a command with "apt-get", I would suggest sticking to apt-get. Because they are separate programs, if you switch back and forth between them you may have problems with one not recognizing packages installed or removed with the other. I recommend apt-get instead of aptitude only because Synaptic is a front-end for apt-get, so using aptitude and Synaptic runs the same risk of problems as using aptitude and apt-get.
This post is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License
Jeeze... based on the poll on THIS thread, it seems pretty close, and since I am a newbie, I'm not sure what to pick. I think I'll go with apt-get, since I use Synaptic sometimes and I don't want a clash. Thanks for all of the answers everyone.
Cheers,
Jesse
My Java OpenGL Blog:
http://lorgonjortle.tumblr.com/
aptitude will also the recommended packages... apt-get will not.
As has been pointed out there are minor differences these days between apt-get and aptitude. There a few options unique to one or the other and the configuration files are somewhat different.
If you want to know, read the man pages. If the man pages are too difficult or too much effort the it is safe to assume they are essentially the same.
There are two mistakes one can make along the road to truth...not going all the way, and not starting.
--Prince Gautama Siddharta
#ubuntuforums web interface
Bookmarks