8

I'm running virtual machine CentOS 7.2 on Azure and want to install stress tool for some test related to Alert. The point is even though i installed latest repository 7.6, i still wasn't be able to install stress.

[root@azure-virtualmachine ~]# yum install epel-release
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * epel: ftp.iij.ad.jp
Package epel-release-7-6.noarch already installed and latest version
Nothing to do

[root@azure-virtualmachine ~]# yum install stress
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * epel: ftp.riken.jp
No package stress available.

Someone tell me how to fix this please?

2 Answers 2

16

stress is now packaged in the EPEL 7 repository so this should be the preferred way of installation. To enable this repo, you should follow the instructions from the Fedora Wiki and install the epel-release package. Once enabled, you can then install stress. For example:

sudo yum install -y epel-release
sudo yum install -y stress
1
7

Stress is not available (yet) in Epel-Repository for RHEL 7. Google will find a RPM you can download from: ftp://fr2.rpmfind.net/linux/dag/redhat/el7/en/x86_64/dag/RPMS/stress-1.0.2-1.el7.rf.x86_64.rpm and install with yum localinstall stress-1.0.2-1.el7.rf.x86_64.rpm.

2
  • I think that "localinstall" option is not necessary anymore in CentOS 7. Commented Oct 16, 2017 at 18:41
  • epel have a package named stress Commented Apr 10, 2023 at 17:58

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .