Detailed Linux operating system installation of the RPM package steps _linux Shell

Source: Internet
Author: User
Tags bz2 chmod

The 2nd generation Linux operating system in the installation of software is quite simple: the first step, search for the software you want, such as you want to find a game software, its name is called Myward, the Game Software description is: Myown War game. The Linux operating system searches for this package simply by typing the command Apt-cache Searchmyward, or by entering a part of the software name Apt-cache Searchwar, or you do not know the software name.

Here's a diagram that clearly shows the architectural relationships of Linux software applications:

At the time Linux starts. First will start the kernel (kernel), the kernel is a computer program, this program directly manages the management hardware, including CPU, memory space, hard disk interface, network interface and so on. All computer operations are passed through the kernel to the hardware. We can see that Linux uses kernel to implement the hardware and software dialogue. Through this important interface of system invocation, Linux completely separates the upper application from the lower kernel, and hides the low-level complexity for the programmer (correspondingly, it improves the portability of the upper application). When we upgrade kernel, we can also keep the system call statements unchanged, so that the upper application does not feel the lower level of change. The library function uses system calls to create modular functionality, while the shell provides a user interface and allows us to use the syntax of the shell to write scripts to consolidate the program. With these ideas we can quickly understand how Linux software applications are installed and working, and therefore to facilitate and obtain more enterprise applications we need to develop on Linux systems and compile software packages to serve the information age.

It is particularly worth mentioning that the Linux operating system has a lot to learn, here we mainly introduce the Linux operating system, including the introduction of Linux operating systems and so on. Linux operating system Software Installation Method summary

First, the RPM package installation method steps:

Reference:

1, find the appropriate software packages, such as soft.version.rpm, download to a directory of this machine;
2, open a terminal, Su-as root user;
3, CD soft.version.rpm in the directory;
4, input RPM-IVH soft.version.rpm

Second, the Deb package installation method steps:

Reference:

1, find the appropriate software packages, such as Soft.version.deb, download to a directory of this machine;
2, open a terminal, Su-as root user;
3, CD Soft.version.deb in the directory;
4, input dpkg-i Soft.version.deb

Three, tar.gz source code package installation method:

Reference:

1, find the appropriate software packages, such as soft.tar.gz, download to a directory of this machine;
2, open a terminal, Su-as root user;
3, CD soft.tar.gz 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 appropriate software packages, such as soft.tar.bz2, download to a directory of this machine;
2, open a terminal, Su-as root user;
3, CD soft.tar.bz2 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 way installs:

Reference:

1, open a terminal, Su-as 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 the Apt-get installsoft.version command to install software Note: As long as you can access the Internet, you need to use Apt-cachesearch to find software, apt-get install software

Six, bin file installation:

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

Reference:

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

Seven, do not need to install the software:

With some software, such as LUMAQQ, is not required to install, with the JRE after the solution can be directly run. Suppose the download is lumaqq.tar.gz, using the following method:

Reference:

1, open a terminal, Su-as 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 is run
5, at this time can run Lumaqq, with the command./lumaqq, but every time you run to enter a full path or switch to the LUMAQQ directory you just generated.
6, in order to ensure that you do not set the path can be used, you can create a lumaqq in the/bin directory link, with the command ln-s lumaqq/bin/can be, any time later open a terminal input LUMAQQ can start QQ chat software
7, if you want to Lumaqq have a menu item, use the menu editing tools, such as Alacartemenueditor, find the Lumaqq directory generated above Lumaqq set a menu item, of course, you can also directly to/usr/share/ Applications directory, according to the other *.desktop files in the format of a desktop file can be generated.

Suggest that developers do not use red hat/redflag/suse, such as the first generation of Linux operating system, with these except for convenience (that is, more stupid), the interface of luxury points outside nothing good. With the second generation of Debian/ubuntu, apt command installation software is the simplest. Apt command will automatically solve the software installation process dependencies, will not install the package, will be the lower version of the package automatically upgrade, of course, are to be confirmed once by you.

If you use the 1th generation Linux system such as Red Hat, it is troublesome to install the software, rpm-ivhsofta.rpm is used to install the SOFTA software, but usually the problem is that the hint says that the SOFTB1,SOFTB2 need to be installed. SoftB3 such as a pile of software, and then you install softB1 software package, you may be prompted to say that you need to install SOFTC1,SOFTC2, SOFTC3,SOFTC4, such as a pile of software ... So you just have enough time to go around looking for the software packages.

There is no CD on the Internet to download, the Internet has to search for half a day, time is spent searching software packages. And even if you find these packages, the problem you may encounter is that the SOFTC2 package must be installed before the softC1 package, and the order is wrong 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, and I mentioned a concise installation manual in the article "How to install a Linux operating system on a computer that has Windows operating systems installed". You can install Ubuntu by downloading it and doing it.

The 2nd generation Linux operating system in the installation of software is quite simple: the first step, search for the software you want, such as you want to find a game software, its name is called Myward, the Game Software description is: Myown War game. The Linux operating system searches for this package simply by typing the command Apt-cache Searchmyward, or by entering a part of the software name Apt-cache Searchwar, or you do not know the software name.

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.