Welcome to the Linux Foundation Forum!

How To Install Software In Linux : An Introduction

Options
MohdSohail
MohdSohail Posts: 7
edited January 2015 in Small Talk

In any operating system we need to install applications to complete our day to day tasks. In the world of Windows, every program has a simple Setup.exe or a program.zip file. On a Mac a package is a program.dmg or a program.sit file. In both the operating system you can simply click it and it will ask you some very basic configuration questions like, do you accept the licence agreement or the directory you want to install the software to. Although in Linux, It seems tough to install the programs/softwares but It's not true.

It's as simple as in the two OS I mentioned above. There are sometimes problems with some type of files that you have to fight tooth and nail, here I'll not cover those specifically, but will cover them giving basics of installing software that will help finding rough spots easy.

Software Packages in Linux

As I mentioned above Windows has setup.exe or program.zip file and Mac has program.dmg or program.sit file, they are actually packages. Every software comes in “packages”. In the same way in Linux, there are several types of packages, and every distribution has its own preferred package format. It means there are more packages in Linux than any other OS.

According to the Linux Standerd Base the standerd Linux package is RPM. RPM stands for Red-hat Package Manager, orginally devoloped by Red Hat and widely used by the Linux community. Red Hat, Fedora, Mandriva and SUSE use the RPM. The RPM file looks like this program-version-other.rpm

The second package manager format is DEB, stands for Debian. Debian packages and the APT (Advanced Packagin Tool) has made advanced features that are now commonly used, like, automatic dependency resolution and signed packages. Debian packages are used by Debian/Linux, and some of the most used Linux distributions, like, Ubuntu, Linux Mint, Mepis etc. The .deb/Debian files look like this program-version-other.deb

APT For Debian based distributions, like, Ubuntu, Linux Mint etc.

The APT is the tool, commonly used to install packages, remotely from the software repository. In short it's a simple command based tool that you use to install files/softwares. Complete command is apt-get and it's the easiest way to install files/Softwares packages. This easy tools informs you about packages that are currently being installed and also it informs you about the packages that are available in repositories.

Read the complete article How To Install Software In Linux : An Introduction

Comments

  • saqman2060
    Options
    Have you thought about blogging for the community? Your informal knowledge can be easily found and read by other Linux enthusiast. Make sure the information is accurate in your posts and that nothing similar is already available.

    For instance, APT is also available in debian as well as other debian/Ubuntu based systems. You only mentioned it for Ubuntu bases distros.
  • mfillpot
    mfillpot Posts: 2,177
    Options
    Please do not use this forum as a feed aggregator to drive traffic to your site. We want original text and comments, if you want your articles on this site please use the blog feature. If you want more hits to your website then please use proper Seo methods such as advertising.

    I will be deleting this post and your other teaser posts as they are not solicited and very close to spam.
  • MohdSohail
    MohdSohail Posts: 7
    edited January 2015
    Options
    Have you thought about blogging for the community? Your informal knowledge can be easily found and read by other Linux enthusiast. Make sure the information is accurate in your posts and that nothing similar is already available.

    For instance, APT is also available in debian as well as other debian/Ubuntu based systems. You only mentioned it for Ubuntu bases distros.

    I am not using the forum to generate links, If you've problem or you think such shorts posts can not serve the community then I'll post them completely here, so that user does not have to move to the other websites. And the link is working the site is up.

    APT is also available in debian as well as for other debian based distributions. I've mentioned that in bold and gave two or three examples of such debian based distributions, such as ubuntu or linux mint. It did not mean APT is only for these example but for debian based distribution.

    In short I had mentioned if you see there.

Categories

Upcoming Training