Summary of software installation methods in Linux

Source: Internet
Author: User
1. steps for installing the rpm Package: 1. find the corresponding software package, such as soft. version. rpm: download to a local directory; 2. open a terminal, su-to root user; 3. cdsoft. version. rpm directory; 4. enter the rpm-ivhsoft.ve...
1. steps for installing the rpm Package: 1. find the corresponding software package, such as soft. version. rpm, download to a local directory; 2. open a terminal, su-to root user; 3. cd soft. version. rpm directory; 4. enter rpm-ivh soft. version. rpm
II. steps for installing the deb package: 1. find the corresponding software package, such as soft. version. deb, download to a local directory; 2. open a terminal, su-to root user; 3. cd soft. version. deb directory; 4. enter dpkg-I soft. version. deb three-character tar.gz source code package installation method: 1 find the corresponding software package, such as soft.tar.gz, download to a local directory; 2. open a terminal, su-to root user; 3. cd soft.tar.gz directory; 4. tar-xzvf soft.tar.gz // A soft directory 5, cd soft 6, and ,. /configure is used to detect the target features of your installation platform. For example, it will check whether you have CC or GCC. it does not require CC or GCC. it is a shell script. 7. make is used for Compilation. it reads commands from Makefile, then compile. 8. make install is used for installation. it also reads commands from Makefile and installs the package software tar.gz and tar.bz2 at the specified position. /configure; make install to install; some software directly make; make install; we can use. /configure -- help to view the functions of the configuration software. most of the software is provided. /configure configures the functions of the software; a few do not, if not, do not use. /configure; directly make; make install ;. one of the most important parameters of/configure is -- prefix. with the -- prefix parameter, we can specify the software installation directory. if we don't need this software, simply delete the software directory; for example, you can specify that fcitx is installed in the/opt/fcitx directory; [root @ localhost fcitx] #. /configure -- prefix =/opt/fcitx if you do not need fcitx, you can directly delete the/opt/fcitx Directory. so in this example, if fcitx is customized to the/opt/fcitx directory, the complete -www.2cto.com-installation method should be:
[Root @ localhost fcitx] # tar jxvf fcitx-3.2-050827.tar.bz2 [root @ localhost fcitx] # cd fcitx [root @ localhost fcitx] #. /configure -- prefix =/opt/fcitx [root @ localhost fcitx] # make [root @ localhost fcitx] # make install 4、tar.bz2 source code package installation method: uninstall, download to a local directory; 2. open a terminal, su-as the root user; 3. directory where cd soft.tar.bz2 is located; 4. tar-xjvf soft.tar.bz2 // A soft directory 5, cd soft 6, is usually generated ,. /configure 7, make 8, make install 5, apt installation: 1. open a terminal and su-become root user; 2. apt-cache search soft note: soft is the name or related information of the software you are looking for. 3. if software soft is found in 2. version, use apt-get install soft. version command to install software Note: as long as you can access the Internet, you only need to use apt-cache search to find the software, use apt-get install software 6. binfile installation: if the software you downloaded is soft. bin, which is generally an executable file. the installation method is as follows: 1. open a terminal and su-to root users; 2. chmod + x soft. bin 3 ,. /soft. bin // run this command to install the software. author 576017120
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.