Amazon Affiliate

Thursday 31 January 2013

Uninstall packages in Linux


Uninstall packages in Linux:


How to uninstall any .deb package in Linux?
sudo apt-get uninstall package name
In some case this command might not work properly because the package you want to uninstall is running in the background of the system so first kill the process and the command for killing the software is written below:
sudo pkill package name
In this way you will able to uninstall any package.

Install packages in Linux.

Install packages in Linux:


How to install any .deb package in Linux?

1. When package is present on your pc.
   Open the directory where package.deb is kept. For example if it is in /tmp directory.
cd /tmp
After that type the following command:
sudo dpkg -i package.deb 
In this way you will install package in Linux.
2. When package in not present on your system means you have to download it first and then install but we have some command through which we can directly download and install the packages.For example:
sudo apt-get install package name
In this way we can download and install any package directly from internet.