Thursday, January 7, 2016

How to install and uninstall program on Ubuntu

If you came from other operating system for example windows and mac, you might be little confuse on how to install and uninstall software/program on ubuntu, because ubuntu it's totally different from those two.

No worries, in this article i will show you how to install and uninstall software on ubuntu, this tutorial is for beginners, so for those who already know, you can skip this article.

To install and uninstall software on ubuntu is actually very easy, you can do it either by graphical (GUI) or command line, i'm going to show you both in this tutorial.

Install software/program from command line on ubuntu

To install software/program from command line you use apt-get install command followed by the name of the program you are about to install, like this:

sudo apt-get install [name-of-the-program]

For example

sudo apt-get install vlc

sudo apt-get install gparted

sudo apt-get install apache2

sudo apt-get install vim

Note: you must know exactly the name of the program package, otherwise it will not work.

Uninstall software/program from command line on ubuntu

To uninstall software/program from command line use the apt-get purge command followed by the name of the program package, like this:

sudo apt-get purge [name-of-the-program]

For example

sudo apt-get purge vlc

sudo apt-get purge gparted

sudo apt-get purge apache2

sudo apt-get purge vim

Install and uninstall software/program from GUI

Ubuntu comes with graphical user interface (GUI) tool for managing software/program, that means you can also install and uninstall software/program with GUI, for those who don't like command line.

This GUI tool is called ubuntu software center, it replaced the old synaptic package manager on older version on ubuntu, using ubuntu software center you can install and uninstall software just like you did on command line.

You can open ubuntu software center from unity toolbar just below the firefox icon, or you can type on unity search 'ubuntu software center' it will shows up there.