4

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?

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.

| improve this answer | |
  • I think that "localinstall" option is not necessary anymore in CentOS 7. – Pozinux Oct 16 '17 at 18:41
10

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
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.