Several ways to install software under Ubuntu

Source: Internet
Author: User

Several ways to install software under Ubuntu
Linux Software Installation because of different Linux branches, the installation method is not the same, the introduction of several common installation methods. 1. Source code installation,for Linux systems with an open source pedigree, almost all open source software supports running on Linux platforms, which are distributed in the form of source code, which is available for all Linux branches and requires only the system to install GCC, make, As well as Automake and autoconf, the general method of source installation is as follows: 1. CD Source directory2. ./configure [opts]3. make4. make installthe options that follow the Configure are generally available through the./configure--help, using some options to suit your preferences. Here the correct workflow is to look at the source directory below the readme, here is usually prompted to install the method, then only need to follow the description can be, if the Readme is not prompted (in fact, very few), if it mentioned to the official website, you can go to the official website to check the relevant installation documentation, if not, You can search for Google software to install the method. If the installation process encountered problems, the general problem in the execution of the Configure command will appear, look at the output of configure log, if too many logs, you can redirect the log to the file, the file lookup error, according to the reported errors log, generally experienced may immediately find the problem, Do not understand Google search, in general, the problem is more than you, if you encounter errors in the make phase, generally rely on the library is not installed, direct Google search rely on the library download installation (or use the installation method mentioned later) , the source after the installation of the package if you need to uninstall may be the most headache, can not use any tool, often directly delete the executable file or library and do not remove the package thoroughly, uninstall when possible to check the official website of the document, see if there is involved in the software installation of all locations, such as the MySQL website has introduced, Then delete the relevant files or folders to each location. 2. RPM Package InstallationRPM is an abbreviation for Redhat Package Manager (Redhat), which is supported on almost all Linux platforms and has become an industry standard. Here is a brief introduction to the Package Manager, Package Manager provides software installation, upgrade, query and uninstall, etc., the specific differences can be consulted related documents. RPM Package installation is very simple, only need to input rpm-i xxx.rpm can be completed, uninstall only need RPM-E package name to complete, upgrade through the Rpm-u Package name command complete (need machine Networking), rpm-q provide relevant query, here is not detailed. If the machine is not networked, the RPM installation process is likely to be wrong, the most common is to rely on the missing package, the missing dependency package installed, if in the case of machine networking, RPM will automatically search the Internet for dependent packages and installation. 3. deb Package InstallationDeb is a Debian and its derivative version such as Ubuntu installation package, in the desktop environment of the two systems, you can double-click the package to install directly, at the command line can be completed through the Dpkg-i Xxx.deb, through the DPKG-R package name. Many Linux branches provide the Apt-get package management system to support the Deb package, Apt-get need the machine networking, the source (download source) provided by the Source.list file to download the appropriate package, through the input command Apt-get install package name Install the software directly, enter the Apt-get remove package name uninstall the corresponding package, here do not repeat the command, Apt-get Package Manager implementation of the management of the dependency package, so it is very convenient. In the country can find some fast source (change the source.list file), the specific method can be consulted related documents. 4. Yum installation packageYum (Yellow dog Updater, Modified) is a package manager in Fedora and Redhat as well as SuSE and CentOS, and Yum manages dependencies, Must be carried out under the networking conditions (also can set the agent for Yum), using Yum installation software is also my most common method, under the shell command line to enter the Yum install package name to complete the installation, if the dependent package is not installed, will automatically install, uninstall through the Yum Remove package name Can be done, similar to Apt-get. The above brief introduction of my common Linux several package installation methods and related issues, apt-get and Yum does not necessarily install the latest software packages, then we need to download the latest software package (source packaging format or RPM format), Then it may be necessary to use the source or RPM installation method.

Several ways to install software under Ubuntu

Related Article

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: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.