LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to uninstall a .x86.bin? (https://www.linuxquestions.org/questions/linux-software-2/how-to-uninstall-a-x86-bin-106817/)

d0nny 10-21-2003 02:46 PM

How to uninstall a .x86.bin?
 
Bleh, going to try reinstalling a program that fucked up, but need to learn how to uninstall it first.

Thanks in advance for the help

jailbait 10-21-2003 03:08 PM

" need to learn how to uninstall it first."

There are several ways to install programs and each way has its own uninstall procedure.

If you installed from a source trball then cd to the install directory and issue:
make uninstall

If you installed using rpm then use rpm -e to uninstall:
rpm -e packagename

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites

d0nny 10-21-2003 03:13 PM

I did " sh filename.x86.bin "

d0nny 10-21-2003 04:06 PM

anyone know? :(

d0nny 10-21-2003 08:49 PM

guess not :(

linksocc 10-21-2003 10:30 PM

if its like quake 3 just delete the folder were all the files reside and thats it.
Open a terminal and execute "locate quake3" if I wanted to uninstall quake 3. That way I find out that all the files are in /opt/quake3 and the executable is in /usr/bin/quake3.
after that just do an "rm -rf /opt/quake3 && rm /usr/bin/quake3" and I'm done.
If you want more specific instructions tell me what are you uninstalling and I'll try to help.

linksocc 10-21-2003 10:33 PM

forget to say that if your program "fucked up" you can always try to delete its folder in your home directory and it may get the program to work right.

d0nny 10-22-2003 12:02 AM

getting an error =/
[donny@localhost donny]$ rm /usr/local/games/enemy-territory/
rm: remove write-protected directory `/usr/local/games/enemy-territory/'? yes
rm: cannot remove directory `/usr/local/games/enemy-territory/': Is a directory
[donny@localhost donny]$

coolamit78 10-22-2003 01:45 AM

You cannot remove a directory that contains files simply with the rm command. For that you need to use the recursive option (-r) with rm.

eg...

rm -r /usr/local/games/enemy-territory/

If it contains hundreds of files, it will keep asking you for confirmation, and you will be tired pressing 'y'.

To avoid that effort, I will use

rm -rf /usr/local/games/enemy-territory/

The above command will not even ask for confirmation and delete the entire directory enemy-territory and its sub-direcotories including files in 1 go. So, use this command on your own risk as data once deleted cannot be recovered.

If you want to delete an empty directory, use the command:

rmdir <path_of_directory_to be_deleted>


Regards,

amit


All times are GMT -5. The time now is 07:52 PM.