Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I install backup agent client on the linux server 2.1. During the installation, there is a default to /opt and I click yes and I guess the software was installed in the folder. After playing with it , I delete the backup agent folder under /opt and when I tried to install the software again, it said the software already installed.
the question is how can uninstall the software so I can reinstall it again.
actually the -U flag for rpm is to upgrade a package to remove a package the flag is rpm -ev <packagename> the v giving u verbose output of what is actually being uninstalled and if by uninstalling that package the v helps you to determine if your going to break dependencies.
there was instructions and it asked to me run ./install and it installed, there was also an rpm file in there, when I want to uninstall it, your advise is type "rpm -U" only??? How dows Liux know which software it suppose to uninstall????
what they mean by rpm -ev (and not U) is the following:
rpm -ev packagename
of course if you simply right rpm -ev, rpm cannot know what file to remove. You need the package name, which you use when you install. To find it you can try:
rpm -qa|grep name
where name is the name of the package.
this should print the a longer package name which typically goes:
package-name-rh9-i386.rpm
(These are really basic informations that has been repeated numerous times on this group. You have to read about these on documentation pages!)
But if you ran a script then the answer is not rpm. You should read the INSTALL file, perhaps they explain how to remove this software there.
Last edited by graffitici; 09-18-2003 at 03:50 PM.
Originally posted by ashley75 there was instructions and it asked to me run ./install and it installed, there was also an rpm file in there, when I want to uninstall it, your advise is type "rpm -U" only??? How dows Liux know which software it suppose to uninstall????
Yes, you need to type the package name. (You will frequently see Unix commands given with a particular flag, but without specifying that you have to type the file name or input file and output file. I suppose I shouldn't follow that habit here.)
But if you ran ./install (without reading the script), rpm will not help you.
Yes, gbell, -U does upgrade, rather than remove. Since the original poster said they wanted to reinstall, it seemed like an easier move.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.