Visit Our UNIX and Linux User Community


Uninstall an Application with Command Line


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Uninstall an Application with Command Line
# 1  
Old 08-27-2009
Uninstall an Application with Command Line

Hello everyone, I am new to UNIX and computers in general. However I recently started using the command line, and I have to say that it's a blast. It's so much fun to learn all these things, and it's quite handy too.

I'm running Mac OS 10.5.8 and I want to uninstall an application that I downloaded from the internet, compiled from source, and installed. I don't know how, and no one on other forums seems to know. This seems like it would be straight forward, but I don't think it is.

Thank You!
# 2  
Old 08-27-2009
if you downloaded source an compiled it, you have used this commands:

Code:
configure
make
make install

?

some sources also have the target "uninstall" so you can run

Code:
make uninstall

from the source directory. note that you need the source to do that! if there isn't "uninstall" as target, there is NO command to delete the files. this requires a package management tool. other unix/linux systems use tools like "apt, emerge or pkgadd".
# 3  
Old 08-27-2009
Quote:
Originally Posted by DukeNuke2
if you downloaded source an compiled it, you have used this commands:

Code:
configure
make
make install

?
Right, that's what I did.
Quote:
Originally Posted by DukeNuke2
some sources also have the target "uninstall" so you can run

Code:
make uninstall

from the source directory. note that you need the source to do that! if there isn't "uninstall" as target, there is NO command to delete the files. this requires a package management tool. other unix/linux systems use tools like "apt, emerge or pkgadd".
So there is probably no way using Mac OS to uninstall it in other words, without the source. Okay haha, well you answered my question at least lol.
# 4  
Old 08-27-2009
you can always remove all the files using the "rm" command, but you need to find all files and then delete them manually...
# 5  
Old 08-27-2009
Quote:
Originally Posted by DukeNuke2
you can always remove all the files using the "rm" command, but yo need to find all files and then delete them manually...
Right, which might be more trouble than it's worth lol.

Can you direct me (I'm sorry I'm sure you all get this a bunch) to a good website where I can learn more about the command line? I learned from The Linux Information Project (LINFO) Home Page , which served me greatly, but I think I've learned most of what I need to know off of that site lol.
# 6  
Old 08-27-2009
yes, HERE is a good place to learn more... check out the rest of our forum.

good luck,
DN2
 

Previous Thread | Next Thread
Test Your Knowledge in Computers #474
Difficulty: Easy
Binary numbers are expressed in terms of a power of 2 instead of a power of 10.
True or False?

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to execute application command in shell script?

friends, i have application commands to execute in shell script it is something like this. i will login with user data it takes me to $ prompt. Example given below login: data ps : xxxx $ MNSinput --this takes me to greater than prompt > > ops --this is command i enter this output... (7 Replies)
Discussion started by: udaykrishna
7 Replies

2. Windows & DOS: Issues & Discussions

How can I start a cygwin application from windows 7 command prompt?

I have compiled an application called tmesh.exe, that was compiled for the cygwin, win7 platform. I wonder, if I do that outside X window, Is there a chance that I can run it on the command prompt of windows 7? (tmesh:4048): Gtk-WARNING **: cannot open display: THANKS Jack (3 Replies)
Discussion started by: lucky7456969
3 Replies

3. Shell Programming and Scripting

sed command to replace a line at a specific line number with some other line

my requirement is, consider a file output cat output blah sdjfhjkd jsdfhjksdh sdfs 23423 sdfsdf sdf"sdfsdf"sdfsdf"""""dsf hellow there this doesnt look good et cetc etc etcetera i want to replace a line of line number 4 ("this doesnt look good") with some other line ... (3 Replies)
Discussion started by: vivek d r
3 Replies

4. UNIX and Linux Applications

The ps command - process showing up even after application is shut down

Hi all, I'm very new to unix, I'm developing an application in Java, part of which requires me to check if a certain application is still running. In windows, I just use tasklist - if the application has been shut down it won't appear in the task list. I've been trying to use the ps command to... (0 Replies)
Discussion started by: ekatmcg
0 Replies

5. Shell Programming and Scripting

command to get application name

If typing lsof -i :80 , I get the name as *:http (LISTEN) and some othr like this. what command is to get the exact application name like mozzilla firefox or lotus notes or like that (2 Replies)
Discussion started by: satheeshkr_cse
2 Replies

6. Shell Programming and Scripting

command to know the application running of the port

Hi, is there any command to findout that which application is using the particular port. or whether any port is occupied with the specfic process id ? (4 Replies)
Discussion started by: mail2sant
4 Replies

7. Programming

cd command in shell application

Hola. I'm making an application that manages and executes commands unix shell does. The program can execute single commands except the cd. The commands are executed with execvp and it seems that the problem must be with this function and the current working directory. Could someone help... (1 Reply)
Discussion started by: GagleKas
1 Replies

8. Shell Programming and Scripting

Kill remote application launched via SSH command

Hi All I launch some application in a remote machine using ssh EXAMPLE ssh -X myname@mycompany@RemoteServerIp 'myApplicationName' When I want to kill the application I hit CTRL+C and I see a message 'Killed by signal 2'. Unfortunately on the remote machine the application is not really... (1 Reply)
Discussion started by: manustone
1 Replies

9. Solaris

Perl - How to uninstall? Will pkgrm uninstall all versions?

Hello, I'm working on a Solaris 9/Sparc machine and it has the Solaris 10 version of Perl (5.8.8) installed on it, which always requires all kinds of library files that Solaris 9 doesn't come with. I think the best way to do is to uninstall this wrong version and install the correct Solaris 9... (1 Reply)
Discussion started by: alanlh
1 Replies

10. UNIX for Dummies Questions & Answers

uninstall command

I am trying to uninstall some software from a system running Compaq Tru64 UNIX v4.0e (was Digital UNIX). I can't find the correct "uninstall" command. I've tried uninstall, pkgrm, removepkg unsuccessfully. Does anyone know the command? Specifically, I had a problem with the installation of the... (3 Replies)
Discussion started by: bscottiii
3 Replies

Featured Tech Videos