1, rely on detection fails, XXX xxxx is needed.
When I installed the rpm, the emergence of dependent test failure.
We can go to http://rpmfind.net/linux/rpm2html/search.php this web site to search for information, see what is missing dependent frame package
When we networked, or did rack package mirror server, yum install systemd-lib can be installed directly, but when the case is not connected to an external network server is, it can only approach.
Download systemd-libs-219-67.el7.i686.rpm, uploaded to the server directory, and run the following command
rpm -ivh systemd-libs-219-67.el7.i686.rpm
But sometimes, the bag was dependent on some other run-time package. We can go to https://centos.pkgs.org/7/centos-x86_64/systemd-libs-219-67.el7.x86_64.rpm.html view information systemd-libs, and other resource-dependent down.
But one by one to download much trouble. Providing a bulk download dependencies way here.
2, bulk download dependencies
Looking for a linux server can be networked, what the best environment
Method One: downloadonly
yum RPM package automatically download all dependent packages and to / root / rpm directory: yum yum the install-plugin-DownloadOnly yum the install --downloadonly --downloaddir = / root / rpm <Package-name> For example: yum the install --downloadonly --downloaddir = / root / myrpm / systemd -libs
但是如果该linux已经安装,此方法不行,至少我没有成功
Method two: yumdownloader yum-utils in
yum -y install yum-utils - utils-mounted yum yumdownloader --resolve --destdir = / the root / myrm / systemd-libs - yumdownloader download packages using systemd-libs, and download it to the lower myrm root
3, folder packed, unpacked
Switch to the root directory, run the following command
tar -zcvf /home/myrpm.tar.gz myrm - will myrm folder packed into myrpm.tar.gz file in the home
Under gai copy files to the server, unpack, I was put on the server's home folder, the command to enter the home folder, run
tar -zxvf myrpm.tar.gz
4, installation-dependent bulk
Rpm installation package will focus on the next folder, a possible rpm or more, not one by one to install the command rpm, using installed, the system will issue the correct installation package rpm -ivh --replacefiles *. rpm
rpm package download site: http://rpmfind.net/linux/rpm2html/search.php https://centos.pkgs.org/
Installation rpm Reference: https://www.cnblogs.com/Dev0ps/p/11027550.html https://www.cnblogs.com/JetpropelledSnake/p/10331019.html