LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Uninstall / deleting files (https://www.linuxquestions.org/questions/linux-newbie-8/uninstall-deleting-files-85779/)

Clemente 08-26-2003 02:39 AM

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

leonscape 08-26-2003 02:43 AM

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.

Evilone 08-26-2003 03:36 AM

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.

Jongi 08-26-2003 10:04 AM

Is a apt a Debian only command?

matronyx 08-26-2003 10:11 AM

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.

Clemente 08-26-2003 10:43 AM

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

MasterC 08-26-2003 12:00 PM

For apt for Redhat check:
www.freshrpms.net

:)

Cool


All times are GMT -5. The time now is 03:05 PM.