The solution is as follows:
You can download the rpm package through yumdownloader.
(Recommended tutorial: centos tutorial)
(1) First install the corresponding tool through the following command
sudo yum install yum-utils
(2) Download through the following command rpm package
sudo yumdownloader rpm
Related video tutorial recommendations: linux video tutorial
The above is the detailed content of What to do if rpm does not exist under centos7. For more information, please follow other related articles on the PHP Chinese website!