Uninstalling software

Discussion regarding the installation and configuration of Linux distributions.

Uninstalling software

Postby kadnan » Sun May 18, 2003 12:25 pm

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
kadnan
Battalion Quarter Master Havaldaar
 
Posts: 208
Joined: Wed Aug 07, 2002 8:00 pm
ICQ: 12940796
Location: Karachi,Pakistan

Postby zoltronuga » Thu Aug 28, 2003 4:01 am

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
zoltronuga
Lance Naik
 
Posts: 16
Joined: Wed Aug 27, 2003 4:22 pm
Location: pt

Postby Faraz.Fazil » Thu Aug 28, 2003 10:54 am

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.
Faraz.Fazil
Major General
 
Posts: 1024
Joined: Thu Jul 04, 2002 5:31 pm
WLM: faraz7476@hotmail.com
Location: Karachi/Pakistan/Earth/Universe

Postby Kdaemon » Sat Aug 30, 2003 1:42 am

yep both can be done ...
Kdaemon
Naib Subedar
 
Posts: 346
Joined: Sat Nov 30, 2002 12:22 pm
Location: Islamabad. GPS: LHR

Postby Faraz.Fazil » Sat Aug 30, 2003 6:08 am

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.
Faraz.Fazil
Major General
 
Posts: 1024
Joined: Thu Jul 04, 2002 5:31 pm
WLM: faraz7476@hotmail.com
Location: Karachi/Pakistan/Earth/Universe

Postby fawad » Sat Aug 30, 2003 7:37 am

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).
fawad
Site Admin
 
Posts: 918
Joined: Wed Aug 07, 2002 8:00 pm
ICQ: 17672437
Website: http://www.fawad.net
WLM: fawadhalim@hotmail.com
Yahoo Messenger: fawad2048
AOL: fawadhalim
Location: Addison, IL

Postby kadnan » Mon Sep 08, 2003 11:52 am

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
kadnan
Battalion Quarter Master Havaldaar
 
Posts: 208
Joined: Wed Aug 07, 2002 8:00 pm
ICQ: 12940796
Location: Karachi,Pakistan


Return to “%s” Installation

Who is online

Users browsing this forum: No registered users and 1 guest

cron