LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   how to remove the software installed in fedora 9 (https://www.linuxquestions.org/questions/fedora-35/how-to-remove-the-software-installed-in-fedora-9-a-715961/)

asifbasha 04-01-2009 12:31 AM

how to remove the software installed in fedora 9
 
hai

i have downloaded the package with the extenstion tar.gz ,and i have installed with the following commands

./configure
make
make install

it is working properly ,but my quesiton is that how can i remove(uninstall) the package from my system.and i don't know where it has copied in my system

please reply me

repo 04-01-2009 02:33 AM

Look if there is an uninstall option in the tar.gz file

lazlow 04-01-2009 02:49 AM

This is one of the main reasons package based systems are so popular. In F9's case, if you had used an rpm, you could just "yum remove package'. If there is not an uninstall option, you are pretty much SOL. You may want to consider learning to build your own rpms. Then you would install/remove your own rpm via the package manager.

colucix 04-01-2009 04:02 AM

Quote:

Originally Posted by asifbasha (Post 3494517)
it is working properly ,but my quesiton is that how can i remove(uninstall) the package from my system.and i don't know where it has copied in my system

As already mentioned, if the developer of the software has included an "uninstall" target in the makefile, you can simply do
Code:

# make uninstall
if not you can always repeat the install step, this time saving the standard output in a file:
Code:

# make install > install.log 2>&1
this just overwrites the currently installed files without any clue. Then you can follow the install.log file line by line and manually reverse the installation steps. It is a simple task, since usually the installation is just a copying of all compiled files (together with manual pages and other stuff) to the system directories.

aswathamana 04-01-2009 04:50 AM

if u r in graphical mode use pirut command to open the add or remove program in Redhat Fedora like linux machine
or use system-config-packages to open the add or remove window.

else do the step to remove the installed tar package

1../configure
2.make
3.make clean

repo 04-01-2009 04:57 AM

Quote:

if u r in graphical mode use pirut command to open the add or remove program in Redhat Fedora like linux machine
or use system-config-packages to open the add or remove window.

else do the step to remove the installed tar package

1../configure
2.make
3.make clean
If the software isn't installed with the packet manager, it will not appear in the add or remove window
make clean doesn't remove installed software, it cleans any unecessary files used to build.

colucix 04-01-2009 07:33 AM

Quote:

Originally Posted by repo (Post 3494702)
make clean doesn't remove installed software, it cleans any unecessary files used to build.

Furthermore, make clean removes the makefile and the ability to uninstall the software (if provided). So, don't do make clean if not strictly necessary!


All times are GMT -5. The time now is 05:19 AM.