LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Games (https://www.linuxquestions.org/questions/linux-games-33/)
-   -   How To Completely Uninstall Quake 4? (https://www.linuxquestions.org/questions/linux-games-33/how-to-completely-uninstall-quake-4-a-628077/)

carlosinfl 03-14-2008 01:38 PM

How To Completely Uninstall Quake 4?
 
I installed Quake 4 and well, it crashes when I startup the game. It starts to load and then I get kicked back to my desktop however the resoltion is extremely low and I can only restart X to get back to a normal session of Gnome which causes me to lose all my current work on my desktop.

Does anyone know how I can uninstall Quake 4 and start again from complete scratch? I ran the installed I downloaded from the web and then copied all the files from my DVD to /usr/local/games/quake4/.

Thanks for any help!

MS3FGX 03-15-2008 10:18 AM

I assume the installer was a script you ran? Did you install as root or the normal user?

If you installed as the normal user, then everything must be under your home directory, possibly with some files hidden. If you installed as root then it could have went anywhere...

But in either event, it should just be a single directory with a hidden configuration file under /home.

carlosinfl 03-15-2008 12:20 PM

I installed as root simply because it installs the game under /usr/local/games/quake4 & I don't think regular users can write to that dir.

You're saying simply blast that directory and any hidden files?

carlosinfl 03-17-2008 08:47 AM

I did the following:

Code:

tunafish:/home/cwilliams/.quake4/q4base# rm -rf /home/cwilliams/.quake4/
tunafish:/home/cwilliams/.quake4/q4base# rm -rf /usr/local/games/quake4/

So is this correct? I want to make sure I completely remove every trace of this from my system.

bhert 03-18-2008 06:29 PM

Basically it is right but depending on how the game was installed(script,package manager,etc) and where it was installed, there might still be traces of the game somewhere else.

This is what I would do to make sure every trace of quake4 is gone.

Code:

find / -iname quake4* 2>/dev/null
-bhert

carlosinfl 03-19-2008 01:27 PM

Thanks for the info bhert. I ran that command and got the following:

Code:

tunafish:~# find / -iname quake4* 2>/dev/null
/usr/local/bin/quake4-smp
/usr/local/bin/quake4
/usr/local/bin/quake4-dedicated

Now do you simply recommend I just 'rm' those files?

MS3FGX 03-20-2008 11:06 AM

They probably aren't even files, but links to the actual binaries (which you already deleted). If you look at them with "ls" you should see they are all zero in size.

But even if they aren't links, they can be deleted as they obviously are useless now no matter what they are.

carlosinfl 03-20-2008 11:32 AM

Quote:

Originally Posted by MS3FGX (Post 3095075)
They probably aren't even files, but links to the actual binaries (which you already deleted). If you look at them with "ls" you should see they are all zero in size.

But even if they aren't links, they can be deleted as they obviously are useless now no matter what they are.

Code:

cwilliams@tunafish:/usr/local/bin$ ls -l
total 0
lrwxrwxrwx 1 root staff 31 2008-02-22 11:30 quake4 -> /usr/local/games/quake4//quake4
lrwxrwxrwx 1 root staff 41 2008-02-22 11:30 quake4-dedicated -> /usr/local/games/quake4//quake4-dedicated
lrwxrwxrwx 1 root staff 35 2008-02-22 11:30 quake4-smp -> /usr/local/games/quake4//quake4-smp

Looks like I can just manually delete them :)


All times are GMT -5. The time now is 05:58 AM.