Steps for installing the rpm package in Linux

Source: Internet
Author: User

It is particularly worth mentioning that the Linux operating system has many things worth learning. Here we mainly introduce the Linux operating system, including the Linux operating system. Summary of software installation methods for Linux operating systems

1. Steps for installing the rpm package:

Reference:
1. Find the corresponding software package, such as soft. version. rpm, and download it to a local directory;
2. Open a terminal and su-become the root user;
3. directory where cd soft. version. rpm is located;
4. Input rpm-ivh soft. version. rpm

Ii. Steps for installing the deb package:

Reference:
1. Find the corresponding software package, such as soft. version. deb, and download it to a local directory;
2. Open a terminal and su-become the root user;
3. directory where cd soft. version. deb is located;
4. Input dpkg-I soft. version. deb

Install the Three-character tar.gz source code package:

Reference:
1. Find the corresponding software package, such as soft.tar.gz, and download it to a local directory;
2. Open a terminal and su-become the root user;
3. directory where cd soft.tar.gz is located;
4. tar-xzvf soft.tar.gz // a soft directory is usually generated.
5. cd soft
6../configure
7. make
8. make install

Installation Method of source code package:

Reference:
1. Find the corresponding software package, such as soft.tar.bz2, and download it to a local directory;
2. Open a terminal and su-become the root user;
3. directory where cd soft.tar.bz2 is located;
4. tar-xjvf soft.tar.bz2 // a soft directory is usually generated.
5. cd soft
6../configure
7. make
8. make install

5. apt installation:

Reference:
1. Open a terminal and su-become the root user;
2. apt-cache search soft Note: soft is the name or related information of the software you are looking.
3. If software soft is found in step 2. version, use apt-get installsoft. version command to install software Note: as long as you can access the Internet, you only need to use apt-cachesearch to find the software and use apt-get install software.

Vi. binfile installation:

If the software you downloaded is soft. bin, it is generally an executable file. The installation method is as follows:

Reference:
1. Open a terminal and su-become the root user;
2. chmod + x soft. bin
3. Run the./soft. bin // command to install the software.

7. Unnecessary software installation:

Some software, such as lumaqq, does not need to be installed. After the built-in jre is decompressed, it can be directly run. The download result is lumaqq.tar.gz. The usage is as follows:

Reference:
1. Open a terminal and su-become the root user;
2. tar-xzvf lumaqq.tar.gz // a directory named LumaQQ is generated in this step.
3. cd LumaQQ
4. chmod + x lumaqq // set the lumaqq program file to run
5. You can run lumaqq by using the command./lumaqq, but you need to enter the full path or switch to the LumaQQ directory generated just now.

6. To ensure that you can use it without setting the path, you can create a lumaqq link in the/bin directory and run the ln-s lumaqq/bin/command, open a terminal and enter lumaqq at any time to start the QQ chat software.

7. If you want lumaqq to have a menu item, use the menu editing tool, such as AlacarteMenuEditor, to set a menu item in the LumaQQ directory generated above, of course, you can also directly go to the/usr/share/applications directory and follow the other *. generate a desktop file in the format of the desktop file.

We recommend that developers do not use the first-generation Linux operating systems such as red hat, redflag, and suse. In addition to convenience, this is just a Dummies.) There is nothing better than interface luxury points. Run the apt command to install the software in the second generation, such as debian and ubuntu. The apt command automatically solves the dependency problem during the software installation process, installs unused packages, and automatically upgrades low-version packages. Of course, you must confirm the installation once.

If you use 1st generation Linux systems such as Red Hat, installing software is troublesome, rpm-ivhsoftA.rpm is used to install softA software, however, a common problem is that you need to install softB1, softB2, softB3, and other software. When you install the softB1 software package, you may be prompted to install softC1, A bunch of software, such as softC2, softC3, and softc4 ...... In this way, you only have enough time to search for these software packages.

If you do not have a CD, you have to download it online. You have to search for software packages for half a day. Even if you find these software packages, you may encounter the problem that the softC2 software package must be installed before the softC1 software package. If the sequence is wrong, the installation fails.

But who knows? Difficult. So you don't have time to install and experience the software, let alone develop the software. We recommend that you install the 2nd-generation Linux operating system, typically Debian Linux and UbuntuLinux, I mentioned a simple installation manual in the article "how to install Linux on a computer with a Windows operating system". You can install Ubuntu by downloading it.

The 2nd-generation Linux operating system is quite simple in installing software: the first step is to search for the software you want. For example, if you want to find a game software, its name is myward, the description of this game software is: mywn war game. To search for this software package in Linux, you only need 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.

Enter a part of the text apt-cachesearchgame in the software description. You can find the software and then perform the second step. You only need to enter apt-getinstall myward, you can install the software by following the software name. I do program development. I don't want to search for something on google, but I want to spend more time studying the Linux kernel. Zhou Lifa's Linux forum.

  1. Deep Learning of advanced applications in Linux
  2. Linux OS is easier to use than other releases
  3. The Linux operating system is facing the increasing competition between Oracle and Novell
  4. Start the service during Linux operating system configuration
  5. Linux uses the actual physical hard disk as the Virtual File System

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.