LinuxQuestions.org
Register a domain and help support LQ
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 08-26-2003, 03:39 AM   #1
Clemente
Member
 
Registered: Aug 2003
Distribution: Debian, Ubuntu
Posts: 188

Rep: Reputation: 30
Uninstall / deleting files


Howdi,

I did a lot try'n'error to get familiar with Linux (and we are big friends now).
That means, I have installed a lot of unnecessary RPMs, did (partly malfunctionally) third party scripts and compiled some tools, not knowing what I do and even not needing that tools ;-)

I know, that RPM keeps installed files in a database, but I strongly believe, that not all RPM-packages update this database.
And programs, that I have compiled, install themselves via make install. Is there any way to make uninstall, if I deleted, what I built?

What I mean, how does someone, who knows Linux better than me, keep track of files he installs, and, perhaps, how does this guy decide what files are necessary and what files can be removed. Even when those files are installed by someone else.

Thanks a lot and thanks in advance,
Clemens von Musil
 
Old 08-26-2003, 03:43 AM   #2
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 47
Usually Installs are pretty clean and keep things in their directories in /usr. Check it out especially /usr/share.

As for removing rpms I'm sure you already know rpm -e.

For me, keeping track isn't difficult cuz I use apt-get remove --purge. I don't install much that I have to build and then I make sure it goes into /usr/local So I can easily track things down.
 
Old 08-26-2003, 04:36 AM   #3
Evilone
Member
 
Registered: Oct 2002
Location: UK
Distribution: Slack 9.1 (2.6.5)
Posts: 307

Rep: Reputation: 30
Talking

for things you comiled yourself :

go to the src dir and type in make uninstall

this will remove any installed files, and you can delete the src folder with confidence.
 
Old 08-26-2003, 11:04 AM   #4
Jongi
Senior Member
 
Registered: Aug 2003
Distribution: Debian Sid 32/64-bit, F10 32/64-bit
Posts: 1,070

Rep: Reputation: 45
Is a apt a Debian only command?
 
Old 08-26-2003, 11:11 AM   #5
matronyx
LQ Newbie
 
Registered: Aug 2003
Location: Jamaica
Distribution: rh,mandrake
Posts: 6

Rep: Reputation: 0
Quote:
Originally posted by Jongi
Is a apt a Debian only command?
It was once, but now you can get it for most any distro. Just check the apt pages for your supported distro/kernel.
 
Old 08-26-2003, 11:43 AM   #6
Clemente
Member
 
Registered: Aug 2003
Distribution: Debian, Ubuntu
Posts: 188

Original Poster
Rep: Reputation: 30
I found following page for apt and Redhat:

http://apt.42h.de/

I didn't have the time to go into the thing, but it seems to provides apt as RPMs for Redhat >= 7.2
The site is written in german, but there is not much text to read, and I saw a link to english content.

Greetz,
Clemens von Musil
 
Old 08-26-2003, 01:00 PM   #7
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
For apt for Redhat check:
www.freshrpms.net



Cool
 
  


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
Deleting files in C monil Programming 4 03-13-2005 11:33 AM
Deleting files! a_priebe47 Slackware 6 10-17-2004 10:58 PM
Deleting files ShakyJake Linux - Newbie 12 05-08-2003 04:07 PM
Deleting directories with files in them AMDPwred Linux - General 7 02-16-2003 01:06 PM
Deleting files Tingle Linux - Newbie 4 01-16-2003 05:19 PM


All times are GMT -5. The time now is 09:23 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration