After I upgraded my Ubuntu to 8.04 from 7.10 ,I found the booting speed became to be slow,especially after I deleted KDE (i installed KDE once). I have speeded up the boot speed ,I share my experience as follow:
1.Delete Residual Config packages:
go to System->Administration->Synapic package manager, click botton Status to check whether your system has residual config packages.If your ubuntu has the residual config packages,you have to mark the residul config packages for complete removing one by one,and click button Apply to delete them,please see below picture for details:
2.Delete incomplete packages.
open Terminal,and then implement :
sudo apt-get autoclean
this command can delete all incomplete packages
3.Delete isolated libraies.
sudo apt-get install deborphan
sudo deborphan
check if there are isolated libraies.
If have,please implement below commands to delete them
sudo deborphan | xargs sudo apt-get -y remove --purge
sudo apt-get autoremove
4. Disable unnecessary services
go to System->Administration->Services in order to shut down some unnecessary service, I shut down Bluetooth and Braille display management these 2 services.
---End---
Speed up ubuntu boot
from Added by a PAL to FAQ PAL on Tue, 10/07/2008 - 18:23Speed up ubuntu boot speed...
After I upgraded my Ubuntu to 8.04 from 7.10 ,I found the booting speed became to be slow,especially after I deleted KDE (i installed KDE once). I have speeded up the boot speed...
Speed up ubuntu boot
from Vote for this article at blogengage.com on Tue, 10/07/2008 - 18:23Speed up ubuntu boot speed...
After I upgraded my Ubuntu to 8.04 from 7.10 ,I found the booting speed became to be slow,especially after I deleted KDE (i installed KDE once). I have speeded up the boot speed...


Lee
-purge should be --purge.
If you want to speed up your boot speed you can add "profile" to your kernel arguments in grub bootloader (just add a space at the end, and type 'profile' then boot). It will boot slow the first time cuz it will profile your boot sequence, but you should notice the difference on the next boot. I do this everytime I get a kernel upgrade :O) you may have to type 'e' to edit kernel arguments, select the 'kernel' line, type 'e' to edit. add the profile argument, then type 'b' to boot.
monkey
“sudo deborphan | xargs sudo apt-get -y remove –purge”
does not work
sudo deporhan ; apt-get remove --purge `deborphan`
works. someone else mentions, beware.
does work
abdul
this is fantastic, thanks for the info
tinkertim
Be careful with deborphan, stuff like libc6-xen might get picked up by mistake. Any replacement is a good candidate for this, as well as programs that you installed from source.
For instance, if you have sqlite3 installed to build some source package not installed by apt ... removing it would break that package. If it was something you installed 3 months ago ... you might not remember the dependencies that you introduced :)
Disabling unused services is cool, but piping something like deborphan is unwise.
But, its your PC, break whatever you like :)
baracuda68
I understand about turning off unneeded services to speed up booting, but I don't see how all the purging,autocleaning,etc, of packages affects boot up speed, even though you do reclaim some disk space...
Jason
Great article... Thumbs Up on Stumble.
SUperDoer
thanks for your howto,
i do not notice a speed-up on boot in my system, but it is a very nice guide for how to clean the system, thanks again
admin
Jim,polybart you are right,thanks,i have just revised this typo error.
polybart
Haha, I had an "erro" in my comment on errors! Beautiful!
polybart
Great tutorial! I think there are some erros in it though...
In step 2 shouldn't "sudo autoclean" should be "sudo apt-get autoclean"?
Additionally, in step 3 shouldn't "sudo deborphan | xargs sudo apt-get -y remove –purge" be "sudo deborphan | xargs sudo apt-get -y remove --purge"?
Thanks again.
Jim
Hi, great tips and very useful page, but i think the second tip should say
sudo apt-get autoclean
;)