Click to See Complete Forum and Search --> : installing and uninstalling


hugs_to_tux
10-18-2001, 08:37 PM
hi all the grasshoppers,
pliss take some time to hop into my querry.
(1) i just wanted to know that when u install and rpm package where do all the files that are required to run that application go.i mean in which directories ??are these directories fixed ????can i change it????

(2) as far as rpms are concerned rpm -e does the uninstall but how do u uninstall all the files scattered all over when u installed an application from a tar ball.so that no trace of any file that was installed remains.

(3) where do all the files go when u install thru a tar ball?????

regds,
Saurabh.

Dark Ninja
10-18-2001, 08:43 PM
1.) Predetermined. They go where they are sent to go. When you uninstall, the fililes that were installed to specific directories are now uninstalled.

2.) It's a good idea to keep .tar files together in your own folder. That way, when you need to remove the file, just delete the folder(s). (At least, that's always what I was told.)

3.) Depends on where you send them. Otherwise, it's usually /bin or a similar folder.


Dark Ninja

scanez
10-18-2001, 08:43 PM
(1) WIth a regular rpm, I don't think you have any control over where it is installed. Maybe you could modify the src.rpm file and tell it where to install if you wanted to do that.

(2) Sometimes you can go into the directory from which you installed the tar.gz (meaning the directory from which you ran ./configure, make, ane make install) and it may have a target setup in the Makefile for uninstall. Try make uninstall, if that doesn't work then you have to delete all the files manually.

(3) You can usually set the prefix directory with the --prefix=/directory option during ./configure. The default is usually --prefix=/usr/local.

The thing is that not all files go into the same directory; some go into the bin directory, others into lib and yet others into man and what not.

Hope this helps
SC

scanez
10-18-2001, 08:45 PM
Ah! Beat me to it Dark Ninja! Wow, we posted within the same minute :)

Amazing how much help is available here...
SC