![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Ubuntu 9.10 is out!!!
When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu. The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely. |
|
Tutorials & Tips The place to find Ubuntu related Tips & Tricks. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Extra Foam Sugar Free Ubuntu
![]() Join Date: Apr 2005
Beans: 737
|
HOWTO: use aptitude instead of synaptic and why.
HOWTO: use aptitude instead of synaptic
What is aptitude? Aptitude is a package manager for Debian and Debian based systems (similar to say, synaptic). Why should you use aptitude over synaptic/apt-get? The million dollar reason: it remembers dependencies downloaded to install a particular package and removes them automatically when you remove that package. Synaptic only gives you the history log, and apt-get not even that. For example: I install wmaker using synaptic, it installs libwraster along with it. I purge wmaker out using synaptic, it leaves libwraster. I have to manually search for it and uninstall. Now this may not seem a big deal, but imagine if wmaker had 20 dependencies. On the other hand: I install wmaker using aptitude, it installs libwraster with it. I purge wmaker out using aptitude, it figures out libwraster isn't needed anymore, and gets rid of that too. Awesome, isn't it? But I held back from using this rather nifty tool because I didn't want to learn how to use it. Now I can use it, at least to do simple tasks. So I thought I would share that knowledge. aptitude can run in two modes:
Once you press g, all the changes get listed. You can modify any of the changes, and then press g again to finally apply marked changes. I'll keep adding to this HOWTO as I learn new things, and if you have any suggestions/tips/corrections please add to this thread .. I'll update this post. Last edited by tread; August 12th, 2005 at 08:14 PM.. Reason: Some more commands |
|
|
|
|
|
#2 | |
|
Chocolate-Covered Ubuntu Beans
![]() |
Re: HOWTO: use aptitude instead of synaptic and why.
Quote:
__________________
Everybody can be great because everybody can serve. You only need a heart of grace. A soul generated by love. - Martin Luther King, Jr. Help A Child Today
|
|
|
|
|
|
|
#3 |
|
Extra Foam Sugar Free Ubuntu
![]() Join Date: Apr 2005
Beans: 737
|
Re: HOWTO: use aptitude instead of synaptic and why.
Thanks .. I had been putting off using aptitude because synaptic is so much easier. I don't think I'll be moving from aptitude for a while now though
|
|
|
|
|
|
#4 |
|
Dipped in Ubuntu
![]() |
Re: HOWTO: use aptitude instead of synaptic and why.
But I've removed stuff with apt-get before and it removes all of the stuff that came with the application as long as it's not needed by anything else.
Although, when you do an update in aptitude I will give you that it's a lot prettier if you have terminal colours enabled - Kev
__________________
Reg. Linux User #389145 ThinkPad T42p running Breezy (with [Multi/Uni]verse, Marillat, Sarge, Cipherphunk and BMPx repos). All (sub)systems are a GO. Kill all the Spiders to save the Butterflies. Is this what we call Eden? Last.FM |
|
|
|
|
|
#5 | |
|
Extra Foam Sugar Free Ubuntu
![]() Join Date: Apr 2005
Beans: 737
|
Re: HOWTO: use aptitude instead of synaptic and why.
Quote:
|
|
|
|
|
|
|
#6 |
|
Dipped in Ubuntu
![]() |
Re: HOWTO: use aptitude instead of synaptic and why.
ooOoo.. You're right. weird. (I just tried wmaker)
I remember an asterisk removal being quite complete and getting rid of everything. Odd. - Kev |
|
|
|
|
|
#7 | |
|
Just Give Me the Beans!
![]() Join Date: Apr 2005
Beans: 68
|
Re: HOWTO: use aptitude instead of synaptic and why.
Quote:
|
|
|
|
|
|
|
#8 |
|
A Carafe of Ubuntu
![]() Join Date: Dec 2004
Location: London UK
Beans: 21
The Feisty Fawn Testing
|
Re: HOWTO: use aptitude instead of synaptic and why.
i've always used apititude, i just find it fast and powerful,
aptitude will only uninstall packages if there aren't conflicts, it's really easy to tweak various actions by pressing "g" to see what it will do, and then pressing "Esc" changing various packages and then pressing g again to see if you've fixed any inconsistencies etc... it works really well, espieccally if you're running something like breezy where packages get messed around with a lot |
|
|
|
|
|
#9 | |
|
A Carafe of Ubuntu
![]() Join Date: Jun 2005
Beans: 110
Ubuntu Breezy 5.10
|
Re: HOWTO: use aptitude instead of synaptic and why.
Quote:
|
|
|
|
|
|
|
#10 |
|
Extra Foam Sugar Free Ubuntu
![]() Join Date: Apr 2005
Beans: 737
|
Re: HOWTO: use aptitude instead of synaptic and why.
Purging removes the config files too, remove doesnt do that. For example, if you install a package and modify some settings remove will keep those changes while purge will get rid of them.
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|