Linux Chapter Fifth installation and management procedures

Source: Internet
Author: User
Tags gpg wubi

Linux Chapter Fifth installation and management procedures

Enjoy Life Love the Challenge

                                                                                                                                                                                                         Mingyuan Sharing

Every chapter of a sentence

No matter how much you earn, remember to divide into five points, one for life, the second to make friends, the third to be thankful, the fourth to study fifth, to invest, the same starting point, the same end point, the difference between your results.

Requirements:

& #216; Use the RPM package to install the following software: RealPlayer player, the Linux version of the QQ software, Webmin management software, and use the RPM query the above software purposes, file list.

Steps:

1. Insert the installation disc and attach it to the/media directory. :

650) this.width=650; "style=" border-top-width:0px;border-bottom-width:0px;border-left-width:0px; "border=" 0 "alt=" Wpsebe7.tmp "src=" http://s3.51cto.com/wyfs02/M02/58/7C/wKiom1SyZf7iw48GAAAVERFYxok305.jpg "width=" 244 "height=" 23 "/>

2. Go to the directory/MEDIA/LINUX-SYSTEM/LSA-SG3. :

650) this.width=650; "style=" border-top-width:0px;border-bottom-width:0px;border-left-width:0px; "border=" 0 "alt=" Wpsec07.tmp "src=" http://s3.51cto.com/wyfs02/M00/58/7C/wKiom1SyZf-ys4_3AAA7sdllFFM120.jpg "width=" 244 "height=" 97 "/>

3. Use the rpm command to install RealPlayer Player, Linux version of the QQ software, Webmin management software. :

650) this.width=650; "style=" border-top-width:0px;border-bottom-width:0px;border-left-width:0px; "border=" 0 "alt=" Wpsec17.tmp "src=" http://s3.51cto.com/wyfs02/M01/58/78/wKioL1SyZsribaCFAABVkKrun18447.jpg "width=" 244 "height=" 92 "/>

4. Use the RPM command to query the purpose and file list of the RealPlayer player software. :

650) this.width=650; "style=" border-top-width:0px;border-bottom-width:0px;border-left-width:0px; "border=" 0 "alt=" Wpsec18.tmp "src=" http://s3.51cto.com/wyfs02/M02/58/78/wKioL1SyZs3hPLK-AABX8f8QKWU494.jpg "width=" 244 "height=" 118 "/>650" this.width=650; "style=" border-top-width:0px;border-bottom-width:0px;border-left-width:0px; "border = "0" alt= "wpsec29.tmp" src= "http://s3.51cto.com/wyfs02/M00/58/78/wKioL1SyZs7RjZSXAAA2we04YNc527.jpg" width= "244" Height= "/>"

5. The same command in the previous step to see the Linux version of the QQ software, Webmin management software and the use of a list of files.

& #216; Installing the Zhcon Chinese Virtual Console using source code package compilation

Steps:

1. Unpack the package. Attach the installation package CD to the directory/media, release the Zhcon Chinese Virtual Console source package to the directory/USR/SRC, create a directory/t220 under the root, copy the patch from the Zhcon Chinese Virtual Console to the/t220 directory, and unzip it. :

650) this.width=650; "style=" border-top-width:0px;border-bottom-width:0px;border-left-width:0px; "border=" 0 "alt=" Wpsec2a.tmp "src=" http://s3.51cto.com/wyfs02/M02/58/78/wKioL1SyZtCgQ36AAABezAzjZ7U507.jpg "width=" 244 "height=" 137 "/>

2. Configuration. :

650) this.width=650; "style=" border-top-width:0px;border-bottom-width:0px;border-left-width:0px; "border=" 0 "alt=" Wpsec3b.tmp "src=" http://s3.51cto.com/wyfs02/M02/58/78/wKioL1SyZtrwkhshAAAzfKUvBU4677.jpg "width=" 244 "height=" 81 "/>

In the above patch operation, Patch is a command program dedicated to the application. diff format patch file;& #8220;-p1& #8221; options (Note & #8220;-p& #8221; After the number 1, Not the letter L) is used to remove redundant directory parameters, usually in the source code directory of the software to perform patch operations when using this option;& #8220;<& #8221; the symbol indicates the redirect input action, which specifies the location where the patch file originates.

