LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 09-09-2003, 01:10 AM   #1
ludeKing
Member
 
Registered: Jul 2003
Location: NSW. Australia
Distribution: Ubuntu, Fedora, Slackware
Posts: 181

Rep: Reputation: 30
Installing / Removing Programs


I have a few q's regarding installing and removing programs.

1. Ok, so I download a tar.gz or an rpm or a package file like that. I go about the process of untar-ing it etc and it makes a directory with a bunch of files in it, I ./configure or make install etc, to install the program......
BUT THE QUESTIONS IS: is that program now installed to someplace like /usr/local/bin or /opt/kde/bin and it is safe to delete the directory where I untarred everything?
For example a KDE addon game. I install it, and now run the game from /opt/kde/bin/ so can I now delete the temp directory where I untarred/gunzipped everything?

2. Lets say I don't like a game or program I install, how do i delete it?

3. Lets say something goes wrong in the installa nd I say 'bugger it, I'll get rid of it'.... how can i locate the files that MAY have been copied over so i can delete it all together??

Thanks,
Steve
 
Old 09-09-2003, 01:25 AM   #2
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 47
1) Yes it is safe for you to delete the installation source. However, (this is related to your question 2) if you need to uninstall the program, there might be a make uninstall option to ease this process.

2) Most apps have a make uninstall option. But for those that don't, you have to remove them manually, which can be a pain.

3) There are some solutions like checkinstall... also, you can make Slackware packages for things you install and (un)install them using pkgtools.
 
Old 09-09-2003, 01:29 AM   #3
ludeKing
Member
 
Registered: Jul 2003
Location: NSW. Australia
Distribution: Ubuntu, Fedora, Slackware
Posts: 181

Original Poster
Rep: Reputation: 30
that was my next question, is it possible to convert rpms and pretty much any files i get in a zip or whatever into a slackware package, so all i have to do is use pkgtool?

How do u use pkgtool to remove a program? have it scan for all installed progs then you select the one to delete?
 
Old 09-09-2003, 01:40 AM   #4
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 47
Converting RPMs to Slackware packages:
rpm2tgz filename.rpm

Making slackware packages from source files:
Click Here
 
  


Reply



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
Removing non-essential programs from DSL eviltama DamnSmallLinux 2 05-28-2005 08:33 PM
Getting more space without removing programs, how?? Javahulk SUSE / openSUSE 4 03-17-2005 10:40 PM
Removing boot up programs Ed_999 Slackware 3 11-07-2004 09:07 PM
Removing/Uninstalling Programs streetbmx Linux - Newbie 4 05-09-2003 01:39 PM
Removing/uninstalling programs Katrix Linux - Software 1 10-07-2001 08:15 AM

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

All times are GMT -5. The time now is 12:18 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