Solved

How to remove software installed from source code , tar file ???

Posted on 2006-07-04
12
448 Views
Last Modified: 2010-04-20
Dear all;

I'd like to ask about how can i remove a software installed on redhat linux , this software installed using source code "tar" file ....


Thanks alot
0
Comment
Question by:IT-Gaza
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
12 Comments
 
LVL 24

Accepted Solution

by:
slyong earned 25 total points
ID: 17036025
try to do:

# make uninstall
0
 
LVL 22

Assisted Solution

by:pjedmond
pjedmond earned 25 total points
ID: 17036275
Unfortunately, if the above doesn't work, you need to look at the install log, or the make file and find exactly where the install process puts everything. This is not normally that easy to do (although fortunately still easier than doing a manual Windows uninstall in many cases!

http://www.cs.duke.edu/~ola/courses/programming/Makefiles/Makefiles.html

gives a short overview of how they work.

(   (()
(`-' _\
 ''  ''
0
 
LVL 14

Expert Comment

by:ppfoong
ID: 17040624

Just delete its directory and all the files inside its directory using "rm -fr" command.

0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 24

Expert Comment

by:slyong
ID: 17040631
ppfoong, that's a bit extreme isn't it.  If it is a library and installed into /usr/lib... rm -fr /usr/lib?
0
 
LVL 14

Expert Comment

by:ppfoong
ID: 17040659

Normally, software will install themselve under newly created directory inside /usr/local. Commertial software usually installed under /opt in their own directory too.

You can also look into the Makefile under install section, that when you make install, where are the files copied into, then just delete the files.

0
 

Author Comment

by:IT-Gaza
ID: 17040673
i will test these today, i hoped there is a special command for it

will be back
0
 
LVL 1

Expert Comment

by:shmukler
ID: 17042960
There is a special command (in a way) - $make uninstall  (or deinstall), however if you were installing with make (by executing $make install; the Makefike needs to have the deinstall target. Just like the install target it's something that programmer has to write manually. Some makefiles would have these and others would not.

Good luck.
0
 
LVL 5

Expert Comment

by:devrick0
ID: 17046777
Short of still having the original makefile on your system, there aren't any really good ways.  You could check on the date of the file (executable) installed on the system, that you want uninstalled.  Then run a find on the system looking for files that are the same age or that were modified in that same time frame.  From there you can try to track down all the files that were installed and in what directories.  Just be careful when it comes to removing lib files as other programs could have dependencies on those files now.  
0
 
LVL 1

Expert Comment

by:antoxa
ID: 17098742
maybe in the next time, you should configure programms with keyword --prefix=PREFIX (install architecture-independent files in PREFIX), for example --prefix=/usr/local/axel
after 'make install' all files will be installed under /usr/local/axel
and finally you could make symbol links to another directory, for example /usr/local/axel/bin/* to /usr/local/bin
this way, could help you to remove software, you must remove only /usr/local/axel and symbol links.

WBR, antoxa.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
what do I need to host my own web sites? 13 85
Linux 3 59
check the file dates in unix 14 76
Logrotate Every Saturday 5 44
In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question