LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-23-2015, 02:54 PM   #1
rmcateer
Member
 
Registered: Oct 2014
Posts: 41

Rep: Reputation: Disabled
“No package stress available, nothing to do”,"bash: yum-config-manager:command not fo


I am trying to install the stress package on CentOS 7 virtual machine running on vmware player on windows 7 laptop. I have tried many packages and have updated yum but whenever I run sudo yum install stress it tells me that there is no such package stress available and there is nothing to do. When I run it from the following download links using yum-config-manager, it tells me that there is no yum-config-manager command found. The download links are

yum-config-manager --add-repo "http://download.opensuse.org/repositories/server:/monitoring/CentOS_CentOS-6/server:monitoring.repo"

/sbin/OCICLI http://software.opensuse.org/ymp/ser...2&query=stress

How can I bypass these and download the stress package successfully? I want to use it to stress the vm but can't get past these hurdles. I am from an Ubuntu background and it was a lot easier on that. Please help.
 
Old 02-23-2015, 04:16 PM   #2
linuxtech99
Member
 
Registered: Jan 2015
Posts: 35

Rep: Reputation: 4
It looks like you don't have yum-utils package installed in your CentOS box which gives yum-config-manager command. Install yum-utils using yum


Code:
yum install yum-utils
After installing, run your command to add the repo and it should work.
 
Old 02-23-2015, 04:21 PM   #3
rmcateer
Member
 
Registered: Oct 2014
Posts: 41

Original Poster
Rep: Reputation: Disabled
whenever I run that command now, or indeed any command, it just scans a list of mirrors and then tells me that they all failed. Why is this such a nightmare? Is there no easy way to install what should be a very basic package on this absolutely terrible os?
 
Old 02-23-2015, 04:37 PM   #4
linuxtech99
Member
 
Registered: Jan 2015
Posts: 35

Rep: Reputation: 4
It could be due to connectivity from your server to yum repositories. You can manually download the yum-utils package from CentoS repos

http://reflector.westga.edu/repos/Ce...el7.noarch.rpm


If there are connectivity problem, you need to fix it so you can download the stress package from the other repo you're trying to add.
 
Old 02-23-2015, 04:41 PM   #5
rmcateer
Member
 
Registered: Oct 2014
Posts: 41

Original Poster
Rep: Reputation: Disabled
According to an answer which I am discussing at Unixstackexchange, the stress package which I want does not exist now in the Centos 7 version. Would you know of any simple commands(preferably easy to download) that perform a similar function and stress the vm?
 
Old 02-23-2015, 08:52 PM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,602

Rep: Reputation: 2648Reputation: 2648Reputation: 2648Reputation: 2648Reputation: 2648Reputation: 2648Reputation: 2648Reputation: 2648Reputation: 2648Reputation: 2648Reputation: 2648
this is a VM install
so
did you make a bridge to connect the VIRTUAL install using a VIRTUAL network card to the REAL!! network card ( virbr0)
dose firefox connect ?
can you ping Google ?
Code:
ping google.com

as to "stress"
did you do a yum search ?
the name might be different
Code:
su -
yum search stress

Last edited by John VV; 02-23-2015 at 08:55 PM.
 
Old 02-23-2015, 09:28 PM   #7
linuxtech99
Member
 
Registered: Jan 2015
Posts: 35

Rep: Reputation: 4
Download the package from ftp://ftp.pbone.net/mirror/dag.wieer....rf.x86_64.rpm and copy to your VM. and then install using

Code:
rpm -ivh stress-1.0.2-1.el7.rf.x86_64.rpm
 
  


Reply

Tags
centos7, command, download, yum


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Yum Command - RPM Based Package Manager with Practical Examples LXer Syndicated Linux News 0 05-05-2013 01:26 AM
Yum: What "Package Group" can provide a package? stefanlasiewski Red Hat 7 03-21-2013 01:31 PM
Package manager like yum in solaris vinaytp Solaris / OpenSolaris 6 01-06-2010 11:36 AM
Help! Lost yum and package manager zoomzilla Linux - Newbie 1 12-11-2009 10:38 PM
"bash: rpm: command not found" errom when trying to install any package sandeepchau123 Linux - General 16 07-06-2008 03:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration