Hi there!

Linux : Intelligent Computing
Most of the time you have to use the Terminal and install the package by entering the commands after this each and every component of the package get download and installed to your computer, and for this you have to be online and you need a fast and uninterrupted internet connection which is not possible every time. On may site you will get the different package to download in bulk and install them but they are sometime out of mind. Unlike Windows Linux support wider range of the installer and all have different code to install them. Today’s post am going to cover most of the file format that will defiantly help u to install the package in Linux via terminal.

Firstly you need to set the terminal in context menu so that you can open the terminal everywhere in directry.

How to install and remove a package in Linux

The general command to install the package in Linux is

Sudo apt-get install packagename

To update the current package, enter the following command

Sudo apt-get update

To remove the package from the system,

Sudo apt-get remove packagename

And remove all the dependent package from the directory use the following command

Sudo apt-get autoremove

How to install a .Deb package in Linux

.Deb is popular installer package compatible for debian distribution Linux like Linux Mint and Ubuntu. These packages are easily available on the Net to download and install. In most of the system you can get the installing option from context menu too. If you want to use the terminal then, right click on the package directoryà open terminal and enter the following command

Sudo dpkg – i packagename.deb

Removing the debian package enter the following command

Sudo dpkg – r packagename

Installing Tar/Gzip and Tar/BZip2 achieve files

These Tar/Gzip files are having extention .Tar.gz and filetype Tar/BZip2 have extension .tar.bz2. Tar/BZip2 are newer verson of Tar/GZip. To Extract these file, as usual open the terminal in the same directory, and run the following command

Tar xvf packagename.tar.gz

Where x is for extract v is for verbose(file list to be extraccting) and f is for files to be used.
Decompressig the “.gz” extention files.

Gunzip file.gz

Decompressing .bz2 files

Bunzip2 file.bz2

Creating achieves in Linux

Creating .Gz Achieves.

Tar cvfz packagename.tar.gz folder

Creating a .bz2 archieves.

Tar cvfj packagename.tar.bz2 folder

You cam use the aptitude instead of apt-get to have better installation and removing of the package. Example

Sudo aptitude install packagename

Sudo aptitude remove packagename

Sudo aptitude upgrade

Sudo aptitude update

You can use the Synaptic software manager and software centre/software manager to download and install most(may not all) the available software for your Linux distribution.
You can go to synaptic package manager by Menu->system->administration->synaptic package manager.
We are going to post about Linux in coming time stay connected and comment or mail your feedback to us. See you guys.