LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-30-2005, 12:33 PM   #1
danesp
LQ Newbie
 
Registered: Jan 2004
Location: Pennsylvania, USA
Distribution: Bodhi 4.5
Posts: 14

Rep: Reputation: 0
Unhappy Uninstall a python package


I recently built/installed GnomeBoyAdvance using Python. I wish to uninstall this program. I don't think I can just delete folders and files since the python script puts files and shortcuts all over the system. I don't quite understand how python works. It seems that Python created a gnomeboyadvace folder within the python /site-packages folder. So I guess that python is sort-of managing the application? Kind of like RPM does?
How can I uninstall this software completely?

any help would be appreciated

I forgot mention, I'm running Python 2.3 on Fedora Core 2

thank you
Dan

Last edited by danesp; 05-30-2005 at 12:35 PM.
 
Old 05-30-2005, 03:46 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Please tell us first how you installed it. Was it from RPM, source or a different method?
 
Old 05-30-2005, 05:56 PM   #3
danesp
LQ Newbie
 
Registered: Jan 2004
Location: Pennsylvania, USA
Distribution: Bodhi 4.5
Posts: 14

Original Poster
Rep: Reputation: 0
Install reply

The program was installed from source.
"python setup.py install"
The source folder contains .py files, which I guess are python scripts.

thanks
Dan
 
Old 05-30-2005, 07:45 PM   #4
Mr. New
Member
 
Registered: Oct 2004
Distribution: Kubuntu and Mac OS X
Posts: 80

Rep: Reputation: 15
did you try python setup.py uninstall
or you could look at setup.py and see where it creates files then delete them all
 
Old 05-31-2005, 12:08 AM   #5
danesp
LQ Newbie
 
Registered: Jan 2004
Location: Pennsylvania, USA
Distribution: Bodhi 4.5
Posts: 14

Original Poster
Rep: Reputation: 0
python setup.py uninstall did not work. If all else fails, I think I'll have to manually delete all the files. The setup file is very cryptic and it seems to put files in many locations. I really would like to find an automated approach. Like the RPM sceme.

thanks
Dan
 
Old 05-31-2005, 12:23 AM   #6
volvogga
Member
 
Registered: Aug 2004
Location: MI, USA
Distribution: Fedora Core 3
Posts: 137

Rep: Reputation: 15
I am by no means an expert at all of this, but on a small idea I suggest seeing if you can do a 'make uninstall' or 'make clean' (not sure if that is right, maybe someone here can back that up for me). There should be a makefile (thats the name of the file) somewhere in the subdirectory if this is at all possible. I would suggest looking this info up or waiting for someone to confirm this if you plan to try it, as I did this a while ago on some stupid little game and am not real sure about the info.

Good luck!
 
Old 05-31-2005, 11:22 PM   #7
danesp
LQ Newbie
 
Registered: Jan 2004
Location: Pennsylvania, USA
Distribution: Bodhi 4.5
Posts: 14

Original Poster
Rep: Reputation: 0
Unfortunatly, there is not make file either.
 
Old 06-01-2005, 12:46 PM   #8
volvogga
Member
 
Registered: Aug 2004
Location: MI, USA
Distribution: Fedora Core 3
Posts: 137

Rep: Reputation: 15
Sorry to be the bringer of bad news, but it looks as if you will have to uninstall the files manually. I point you to this site as proof:

http://rgruet.free.fr/ipy/

If you look down towards the bottom of the artical, you will see the installation method you described listed, and the uninstallation method that describes manually deleting the files.

On the plus side, there should be a python RPM for you to download. In fact, the rpm should be right on the fedora core 2 install disks (and probably installed by default). All you should have to do is find a mirror of your update server and download the package from there. The easiest thing to do (this works for FC3 so I'm hoping it will work on FC2) is to go to a terminal, log in as root, and try 'yum update python'. If that yeilds nothing, try 'yum install python'.

If that fails, this may also contain the nessisary files, but I'm not certian which you need, or if these are old versions or the up to date versions (these are the i386 packages, not the 64 bit core if you are running that).

http://download.fedora.redhat.com/pu...s/Fedora/RPMS/

Hope this helps some, let me know how it turns out.
 
Old 06-01-2005, 11:25 PM   #9
danesp
LQ Newbie
 
Registered: Jan 2004
Location: Pennsylvania, USA
Distribution: Bodhi 4.5
Posts: 14

Original Poster
Rep: Reputation: 0
Vol,

Thank you for the good info.
I guess I'll be manually deleting.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
installing Python 2.4 package on Suse 9.1 asilentmurmur SUSE / openSUSE 7 03-06-2005 11:35 AM
Python package fetching program datadriven Slackware 20 02-21-2005 09:55 AM
where can i find the python-devel package ? brokenflea Slackware 10 02-13-2005 08:47 AM
Uninstall package after compile? mijohnst Linux - Newbie 1 06-14-2004 08:53 PM
RH 8.0 package uninstall Sargek Linux - Software 5 01-05-2003 10:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration