Package Management-----Linux operating system RPM package installation method steps

Source: Internet
Author: User
Tags bz2 chmod

Linux operating system RPM package installation method stepsAugust 04, 2016 07:00:26Hits: 17140

Transferred from: http://os.51cto.com/art/201003/186467.htm

Particularly noteworthy is the Linux operating system has a lot to learn about the place, here we mainly introduce the Linux operating system, including the introduction of Linux operating system and so on. Summary of installation methods of Linux operating system software

First, RPM package installation method steps:

Reference:
1, find the corresponding package, such as soft.version.rpm, download to the local directory;
2, open a terminal, Su-into the root user;
3, the CD soft.version.rpm is located in the directory;
4. Input RPM-IVH soft.version.rpm

Second, the Deb package installation method steps:

Reference:
1, find the corresponding package, such as Soft.version.deb, download to the local directory;
2, open a terminal, Su-into the root user;
3, the CD Soft.version.deb is located in the directory;
4. Input Dpkg-i Soft.version.deb

Three, tar.gz source code package installation method:

Reference:
1, find the corresponding package, such as soft.tar.gz, download to the local directory;
2, open a terminal, Su-into the root user;
3, the CD soft.tar.gz is located in the directory;
4, TAR-XZVF soft.tar.gz//general will generate a soft directory
5. CD Soft
6,./configure
7. Make
8. Make Install

Four, tar.bz2 source code package installation method:

Reference:
1, find the corresponding package, such as soft.tar.bz2, download to the local directory;
2, open a terminal, Su-into the root user;
3, the CD soft.tar.bz2 is located in the directory;
4, TAR-XJVF soft.tar.bz2//general will generate a soft directory
5. CD Soft
6,./configure
7. Make
8. Make Install

Five, APT mode installation:

Reference:
1, open a terminal, Su-into the root user;
2, Apt-cache search Soft Note: Soft is the name of the software you are looking for or related information
3, if 2 found the software soft.version, then use apt-get installsoft.version command installation software Note: As long as you can surf the Internet, only need to use Apt-cachesearch to find software, with Apt-get install software

Six, bin file installation:

If the name of the software you downloaded to is Soft.bin, which is generally an executable file, the installation method is as follows:

Reference:
1, open a terminal, Su-into the root user;
2, chmod +x Soft.bin
3./soft.bin//Run this command to install the software

Vii. software that does not need to be installed:

Some software, such as LUMAQQ, does not need to be installed and can be run directly after the JRE is extracted. Suppose the download is lumaqq.tar.gz, using the following method:

Reference:
1, open a terminal, Su-into the root user;
2, TAR-XZVF lumaqq.tar.gz//This step will generate a directory called Lumaqq
3. CD Lumaqq
4, chmod +x lumaqq//Set LUMAQQ This program file to be run
5, at this time can run Lumaqq, with the command./lumaqq, but each time you run to enter the full path or switch to the LUMAQQ directory you just generated

6, in order to ensure that not set the path can be used, you can set up a lumaqq link in the/bin directory, with the command ln-s lumaqq/bin/can, at any time after opening a terminal input Lumaqq you can start QQ chat software

7, if you want to Lumaqq have a menu item, using the menu editing tools, such as Alacartemenueditor, find the Lumaqq directory generated above the LUMAQQ set a menu item, of course, you can also go directly to/usr/share/ Applications directory, create your own desktop file in the format of other *.desktop files.

Developers are advised not to use the first generation Linux operating system such as Red Hat/redflag/suse, which is not good except for the convenience (that is to say, the fool type), the interface luxury point. With the second generation of Debian/ubuntu, apt commands to install the software is the simplest. Apt commands automatically solve the software installation process dependencies, will not be installed on the package, the version of the package will automatically upgrade, of course, are to be confirmed by you.

If you use a 1th generation Linux system such as Red Hat, installing the software is a hassle, rpm-ivhsofta.rpm is used to install the SOFTA software, but often the problem is that you need to install SOFTB1,SOFTB2, SoftB3 and so on a bunch of software, and then you install softB1 software package, you may also be prompted to say you need to install SOFTC1,SOFTC2, SOFTC3,SOFTC4 and so on a bunch of software ... That way you'll only have enough time to go around looking for the software packages.

The CD does not have to go to the Internet to download, the Internet has to search for half a day, time spent in search packages. And even if these packages are found, the problem is that the SOFTC2 package must be installed before the softC1 package, the wrong sequence, and the installation is unsuccessful.

But who knows? It's hard. So, you don't have time to install the functionality of the experience software, let alone develop software. It is recommended that you install the 2nd generation Linux operating system, typically Debian Linux and Ubuntulinux, which I mentioned in the article "How to install a Linux operating system on a computer with a Windows operating system installed" in a concise installation manual, You can install Ubuntu by downloading and following the instructions.

The 2nd generation Linux operating system is quite simple to install software: The first step, search for the software you want, such as you want to find a game software, its name is Myward, this game software description is: Myown War game. Linux OS Search This package only needs to enter the command Apt-cache Searchmyward, or enter a part of the software name Apt-cache Searchwar, or you do not know the software name.

Input software Description Part of the text apt-cachesearchgame, can find this software, find the second step, only need to enter the Apt-getinstall Myward, that is, followed by the software name can be installed. I do program development, do not want to only Google to find things, I hope to have more time to study the Linux kernel. Li's Linux forum.

Package Management-----Linux operating system RPM package installation method steps

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.