Title says it all.
I saw this in another post and assume it gets rid of junk.
I couldn't find it on linuxcommand.org.
Sorry for the basic nature of the question
Title says it all.
I saw this in another post and assume it gets rid of junk.
I couldn't find it on linuxcommand.org.
Sorry for the basic nature of the question
Last edited by howefield; December 23rd, 2015 at 01:55 PM.
From...Code:man apt-getautoremove
autoremove is used to remove packages that were automatically
installed to satisfy dependencies for some package and that are no
more needed.
Every time you install Jaunty, a kitten........ wait sorry what year is this again?
Please don't PM support questions, post a thread so that everyone can benefit
Join us in #ubuntuforums on irc.freenode.net
Have a look here:
- http://ubuntuforums.org/showthread.php?t=377542
- http://www.ubuntugeek.com/cleaning-u...in-ubuntu.html
This command removes packages that were installed by other packages and are no longer needed.
I would not call it junk. It removes packages no longer needed. If you search just the Ubuntu forums, you'll see a lot of commentary on this. Before running this command, I suggest backing up your package area.
cmn
From man apt-get
If you want more info on a command check the man pages eg:autoremove is used to remove packages that were automatically installed to satisfy dependencies for some package and that are no more needed.
JimCode:man apt-get
If you remove an application apt-get autoremove will remove the dependencies that were installed with that application and are no longer used by anything else on the system.
Edit:
Wow, lot of people paying attention today.
If you'd like to free up drive space, a useful and safe command is...
sudo apt-get clean
That removes the aptitude cache in /var/cache/apt/archives
You'd be amazed how much is in there! You don't need to keep it, and the only drawback is that the packages would have to be downloaded again if you wanted to reinstall them.
Before you criticise someone, walk a mile in their shoes. Then, when you do criticise them, you're a mile away and have their shoes.
I would take the "that are no more needed." not so literally if your running 8.10 and happen to do some compiling of sources.
APT was patched to mark all packages installed with 'apt-get build-deb' as automatically installed which then includes them immediately in 'autoremove'. (and renders using aptitude useless
There's an option to prevent this but as of yet can't see how to apply.
Thanks everyone, I've got the idea!
Last edited by howefield; December 23rd, 2015 at 01:56 PM.
can sudo apt-get autoremove be undone without reinstalling the packages u think u want to keep.
Last edited by Godzeye; July 12th, 2010 at 10:25 AM. Reason: shhould be new thread
Bookmarks