Configuration work is usually done by the & #8220;configure& #8221 in the source code directory, and the various configuration parameters available can be performed by & #8220 in the source code directory;. /configure--help& #8221, to view. For different software programs, there is a difference in configuration parameters, but there is a & #8220;--prefix& #8221; The form parameter is common to most open source software, which is used to specify the directory folder for package installation. If no configuration parameters are specified,& #8220;configure& #8221; The script will be configured with the default value of the software.

650) this.width=650; "style=" border-top-width:0px;border-bottom-width:0px;border-left-width:0px; "border=" 0 "alt=" Wpsec3c.tmp "src=" http://s3.51cto.com/wyfs02/M00/58/78/wKioL1SyZtvji7eDAAANo7oIHLM139.jpg "width=" 244 "height=" 13 "/>650" this.width=650; "style=" border-top-width:0px;border-bottom-width:0px;border-left-width:0px; "border=" 0 "alt=" wpsec4c.tmp "src=" http://s3.51cto.com/wyfs02/M01/58/78/wKioL1SyZt2Q12S3AABPKTDLbm8460.jpg "width=" 244 " height= "137"/>

After the configuration is successful, the & #8220 will be displayed in the last line; Good luck! & #8221;

When installing the software by source code in a Linux system, it is common to install all program files into the same folder, so that when the software needs to be uninstalled, it is convenient to delete the folder directly (some software can also execute & #8220 in the source code directory; uninstall& #8221; complete the uninstallation).

If the functionality of the software is complex, the configuration process will take some time, during which a large amount of output information will be displayed, which can help the administrator to configure the process. The configuration results are saved to the makefile file in the source code directory. If there is an error in the configuration process, it is usually due to a missing dependent package, as long as the corresponding software is installed as prompted.

3. Compile. The process of compiling is mainly based on the configuration information in the makefile file, compiling the source code files and generating the binary program module, the dynamic Connection library, the executable file and so on. Once the configuration is complete, simply execute the & #8220;make& #8221 in the source code directory, and the command will perform the compile operation. The process of compiling takes longer than the configuration, and during the same period, a large amount of execution process information is displayed. :

650) this.width=650; "style=" border-top-width:0px;border-bottom-width:0px;border-left-width:0px; "border=" 0 "alt=" Wpsec4d.tmp "src=" http://s3.51cto.com/wyfs02/M02/58/7C/wKiom1SyZhnwHuj4AAALKV1CurI146.jpg "width=" 244 "height=" 14 "/>

If the system prompts for an error, it is because a ncurses-devel packet is missing. :

650) this.width=650; "style=" border-top-width:0px;border-bottom-width:0px;border-left-width:0px; "border=" 0 "alt=" Wpsec4e.tmp "src=" http://s3.51cto.com/wyfs02/M00/58/7C/wKiom1SyZhuwPDXqAAB8iOCWeoU219.jpg "width=" 244 "height=" 138 "/>

Just install the package. :

650) this.width=650; "style=" border-top-width:0px;border-bottom-width:0px;border-left-width:0px; "border=" 0 "alt=" Wpsec5f.tmp "src=" http://s3.51cto.com/wyfs02/M01/58/7C/wKiom1SyZh2iAOt9AAAyXDCd_bo000.jpg "width=" 244 "height=" 54 "/>

After the installation is successful, you need to repeat the second step of the work, and then configure it again. Then enter the command & #8220;make& #8221, and compile it again. :

650) this.width=650; "style=" border-top-width:0px;border-bottom-width:0px;border-left-width:0px; "border=" 0 "alt=" Wpsec60.tmp "src=" http://s3.51cto.com/wyfs02/M02/58/7C/wKiom1SyZh-yeVNnAABxHNctPaM349.jpg "width=" 244 "height=" 138 "/>

4. Install. After compiling, you can execute & #8220; make install& #8221; command to copy the software execution program, configuration files, help documents and other related files to the Linux system, that is, the application of the final & #8220; installation 8221; process. :

