Welcome to the TechSpot OpenBoards. Please read the FAQ if you have any questions. Sign up or Login to participate.
Collaborate in the cloud with Office, Exchange, SharePoint, and Lync
|
|||||||
Collaborate in the cloud with Office, Exchange, SharePoint, and Lync
uninstalling a program
|
|
Thread Tools | Search this Thread |
|
#1
|
||||
|
||||
|
uninstalling a program
When one uninstalls an rpm, I read that one uses the rpm command and option -e.
Should I be in the directory where I originally saved the rpm? I installed AIM and want to remove it. I renamed the rpm /root/downloads/aim.rpm before I ran the install. From /root/downlods/ can I type rpm -e aim.rpm to remove it? |
|
#2
|
||||
|
||||
|
nope, you can uninstall it from anywhere.
rpm -e packagename I usually query it first: rpm -q packagename you don't need the .rpm extension, as well I think. |
|
#3
|
||||
|
||||
|
Removal from RPM database has nothing to do with the original RPM file. You just query with rpm -q to make sure you are uninstalling the right thing and then do rpm -e. And yes, the rpm extension (and maybe also a big part of the RPM file name) is not needed, actually it will not work.
|
|
#4
|
||||
|
||||
|
Quote:
Yes, that's entirely correct. BUT, just as an aside, I believe that if you have installed from pure source code (you'd know, believe me, you'd have downloaded a tar.gz file and ran ./configure, make, make install, etc) that you can run "make uinstall" from inside the original source code folder in order to uninstall, so in that similar case the original files DO have relevance. But not for RPMs. You just uninstall them with the command line -e flag. |
|
#5
|
||||
|
||||
|
I actually have downloaded some tar.gz files for flashplayer plugin for mozilla, and some other things, but I don't know what to do with them.
|
|
|
|
#6
|
||||
|
||||
|
for instance, here's linux headquarters instructins for installing GAIM.
tar -xvzf gaim-0.10.3.tar.gz cd gaim-0.10.3 ./configure make make install Is that all I have to type? I would like to understand what I'm actually doing, and not just blindly type commands. When you uncompress a tar.gz file, does it matter where you extract the contents? When I did it with MozillaFirebird, and the flash player plugin, it make a new directory in the directory I was in. I was in /root/dls (my downloads directory) and when I ran the tar -xvzf command, it put it in /root/dls/MozillaFirebird. I would imagine I don't want the program files in /root is there a linux equivalent of a "program files" directory, like in windows? Should I have been in a different working diretory when I uncompressed that tar.gz file? I have so many questions!! Linux is befuddling to a newb.
Last edited by gsgleason; 09-23-2003 at 10:06 AM.. |
|
#7
|
|||||||
|
|||||||
|
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
|
|
#8
|
||||
|
||||
|
so once I uncompress it and configure and make it and all that, and it puts stuff in /usr/local or wherever, are the contents of the directory to which I originally uncompressed the tar.gz file now not needed?
|
|
#9
|
||||
|
||||
|
They're not necessary unless the application has an option "make uninstall" and you want to remove the application properly in the future.
|
|
#10
|
||||
|
||||
|
Actually, unless you customise the make procedure yourself, you can remove the application later on by extracting the tarball and running "make uninstall".
So removing the directory is OK, it is a good idea to leave the tarball somewhere though. |
|
#11
|
||||
|
||||
|
What is a tarball?
|
|
#12
|
||||
|
||||
|
A tarball is a common way of distributing files in the Unix world. It is usually a directory concatenated into a tar file and then compressed with either compress, gzip or bzip2. These are the .tar.gz, .tgz, .tar.bz2, tar.z etc. files.
|
![]() |
| Similar Topics | ||||
| Topic | Replies | Forum | ||
Microsoft Office Not Running or Uninstalling - No Add/Remove Program Button
|
11 | Windows OS | ||
Uninstalling Fedora...
|
2 | The Alternative OS | ||
Uninstalling internal gfx first?
|
3 | Audio and Video | ||
uninstalling
|
5 | Other Hardware | ||
Uninstalling Nortan
|
3 | Windows OS | ||
| Thread Tools | Search this Thread |
|
|
All times are GMT -4. The time now is 10:26 AM.



Microsoft Office Not Running or Uninstalling - No Add/Remove Program Button