Improve this question. In the case of CentOS and RHEL, it uses “yum” as its package manager. With Yum tools and plug-ins, you can List software packages, both installed and available, in local or remote repositories. Return to Linux specific. Is there a way to force the re-load of the package and its config files? I'm trying to reinstall a package on CentOS: yum reinstall packagename however I can still see the changes that I made in the config files from this package. https://phoenixnap.com/kb/how-to-install-rpm-file-centos-linu Share. In case you need to grab a software from a different source, you either need to follow the classical method (grabbing the source, building the software and installing it) or an installable package. Top. If you do not specify the absolute path to the rpm file, yum command will look for the .rpm file in the current working directory or you can specify the absolute path to the .rpm … Re: how to backup installed rpm files to reinstall Post by hemanthbitra » Fri Oct 14, 2016 4:48 am If i had installed any file using yum command or rpm for installing .rpm will it store those .rpm files in any root folder centos yum. Accidentally deleted a module needed by yum - how to reinstall it?Helpful? yum install filename.rpm. It’s time to learn on managing any RPM package on CentOS/RHEL! yum reinstall \* lik Founder Posts: 497 Joined: Wed Dec 15, 2010 3:21 am. Regards. 1 post • Page 1 of 1. Hi Jörg, If you want to use packages from rhel-7-server-rpms only, this is the way you will have to reinstall the packages. yum - how to re-install a package. If it is installed, @base, @uptates or @anaconda will be displayed on the far right, and base or anaconda will be displayed if it is not installed. # yum remove kernel-2.6.18-194.32.1.el5 kernel-2.6.18-194.el5 Reinstall the Linux Kernel via RPM/Yum. yum list Ps: The RPM package name is on the far left, the version information is in the middle, and the installation information is on the far right. For CentOS and RHEL, you should look for RPM packages. 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: Follow Download the package(s) and type rpm -Uvh as root or sudo rpm -Uvh as normal user. yum (Yellowdog Updater, Modified) provide more services and functionality than is available with the rpm command and other RPM-based tools. CentOS 6.3 I have broken install (some executable files accidently overwritten) I tried:
yum erase wine yum install wine ... Basically you have to remove the SW AND remove the entries in the rpm DB (which underlies yum). To install rpm package, use yum install command followed by the name of the rpm file you want to install. you can also try. Now, to reinstall the kernel you want, first remove it by specifying the exact version (usually the currently running kernel, see uname -r above).