Amazon Affiliate

Thursday 31 January 2013

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.

No comments:

Post a Comment