How to solve the installation package dependency problem of NetEase Cloud Music under Linux system
Use yum to install software (automatically resolve dependencies)
YUM has the following characteristics:
1. Multiple resource libraries (Repositories) can be configured at the same time
2. Simple configuration file (/etc/yum.conf)
3. Automatically Solve dependency problems encountered when adding or deleting rpm packages. Easy to use
4. YUM is divided into server side and client side
Build yum server:
1. Mount the redhat5.5 installation CD.
2. Install vsftp software.
3. Unmount and then remount to /var/ftp/pub/ (the client uses ftp to download the software package and installs the software on ftp through the yum command)
4. Use vi to modify the /etc/yum.repos.d/rhel-debuginfo.repo file. This file is modified by the client. I modified it directly on the server to fill in the address of the yum server and the software package ftp. Location.
5. The following takes the installation of the dns server software bind as an example. If you do not use yum to install it, you need to resolve the dependencies, which is more troublesome. As shown below:
6. As can be seen from the above picture, the installation went wrong. You need to install bind-9.3.6-4..... before you can install bind-chroot-9.3. Next, install bind- 9.3.6-4.
7. Then install bind-chroot-9.3. As shown in the figure, it can be installed normally.