This is the 25th day of my participation in the August Genwen Challenge.More challenges in August
directory
Problem 1: Failed Dependencies: or Cannot resolve dependency XYZ is found during the installation of a software
Problem 2: Some C files or header files are missing or some methods are missing during installation and compilation
Error 3: Failed to install some software using yum
Problem 4: Unable to obtain root user to compile and install software, but need to use some software for research
Developers sometimes need to install software based on CentOS or Linux to conduct functional research.
There will always be a variety of problems, this article records the work encountered in a variety of installation problems and ideas.
Of course, we recommend using container or implement InfrastructureAsCode to create immutable image/server.
Ok, the following are all kinds of problems and solutions. Some problems may need to do ditry work.
Problem 1: Failed Dependencies: or Cannot resolve dependency XYZ is found during the installation of a software
Solution: The system has not installed the dependent software. You can find the RPM package and install it.
The path for a specific operating system package is as follows. You can modify the path to the package issued by the corresponding operating system
Mirror.centos.org/centos/7/os…
Pkgs.org/download/my…
Problem 2: Some C files or header files are missing or some methods are missing during installation and compilation
Solution: Upgrade or find the GCC version corresponding to the software and install it.
This problem when installing a Redis met = > blog.csdn.net/geeklevin/a…
Error 3: Failed to install some software using yum
For example, if you want to install the latest version of Docker, some of the yum sources are probably old versions, so you need to find a yum source that contains the latest version.
This problem when installing a Docker met = > blog.csdn.net/geeklevin/a…
Problem 4: Unable to obtain root user to compile and install software, but need to use some software for research
Solution: Use a similar version of the host, build specific software (sometimes need to be careful to specify the corresponding prefix path). Build the package and copy the package to the host for trial run.
Continuous learning and continuous development, I am Lei Xuewei! Programming is fun. The key is to get the technology right. Creation is not easy, please support, like collection support committee!
Welcome to pay attention to the collection, the follow-up encounter new problems will be updated.