If you’ve ever had to reinstall an application on Ubuntu, you know that the process can be a bit of a pain. But with a little know-how and some quick commands, the process can be made much easier. First, make sure that you have the latest version of Ubuntu installed. If not, install it now using the following command: sudo apt-get update && sudo apt-get install ubuntu Once Ubuntu is installed, open up a terminal window and type in the following command to get started: sudo apt-get remove –purge appname1 appname2 appname3 This will remove all instances of appname1, appname2 and appname3 from your system. Make sure to replace “appname1” “appname2” and “appname3” with the names of the applications that you want to reinstall. If there are any other applications installed on your system that are related to these three applications, they will also need to be removed before proceeding. Now that all of the relevant applications have been removed, it’s time to sync your computer with the Ubuntu software repository. To do this, open up Terminal again and type in this command: sudo apt-get update && sudo apt-get dist-upgrade ..


The first thing any Linux user does after installing Linux is installing their favorite packages. Ubuntu makes this easy by syncing your installed applications between computers. And terminal users can install their favorite packages with a single command.

Whether you’re reinstalling Ubuntu from scratch, installing Ubuntu on a new computer, or performing a fresh installation of the latest version, these tricks can save you some time.

Ubuntu Software Center Sync

The Ubuntu Software Center has an application sync feature. To access it, click the File menu in the Ubuntu Software Center and select Sync Between Computers.

The registration window asks you to create an “Ubuntu Software Center account,” but this is misleading. The Ubuntu Software Center works with Ubuntu single sign-on accounts — if you already have an Ubuntu One or Launchpad account, you already have a single sign-on account.

Once you’ve signed in, you can click over to the Installed tab and view the software you have installed on each of your connected computers. Select a computer and Ubuntu will compare its installed packages with the packages installed on your current system. This feature makes it easy to install packages after installing Ubuntu from scratch, even if you don’t remember the packages you had installed.

This feature is a bit limited at the moment — it only works with packages from Ubuntu’s default repositories, so packages from personal package archives (PPAs) or packages you’ve installed from outside a software repository won’t appear in the list. It also can’t automatically install applications on your other computer — you’ll have to open the list and install applications manually.

Terminal Commands

Another quick way to reinstall software is from the command line. In particular, the apt-get install command accepts an unlimited number of package names at once. Instead of hunting through the Ubuntu Software Center and installing them one by one, you can reinstall all your favorite packages with a single command.

For example, let’s say you want to install the Chromium web browser, Pidgin IM client, and Adobe Flash plug-in. Just run the following command in a terminal:

You can add an unlimited number of package names to this command, in any order — it doesn’t have to be alphabetical.

You can also feed a list of package names to the sudo apt-get remove command to quickly remove some packages that come preinstalled.

If you use packages from PPAs, run the appropriate sudo apt-add-repository commands for each PPA before the sudo apt-get install command. This gets all your favorite packages installed with just a few commands — if you want to automate it even further, create a shell script with these commands.

Third-Party Scripts

Some people have created their own shell scripts to automate the process of installing packages, adding PPAs, and removing packages after installing Ubuntu.

Silverwav’s Cleanstart is one such script. To use the script, you create a custom packages.list file containing a list of packages you want to install. This list can be categorized and have descriptions — the Cleanstart script filters out and ignores the descriptions. The cleanstart-packages.list.sh file is a shell script that installs the packages specified in the packages.list file. The real advantage here is you can have an organized packages.list file — with descriptions — that you can store your installed packages in. The actual script does little more than strip out the formatting and feed the list of packages to the apt-get install command, which you can do yourself.

If you’re looking for a script that does more, there’s also And Any Void’s installation script. It was inspired by Cleanstart and allows you to specify PPAs to add and packages to remove in its configuration file. The script does more than Cleanstart, but you can still do the same thing with a few commands of your own.

(And Any Void’s page is in French, but the scripts are in English. If you’re browsing with Chrome, Chrome will offer to translate the page for you.)

How do you install your favorite software after installing Ubuntu? Leave a command and let us know if you have any tricks to share.