Linux basics: Install rpm software on Fedora

Source: Internet
Author: User
In Linux, the installation is not as convenient as in windows. However, it is not difficult to install files in Linux, but you do not know how to start from the beginning. Now I will describe how to install the rpm file under Fedora. The rpm file is called RedHatPackageManager, which is a management program developed by RedHat. The rpm file is compiled and packaged, so it is very convenient for installation (if you are interested in RPM, you can

In Linux, the installation is not as convenient as in windows. However, it is not difficult to install files in Linux, but you do not know how to start from the beginning. Now I will describe how to install the rpm file under Fedora.

The rpm file is called RedHat Package Manager, which is a management program developed by RedHat. The rpm file is compiled and packaged, so it is very convenient to install it. (If you are interested in RPM, you can search for it online. This is an entry-level article, so I will not focus on this)

Find a practical example. I want to read this article by some readers (in fact, I am writing my own experiences ). In win, most people will use a well-known software. Yes, it is QQ. Although QQ is now available on the webpage, it is not necessary to install QQ, here is just a reference example. Other examples can be used to simulate this practice.

I won't talk about how to download the RPM package of QQ for Linux. Otherwise, I am suspected of advertising.

Well, now you have prepared the linuxqq-v1.0.2-beta1.i386.rpm file (Other rpm files can be, usually installed with rpm, the software can be used, but in some cases can not be used normally, if there is a problem, of course it is solved on the Internet ).

Open the terminal: (some software installation requires the root permission, so if you do not have the permission to install it during installation, you can enter the su command before installation, and then install the file)

Use cd to direct the current path to the file path. I will put it in the "Download" folder.

Use ls to check the file so that you can determine whether the file is actually here.

Use the rpm-I Installation File (I have seen a lot of the installation files on the Internet are rpm-ivh. In fact, you just need to install-I. With the addition of the file, you can see more content, if you do not know some commands, you can enter "command -- help" and then output the information and help related to the command)

Www.linuxidc.com@www.linuxidc.com ~ $ Su // depends on the situation

Www.linuxidc.com@www.linuxidc.com ~ $ Cd/download // because the original path will be the user path, you only need to direct it to the download folder.

Www.linuxidc.com@www.linuxidc.com ~ $ Ls // view all files

Www.linuxidc.com@www.linuxidc.com ~ $ Rpm-I linuxqq-v1.0.2-beta1.i386.rpm // install rpm, someone may say the name is too long, how to remember, in fact, Linux can use the Tab key, as long

// Enter a part. For example, if you enter rpm-I linux and press Tab, the file is automatically paired.

After that, you can find QQ under the Application> Internet (some programs do not necessarily have it here. You can enter the rpm-ql package name, here the package name is linuxqq-v1.0.2-beta1.i386, the package name does not include. rpm, find the file path just installed), isn't it hard to imagine? Now, let's go to your QQ (or use the program you just installed ).

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.