linux mint : installing packages in linux

Tarballs are a group of files in one file. Tarball files have the extension .tar.gz, .tgz or .tar.bz2. Most open source software use tarballs to distribute programs/source codes.

# 1: Uncompress tarball

To uncompress them, execute the following command(s) depending on the extension:

$ tar zxf file.tar.gz

$ tar zxf file.tgz

$ tar jxf file.tar.bz2

$ tar jxf file.tbz2


Now change directory

$ ls

$ cd path-to-software/


# 2: Build and install software

Generally you need to type 3 commands as follows for building and compiling software:

# ./configure

# make

# makeinstall

Where, ./configure will configure the software to ensure your system has the necessary functionality and libraries to successfully compile the package make will compile all the source files into executable binaries. Finally, make install will install the binaries and any supporting files into the appropriate locations.

# 3: Read INSTALL / README file

Each tarball comes with installation and build instructions.

Open INSTALL or README file for more information:



One thought on “linux mint : installing packages in linux

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s