To use rpmforge-release on CentOS, follow these steps:
Open a terminal or SSH into your CentOS server.
Download the rpmforge-release package by running the following command:
wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm
Note: Replace the URL with the appropriate version for your CentOS release.
sudo rpm -Uvh rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm
Note: Again, replace the package name with the appropriate version.
sudo yum repolist
The output should include the rpmforge repository.
yum
command. For example, to install the htop
package, run the following command:sudo yum install htop
Note: You can replace htop
with any other package name you want to install.
That’s it! You have successfully set up and used rpmforge-release on CentOS.
辰迅云「云服务器」,即开即用、新一代英特尔至强铂金CPU、三副本存储NVMe SSD云盘,价格低至29元/月。点击查看>>
推荐阅读: centos修改ip地址的方法有哪些