Linux operating system Software Installation tutorial

Source: Internet
Author: User

Installing software under Linux feels complicated, and a package has a way of installing it, unlike Windows finding the. exe.

And a lot of software must be very complex compilation, configuration, feel the head is very big, these days my only job is non-stop download, installation. Although open source is a tempting thing to do, it does not feel like the standardization of Windows does significantly weaken the Linux market. Summarize some of the installation methods you've used these days for later.

1) RPM package. is a Redhat installation format for a compiled package. Generally use the RPM command to perform the installation directly, relatively simple. The usual formats are:

"Rpm-ivh < filename >.rpm"

(-I is installed,-V is checksum,-H is the display of installation progress)

Uninstall is also a command to complete:

"Rpm-e < software name >"

The software name here is not the same as the name of the RPM package, usually does not include the software version number, you can use the RPM command to view the installed RPM software package, and then uninstall the software in the list.

2 Deb bag. It is a Debain Linux-provided installation format for a package that has been compiled. The installation method is similar to RPM.

"Dpkg-i. Deb."

"Dpkg-e < software name >"

3) Tar bag. This installation package is a compression package for the TAR tools under UNIX, sometimes 2 times after the. Tar, Add. bz2,. gz extensions. Most of this package provides the source code, the best open (you can choose or even modify the module, not limited to a distribution), but also install and uninstall the most problems. The usual steps for installing the TAR package are as follows:

1: Decompression Package--"TAR-XVZF compressed package name" or "TAR-XVZF Compression package name" (-Z is called gzip decompression,-X is decompression, V is checksum,-F is the display file results,-y is called bzip2 decompression)

2: Configure the installation option-"./configure", generally using the prefix parameter to configure the installation path, other parameters are also useful.

3: Compile the installation file--"make".

4: Install--"make install"

5: Clear the temporary files generated by the installation--"Make clean"

Some software does not fully follow this step, (such as Luma QQ decompression after the direct./lumaqq can run, a bit like Windows Green software) if the English clearance is best to read the compressed Intall file or Readme file. In general, the installed executable will be stored in the/usr/local/bin directory, but is not unique, or to read the two files carefully.

Uninstall tar packets can go into the installation directory to perform "Make uninstall", if the software does not provide uninstall, you must manually "RM-RF" deleted, if the file is distributed in multiple directories installed in the system, unless the installation remembers all the paths, otherwise it will be difficult to clean up.

4 Install the script. At present, some software provides installation and uninstall of shell scripts, as long as the running can even be installed directly from the Web site download software to the local, while running to uninstall the software.

Linux to find a suitable, complete version of the application software is very important, I have a deep experience, I want to install a few things, but these days non-stop versions to try, some will cause software conflicts, some installed found no legendary features and have to do with plug-ins or anything. Linux has a lot of distributions, and experience is different from each other.

Related Article

E-Commerce Solutions

Leverage the same tools powering the Alibaba Ecosystem

Learn more >

Apsara Conference 2019

The Rise of Data Intelligence, September 25th - 27th, Hangzhou, China

Learn more >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.