650) this.width=650; "style=" border-top-width:0px;border-bottom-width:0px;border-left-width:0px; "border=" 0 "alt=" Wpsec70.tmp "src=" http://s3.51cto.com/wyfs02/M00/58/7C/wKiom1SyZiGS6z0oAABrcVbnwcg958.jpg "width=" 244 "height=" 137 "/>

Sometimes for the sake of simplicity, the above compilation, installation steps can be written as a line of command execution, intermediate use & #8220;&&& #8221; symbols can be separated:& #8220; make && make install & #8221; (Means & #8220;make& #8221; Execute & #8220 after successful execution; make install& #8221; command, otherwise the & #8220 is ignored; install& #8221; command).

5. Use. Zhcon Chinese Virtual Console provides all-in-one, Wubi, double-spell, and other Chinese input environments, but needs to perform & #8220;kbd_mode-a& #8221; command settings use the ASCII keyboard mode so that you can use the IME to toggle hotkeys normally. :

650) this.width=650; "style=" border-top-width:0px;border-bottom-width:0px;border-left-width:0px; "border=" 0 "alt=" Wpsec71.tmp "src=" http://s3.51cto.com/wyfs02/M01/58/7C/wKiom1SyZiKQtklQAAAP290CrVo854.jpg "width=" 244 "height=" 17 "/>

In the Zhcon Chinese Virtual Console environment, use the shortcut key ctrl+space to turn on/off the Chinese input method and use the shortcut key ctrl+d to exit the Zhcon console. In the Chinese input state, through the shortcut key Ctrl+shift can switch between different input methods, you can also use the shortcut key ctrl+alt+1 or ctrl+alt+2 to switch directly to the full spelling, Wubi input method.

650) this.width=650; "style=" border-top-width:0px;border-bottom-width:0px;border-left-width:0px; "border=" 0 "alt=" Wpsec82.tmp "src=" http://s3.51cto.com/wyfs02/M02/58/7C/wKiom1SyZiPw1Pn1AABa5D8m-GA504.jpg "width=" 244 "height=" 184 "/>

With the Zhcon platform, Linux users can display and enter Chinese in the character console interface, which is helpful when you need to access some directories or files that use Chinese names. However, in the Linux/unix operating system, the majority of applications still identify the English-language path, so we should try to use fewer Chinese names in the directory or file, in order to avoid unexpected program failure, system failure.

& #216; Install Adobe Reader reader using the Software's own wizard program, OpenOffice Office suite

To install the Adobe Reader Reader software step:

1. Enter the directory/MEDIA/LINUX-SYSTEM/LSA-SG3 again. :

650) this.width=650; "style=" border-top-width:0px;border-bottom-width:0px;border-left-width:0px; "border=" 0 "alt=" Wpsec93.tmp "src=" http://s3.51cto.com/wyfs02/M01/58/79/wKioL1SyZuyj4Q09AAAo9HPG2k8200.jpg "width=" 244 "height=" 81 "/>

2. Release the Adobe Reader Reader package to the directory/etc. :

650) this.width=650; "style=" border-top-width:0px;border-bottom-width:0px;border-left-width:0px; "border=" 0 "alt=" Wpsec94.tmp "src=" http://s3.51cto.com/wyfs02/M01/58/7C/wKiom1SyZibztPLzAAAQqhsm-N8967.jpg "width=" 244 "height=" 17 "/>

3. Then go to directory/etc/adobe Reader, and then run the Green executable file & #8220;install& #8221;. :

650) this.width=650; "style=" border-top-width:0px;border-bottom-width:0px;border-left-width:0px; "border=" 0 "alt=" Wpsec95.tmp "src=" http://s3.51cto.com/wyfs02/M00/58/79/wKioL1SyZu7TRSIaAAAY0CfabK8185.jpg "width=" 244 "height=" 31 "/>

4. Installation is successful. :

650) this.width=650; "style=" border-top-width:0px;border-bottom-width:0px;border-left-width:0px; "border=" 0 "alt=" Wpseca5.tmp "src=" http://s3.51cto.com/wyfs02/M00/58/7C/wKiom1SyZi3ihjjGAAB40wylKsQ541.jpg "width=" 244 "height=" 176 "/>

To install the OpenOffice Office suite software steps:

1. Enter the directory/MEDIA/LINUX-SYSTEM/LSA-SG3 again, and then release the OpenOffice Office suite package to the directory/etc. :

650) this.width=650; "style=" border-top-width:0px;border-bottom-width:0px;border-left-width:0px; "border=" 0 "alt=" Wpseca6.tmp "src=" http://s3.51cto.com/wyfs02/M01/58/79/wKioL1SyZvSyeLZfAAATVKAYN6U637.jpg "width=" 244 "height=" 25 "/>

2. Go to the Directory/etc/openoffice Office suite software, and then run the Green executable file & #8220;setup& #8221;. :

650) this.width=650; "style=" border-top-width:0px;border-bottom-width:0px;border-left-width:0px; "border=" 0 "alt=" Wpsecb7.tmp "src=" http://s3.51cto.com/wyfs02/M00/58/7C/wKiom1SyZi7BFbqsAAAlUPdNIWo272.jpg "width=" 244 "height=" 31 "/>

3. Follow the installation Wizard, then install the OpenOffice Office suite software

650) this.width=650; "style=" border-top-width:0px;border-bottom-width:0px;border-left-width:0px; "border=" 0 "alt=" Wpsecb8.tmp "src=" http://s3.51cto.com/wyfs02/M01/58/7C/wKiom1SyZjDiffh-AAA9RWiUiug352.jpg "width=" 244 "height=" 167 "/>

4. Installation is successful. :

650) this.width=650; "style=" border-top-width:0px;border-bottom-width:0px;border-left-width:0px; "border=" 0 "alt=" Wpsecd8.tmp "src=" http://s3.51cto.com/wyfs02/M02/58/7C/wKiom1SyZjnCkSI7AABz-nPFWRI013.jpg "width=" 244 "height=" 176 "/>

N Query the installed RPM package information

& #216; -QA: Displays a list of all software installed in RPM on the current system

& #216; -qi: View details of the specified package name, version, license Agreement, purpose description, etc. (& #8212; info)

& #216; -QL: Displays all directories, file lists (& #8212; list) that the specified package is holding down in the current system

& #216; -QF: To see which package the specified file or directory is installed in (& #8212; file)

N Query the rpm package file for related information

& #216; -qpi: View details about the name, version, license Agreement, purpose description, and so on for the specified package.

& #216; -QPL: Check the package for all target directories, file lists to be installed.

n Install, upgrade, and uninstall RPM packages

& #216; -I: Installing (Install) a new RPM package in the current system

& #216; -E: Uninstalling the package with the specified name

& #216; -U: Check and upgrade a package in the system, if the package is not installed, it is equivalent to & #8220;-i& #8221;

& #216; -F: Checks for and updates a package in the system, and discards the installation if it is not originally installed. There are also several related command options that can be used to assist in the process of installing and uninstalling packages.

U--force: Force a package to be installed, use this option when you need to replace a currently installed package and file, or install a software that is older than the current version of the software you are using.

U--nodeps: When installing or upgrading, uninstalling a package, you do not check dependencies with other software packages.

& #216; -H: During the installation or upgrade of the package, the & #8220;#& #8221; the installation progress is displayed.

& #216; -V: Displays detailed information during the software installation process.

N Maintain RPM database

& #216; Rebuild the RPM database:

Use the rpm Command & #8220;--rebuilddb& #8221, or & #8220;--initdb& #8221; function to restart the RPM database.

RPM--rebuilddb or RPM--INITDB

& #216; Import Validation Public key:

When you import a public key file into the RPM database, you need to use the & #8220;--import& #8221;

For example, you can import the Rpm-gpg-key-redhat-release public key file from the CD directory into the RPM database by doing the following.

RPM & #8211; import/media/cdrom/rpm-gpg-key-redhat-release

Linux Chapter Fifth installation and management procedures

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.