Common linux installation errors-general Linux technology-Linux technology and application information. For more information, see the following section. If an error is prompted, do not worry. It is usually a very simple problem:
1) C or C ++ compiler is not installed;
Diagnosis Method: Execute the command gcc (C ++ is g ++) and prompt that the command cannot be found.
Solution: mount the Linux installation disc and enter the RPMS directory. Run the following command:
# Rpm-ivh gcc * (haha, we used the second installation method)
2) The make tool is not installed;
Diagnosis Method: Execute the make command and prompt that the command cannot be found.
Solution: mount the Linux installation disc and enter the RPMS directory. Run the following command:
# Rpm-ivh make *
3) the autoconf tool is not installed;
Diagnosis Method: Execute the make command and prompt that the command cannot be found.
Solution: mount the Linux installation disc and enter the RPMS directory. Run the following command:
# Rpm-ivh autoconf *
4) Some link libraries are missing;
Diagnosis Method: some files are prompted during make.
Solution: Install the package containing this file, which requires accumulation.
Part 2: deal with. rpm
RPM is a software package manager launched by Red Hat with Redhat Linux, which makes software installation easier.
1. Install software: run the rpm-ivh rpm package name, for example:
# Rpm-ivh apache-1.3.6.i386.rpm
2. Upgrade the software: run the rpm-Uvh rpm package name.
3. reverse installation: run the rpm-e rpm package name.
4. query the detailed information of the software package: Run rpm-qpi rpm package name
5. query the rpm package where a file belongs: run the rpm-qf rpm package name
6. Check which files will be written to the system by executing the rpm-qpl rpm package name.
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