Arch house cleaning

It’s important to do some tidying up every now and then.  On an Arch system a quick and easy way to do some cleaning and reclaim disk space is to clean your package cache with pacman -Sc.  This will clear out packages for the old versions of your installed software and the packages for your uninstalled software.

If you are REALLY desperate for disk space you can use the pacman -Scc command to delete all the locally stored copies of your installed packages.  This is not recommended as you won’t be able to downgrade to an older version if a new version doesn’t work for you.  You can manually copy out the packages for some software if you know you might need to downgrade in the future, Postgres is a good example of a program you’d want an older version of lying around just in case.

Advertisements
  1. I found the information on this post beneficial.

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: