On Scientific linux 6.0(RH like linux) I accidentally removed python, so yum removed as well.µ
How to install yum with rpm?
Nov 24, 2017 - You can also use YUM or DNF package manager to install downloaded rpm file. Its benefit to resolve dependencies required for the package.
EDIT
I try to install python but it is somehow looped the dependences:
Then:
1 Answer
Download the package(s) and type rpm -Uvh <packagenames>
as root or sudo rpm -Uvh <packagenames>
as normal user
I used rpm -qpR yum-3.2.27-14.el6.noarch.rpm
to get a list of dependencies for yum, hope that gets all off them in one go:
Download all the packages with the following code block:
Install them as follows:
Not the answer you're looking for? Browse other questions tagged linuxyumrpmscientific-linux or ask your own question.
Question : How to install a specific rpm package version using yum?
Answer :
The ask here is to install a specific version of the package when multiple versions are available. By default when you do not specify a version for a package, latest version gets installed. The procedure below requires you to be logged in as root.
1. clean the yum cache directory
2. To install a specific version of a package we must know the available package version in our repository. List all the version of the packages available :
For Example :
3. Install the specific version of the firefox package using the version number in the second column.
Syntax :
For example :