Ubuntu File Maintenance

Windows users frequently need to perform maintenance on their systems in order to ensure disk space is reclaimed.  These tasks usually involve tasks like, deleting temporary files, removing uninstallers, clearing cache files, defragmenting, etc… While Ubuntu has many of these functions built in, or doesn’t cause them in the first place, it is sometimes necessary to do a little maintenance to clean things up.

I have dug up a few tasks that generally amount to clean up tasks in Ubuntu.  It is worth noting that, unlike Windows, Ubuntu’s file system should not need to be defragmented.  I have heard of a few tools that do something like defragmentation, but the general consensus is that you don’t need them.

Most of the cleanup that needs to be manually done revolves around the removal of old programs and the installer (aptitude) data.  Most of this is kept, by design, so that if needed in the future it will be local instead of downloading the files again.  But, if you need the disk space, here are a few cleanup items.

  • Clean Up Residual Config Packages
  • Clean Up Partial Packages
  • Remove Unnecessary Locale Data
  • Clean Up Orphaned Files
  • Extra:  Clean Up Orphaned Files via Synaptic Package Manager

Whenever I have seen questions around recovering disk space, these are the common responses.  Ready?  Let’s do it!
Continue reading »

Posted in System Administration, Ubuntu | Tagged , , , , , , , , , | 2 Comments

Linux Cisco VPN Client on Intel for amd64 kernel 2.6.31

I installed Ubuntu 9.10 on my computer, and very shortly after realized that I cannot connect to my VPN connection at work.  The Cisco VPN client apparently has some issues installing on Kernel 2.6.31, for amd64 (although I’ve seen plenty say it doesn’t work on x86 either).

So here is what I found (and did) to make it work…

Download the vpnclient-linux-x86_64-

wget http://projects.tuxx-home.at/ciscovpn/clients/linux/4.8.02/vpnclient-linux-x86_64-

Untar the files

tar zxf vpnclient-linux-x86_64-

Continue reading »

Posted in System Administration, Ubuntu | Tagged , , , , , , | 1 Comment

Sharing Printers from Ubuntu to Windows (focus on Windows 7 and Ubuntu 9.10 Karmic)

We’re going to take the easy way, it’s a home network and doesn’t need industrial security.  If you’re the type of person that wants to go above and beyond, just for the experience, I’m sure a quick *sic* read through the Samba configuration docs will point you in the right directions.  There is plenty of Enterprise level documentation out there for Ubuntu.

This detail will primarily focus at people who want to *try* Ubuntu and may be looking at moving from Windows.  I am not going to assume a lot of experience with the command line, but there is a little bit that I did to make it work.  Here is a critical note with any linux OS, back up any file before you edit it.  You can then always go back to the pristine/working file and start over if you need to.  System configurations vary, as to versions of Ubuntu – so your mileage may vary with these instructions – it goes without saying that you should understand what you are doing BEFORE you do it, I’ll do my best to explain but you are responsible for your computer and the results, not me.

Continue reading »

Posted in System Administration, Ubuntu | Tagged , , , , | Leave a comment