Software installation on Linux Mint Digest

apt-get: 

sudo apt-get install program

This command is just a terminal version of the Software Manager; any program installed this way also shows up in the Software Manager and will also be updated by the Update Manager.

.

Synaptic:

The Software Manager and Synaptic Package Manager both work in the same way under-the-hood. The Software Manager is more user friendly; the Synaptic Package Manager has advanced functions like repairing broken packages.

.

The most common package formats are .rpm, .deb, and a tarball (files with an extension of .tgz, .tar.gz, .tar.bz2, or similar). Linux Mint can use .deb and tarballs directly.

.

Add a PPA repository:

A Personal Package Archive (PPA) is a repository that you can add to your system, so that you can install programs from it with the Software Manager. It is the easiest way to make more programs available on Linux Mint, and you can use all the Ubuntu PPAs on Linux Mint. PPAs are all hosted on Launchpad, which is used by popular software developers to upload their software.

On the forums you will often see suggestions to add a PPA repository, to make some new program, or a newer version of a program, installable. For example, to install the Y PPA Manager, the commands shared would be:

sudo add-apt-repository ppa:webupd8team/y-ppa-manager
sudo apt-get update
sudo apt-get install y-ppa-manager

The Y PPA Manager is a GUI program that allows you to search Laucnhpad PPAs directly, and has various other features to manage PPAs.

.

Install a .deb package:

.deb files are like .exe files on Windows. You download them from the Internet yourself, and they install in just a few clicks. To install the package either double-click it, or right-click on it and choose “Open With GDebi Package Installer”.

Install multiple .deb packages:

put all the .deb files you want to install in one folder. Then in your file manager (like Nautilus, Caja, Dolphin, or Thunar) browse to that folder and select File > Open Folder in Terminal from the menu. In the terminal type the following command:

sudo dpkg -i *.deb

 

.

Tarballs:

If you install it thus, you can’t uninstall the program from the Software Manager. Therefore it is highly recommended to first install the program checkinstall (sudo apt-get install checkinstall), which will allow you to uninstall tarballs from the Software Manager.

The usual way is to browse to the extracted directory and select File > Open in Terminal, and there run:

./configure
make
sudo checkinstall

.

roprietary software and games, both usually not open source, often come in other ways to install. Two common ways are:

  • A single binary file that you download and run to install it. Usually with a filename extension like .run, .sh or .bin. After downloading the file, right-click it, choose Properties, choose Permissions and mark “Allow executing file as program“. Then double-click it to start the installer.
  • A archive file, like a tarball or a .zip, that your download and extract to your user’s home folder. Unlike the tarball discussed in the previous section, this wouldn’t contain the source code by the already compiled program. You extract the contents of the archive to a folder in your user’s home folder and start it from there (see the “README” file for instructions). Sometimes it includes a script to install it so all users on your computer can use it.

===================

Install .rpm Packages

Linux Mint Support only deb package installation, If you have some software in rpm package you can install it in Linux Mint easily.

To install open Terminal (Press Ctrl+Alt+T) and copy the following command in the Terminal:

  • sudo apt-get install alien dpkg-dev debhelper build-essential

Now convert package from RPM format to DEB format, use the following command. Change your packagename in command:

  • sudo alien packagename.rpm

To install the deb package enter following command:

  • sudo dpkg -i packagename.deb

How to Install an RPM Package

For installing an rpm software package, use the following command with -i option. For example, to install an rpm package called pidgin-2.7.9-5.el6.2.i686.rpm.

[root@tecmint]# rpm -ivh pidgin-2.7.9-5.el6.2.i686.rpm

20 Practical Examples of RPM Commands in Linux

20 Practical Examples of RPM Commands in Linux

====================

 

Leave a Reply

Your email address will not be published. Required fields are marked *