How To Remove a Package Without the Dependencies (yum/rpm)
To remove a specific package without its dependencies use rpm:
1 2 |
rpm -qa | grep pecl rpm -e --nodeps php55-pecl-jsonc php55-pecl-jsonc-devel |
As always, YMMV!
To remove a specific package without its dependencies use rpm:
1 2 |
rpm -qa | grep pecl rpm -e --nodeps php55-pecl-jsonc php55-pecl-jsonc-devel |
As always, YMMV!
yum list installed -OR- rpm -qa
Yum uses RPM so… # rpm -ql {package_name_here} -OR- # rpm -qlp /path/to/{file_name_here}.rpm
1 2 3 |
rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm rpm -i rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm |
Create the file /etc/yum.repos.d/webmin.repo with the following content:
1 2 3 4 5 |
[Webmin] name=Webmin Distribution Neutral #baseurl=http://download.webmin.com/download/yum mirrorlist=http://download.webmin.com/download/yum/mirrorlist enabled=1 |
Then, run the following RPM command: rpm –import http://www.webmin.com/jcameron-key.asc -or-
1 2 |
wget http://www.webmin.com/jcameron-key.asc rpm --import jcameron-key.asc |
Finally, of course, do the actual hyper-easy install:
1 |
yum install webmin |