Keeping Ubuntu Tidy Like Your Whities

8 07 2007

Installing and removing programs can clutter up your system. Sometimes certain dependency packages aren’t needed after a program has been uninstalled – so trash it. I have a few handy tricks up my sleeve so you can reclaim some of your disk space back:

Autoremove

apt-get isn’t like your two your old cousin – it can clean up after itself. If you want to get rid of packages that are no longer referenced by your system, its as simple as “sudo apt-get autoremove” in the terminal

Clean

Retrieved or downloaded packages can still remain locally on your system like bad residue. “sudo apt-get clean” will clear the repository completely, leaving only the lock that is used to connect to your repo’s.

deborphan

Sometimes apt-get’s built in cleanup functionality doesn’t cut it. deborphan finds “orphaned” packages on your system. It determines which packages have no other packages depending on their installation, and shows you a list of these packages. It is most useful when finding libraries, but it can be used on packages in all sections. deborphan is in the universe so grab it by typing “sudo apt-get install deborphan.” It should show up under System > Administration > Remove orphaned packages after the install.





Ubuntu Performance Tip – Preload

14 06 2007

This post is now available on my new blog The IT Report:

http://theitreport.com/entries/linux/ubuntu-performance-tip—preload





HOW TO: Write to NTFS Drives in Ubuntu

8 06 2007

Ubuntu by default can mount NTFS drives but does not support writing to them. However, there is a driver in the universal repositories called ntfs-3g which allows you to mount NTFS drives as well as write to them – making dual-booting Windows even sweeter:

“sudo apt-get install ntfs-3g ntfs-config”

ntfs-3g is the driver that lets you write to NTFS drives, where ntfs-config is the GUI tool which should appear under Applications > System Tools > NTFS Configuration Tool that allows you to select if you want an internal or external device to be writeable.

 





How To: Make Your Flash Drive Bootable

3 06 2007

 

For those of us without an optical drive, life can be tough when you need to install something during boot time. My CD-ROM drive is broken, so I was able to install Ubuntu off of a bootable flash drive. With USB sticks being so cheap these days its a perfect replacement for a non-functional optical drive. In any case, to make your flash drive bootable I used a utility called HP Drive Key Boot Utility. It was developed by Hewlett Packard, and is very easy to use. The utility reformats your storage media and allows it to be bootable. I’ve tried it on both USB flash drives and external hard-drives. Take note that your BIOS needs to be able to support USB devices before you can boot from your newly formatted storage media.

Download:

http://h18000.www1.hp.com/support/files/serveroptions/us/download/23839.html

More precise instructions are available at this site as well. However, running the wizard step-by-step did the trick for me.