Wednesday 18 January 2017

A UNIX command a day -- ucare

sudo apt-get update && apt-get upgrade

How many times have you typed that, or called it up from command history?

There's a new utility I've discovered that, with one command, do better than that if you want a lean, clean system. And it claims to keep your Debian (Ubuntu) systems up to date and free from unused kernels, configurations, and cache. Here's what it does


  • Update all available packages
  • Update your Ubuntu system.
  • Download and install updates.
  • Check for the list of old Linux Kernels and uninstall them
  • Clear the apt cache folder
  • Uninstall packages that are obsolete and no longer needed
  • Uninstall orphaned packages
  • Delete package settings (from software you have previously uninstalled)
To install:

sudo add-apt-repository ppa:utappia/stable
sudo apt-get update
sudo apt-get install ucaresystem-core

To run:

sudo ucaresystem-core

Note that it may restart so if you're updating a server, plan for this.