Installing Applications on Ubuntu/Mint
There are several ways to install an application on Linux; you can either compile it from source code, you can find the application in prepackaged deb/rpm file and use a package resolver (you can think of it like msi files on Windows), or you can use a package manager.1 - Compiling from source code:
This is obviously the hardest option, if you are not doing custom configurations on the code - and since you are reading this post it's not likely that you do - this should be the last resort.
The first thing you should do is to install the build-essentials - basic tool chain that will be used for compiling source code. You will acquire the source code of an application in an archive format (tar, zip, tar.bz2 etc.) You need to extract the contents from the archive to a folder. Both Ubuntu and Mint come with an archive manager, so you can just right click and select extract. If the developer is kind enough you will find a readme or install file among the extracted contents that is giving information about how to install the application. If there is one just follow the instructions there, if not try the below commands:
Open up terminal (ctrl+alt+t) and navigate to the source folder, and then type
./configure
make
sudo make install
If there is a problem you will see the possible cause of it on terminal screen, if it is missing dependency you can just install it and then try again, or else you can google it along with the application name.
2-Another option is to download prepackaged files, in case of Ubuntu/Mint deb (debian) files. If your configuration satisfies the required packages then you can install these deb files by either double clicking and installing them by using the default deb handler (gdebi or Ubuntu Software Center) or by going to terminal and typing:
dpkg -i package.deb
3-Another and probably the easiest option for newcomers is to use a package manager like Synaptic or something like Ubuntu Software Center. There you just search for your application and click install without having worrying any dependencies. After sometime when you get used to using the terminal you can install applications from there by typing:
apt-get install package
Subscribe to:
Post Comments
(
Atom
)
No comments :
Post a Comment