Uninstalling software

Discussion regarding the installation and configuration of Linux distributions.
Post Reply
kadnan
Battalion Quarter Master Havaldaar
Posts: 208
Joined: Wed Aug 07, 2002 8:00 pm
Location: Karachi,Pakistan
Contact:

Uninstalling software

Post by kadnan »

how is it possible to uninstall some software which was installed after running ./configure and make,is there any uninstallation procedure? or how can i know directories name where different files are Installed

-second,how could i add a software executable in Start menu with its icon?
whats the file name where KDE stores such information

thanks
zoltronuga
Lance Naik
Posts: 16
Joined: Wed Aug 27, 2003 4:22 pm
Location: pt

Post by zoltronuga »

if you installed using the procedure
configure
make
make install
you may be very lucky and use
make uninstall
to uninstall the software

if you have deleted the sourcecode, you may have to uncompress it again and run
configure
make uninstall

otherwise you will have to examine the makefile

i read this somewhere, but i may be wrong

danny sad
Faraz.Fazil
Major General
Posts: 1024
Joined: Thu Jul 04, 2002 5:31 pm
Location: Karachi/Pakistan/Earth/Universe

Post by Faraz.Fazil »

You are right Zolt!

I have tried it many times and it works.

Basically to uninstall softwares installed through sources using the make commands like ./configure, make and make install, they can be uninstalled using the make uninstall command in terminal

To uninstall rpms, this command is used:

rpm --erase rpmname.rpm

For editing the menus in kde, use the kmenuedit tool
The kmenuedit tool is included in the kde base packages

For editing the menus in gnome, read my article on the forum.
Kdaemon
Naib Subedar
Posts: 346
Joined: Sat Nov 30, 2002 12:22 pm
Location: Islamabad. GPS: LHR

Post by Kdaemon »

yep both can be done ...
Faraz.Fazil
Major General
Posts: 1024
Joined: Thu Jul 04, 2002 5:31 pm
Location: Karachi/Pakistan/Earth/Universe

Post by Faraz.Fazil »

Faraz.Fazil wrote:You are right Zolt!

I have tried it many times and it works.

Basically to uninstall softwares installed through sources using the make commands like ./configure, make and make install, they can be uninstalled using the make uninstall command in terminal

To uninstall rpms, this command is used:

rpm --erase rpmname.rpm

For editing the menus in kde, use the kmenuedit tool
The kmenuedit tool is included in the kde base packages

For editing the menus in gnome, read my article on the forum.
fawad
Site Admin
Posts: 918
Joined: Wed Aug 07, 2002 8:00 pm
Location: Addison, IL
Contact:

Post by fawad »

kadnan,
To get around the dillema you have, you can take 2 routes
  • Use checkinstall to create rpms out of the source packages. rpm can be easily uninstalled
  • Use GNU Stow. With that, you run configure like

    Code: Select all

    ./configure --prefix=/usr/local/stow/<pkgname>
    
    then run

    Code: Select all

    stow <pkgname>
    
    To create symlinks of the packages in /usr/local. stow -D uninstalls it.
I've been using stow for a long time and works great for me. All source packages I install, I do them with stow (It detects conflicts too).
kadnan
Battalion Quarter Master Havaldaar
Posts: 208
Joined: Wed Aug 07, 2002 8:00 pm
Location: Karachi,Pakistan
Contact:

Post by kadnan »

Wow
seems it will solve problems

-i think there should be a linux Installer/uninstaller like Installshield which can be run on any distro.Installanywhere does this job but its not free
Post Reply