How do I remove a downloaded rpm's
Hi,
I downloaded some of this stuff - "http://safesrv.net/install-openvpn-on-centos/" I got down to "Build the rpm packages:" before it failed so now I'm trying to figure out how to remove it all. Anyone know the remove command for this? Any advice will be much appreciated. |
Did you follow the steps given on the link you mentioned above?
If you have installed any rpm then you can use- Code:
rpm -e <rpm_name> |
Quote:
I downloaded all of this stuff.... yum install gcc make rpm-build autoconf.noarch zlib-devel pam-devel openssl-devel -y wget http://openvpn.net/release/lzo-1.08-4.rf.src.rpm wget http://packages.sw.be/rpmforge-relea...l5.rf.i386.rpm rpmbuild --rebuild lzo-1.08-4.rf.src.rpm rpm -Uvh lzo-*.rpm |
then use the syntax I mentioned above to uninstall any of the rpm(s).
|
Quote:
[root@localhost vmware]# rpm -e rpm-build autoconf.noarch zlib-devel pam-devel openssl-devel -y -y: unknown option [root@localhost vmware]# rpm -e rpm-build autoconf.noarch zlib-devel pam-devel openssl-devel [root@localhost vmware]# rpm -e wget http://openvpn.net/release/lzo-1.08-4.rf.src.rpm error: package http://openvpn.net/release/lzo-1.08-4.rf.src.rpm is not installed [root@localhost vmware]# rpm -e wget http://packages.sw.be/rpmforge-relea...l5.rf.i386.rpm error: package http://packages.sw.be/rpmforge-relea...l5.rf.i386.rpm is not installed [root@localhost vmware]# rpm -e rpmbuild --rebuild lzo-1.08-4.rf.src.rpm --rebuild: unknown option [root@localhost vmware]# rpm -e rpm -Uvh lzo-*.rpm error: open of rpm failed: No such file or directory warning: lzo-1.08-4.rf.src.rpm: Header V3 DSA/SHA1 Signature, key ID 6b8d79e6: NOKEY [root@localhost vmware]# |
Quote:
Quote:
Quote:
Check if the lzo rpm is installed or not. Using- Code:
# rpm -qa lzo Quote:
Again I'm mentioning here that if you have to uninstall any of the rpm, use- Code:
rpm -e <package_name> |
Quote:
[root@localhost vmware]# rpm -qa lzo [root@localhost vmware]# I'm only a newbie to Linux but I'm guessing that means it is removed? |
Quote:
So, it shows here that the rpm hasn't been installed. |
All times are GMT -5. The time now is 12:27 PM. |