LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 04-10-2007, 05:27 PM   #1
vmelkon
Member
 
Registered: Feb 2007
Location: Canada
Distribution: Kubuntu 22.04
Posts: 549

Rep: Reputation: 84
Installing Doom 3


I wanted to install Doom 3 on my fresh install of Kubuntu 6.10

I opened the console

sudo -i (someone said this makes me rootbut it only makes root for the console session)
./doom3-linux-1.3.1.1304.x86.run

I installed it in my home directory. I'm a regular user, not root.
It created a Doom 3 folder
I wanted to copy the pk4 files from the CDs but I can't
The owner of the Doom 3 folders is root
I was trying to copy the files from the GUI

How to uninstall?
 
Old 04-10-2007, 05:53 PM   #2
Berto
Member
 
Registered: Sep 2003
Location: Stevenson, WA, USA
Distribution: Slackware
Posts: 232

Rep: Reputation: 30
It appears you installed Doom 3 as root into your normal user home. Simply delete the folder as root.

Never heard of "sudo -i" before, the normal way to become root is not sudo but su. If you want to run a command as root without actually changing users then sudo comes in handy and the command would be "sudo PROGRAM" in this case "sudo sh doom3-linux-1.3.1.1304.x86.run"

You could also keep the folder and just copy over the pak files as root.
 
Old 04-10-2007, 10:00 PM   #3
vmelkon
Member
 
Registered: Feb 2007
Location: Canada
Distribution: Kubuntu 22.04
Posts: 549

Original Poster
Rep: Reputation: 84
Yes, I installed as root because I think the installer needs to copy files to the usr folder.
I'm not really sure. I should have just asked how to install it instead of attempting it myself.

Anyway, this is a home desktop machine. I want all the folders to be under my control so that I can use the GUI (Konqurer)

How to delete the doom3 folder and all it's contents

"rm doom3" complains that doom3 is a folder. I remember from some Linux course that it's complicated to delete folders from the console.

"You could also keep the folder and just copy over the pak files as root"

I prefer to delete and install them as a regular user, if possible.
 
Old 04-11-2007, 01:16 PM   #4
Berto
Member
 
Registered: Sep 2003
Location: Stevenson, WA, USA
Distribution: Slackware
Posts: 232

Rep: Reputation: 30
Use the command "rm -r" to delete folders. -r stands for "recursive" which means it will delete the folder and everything in it.
 
Old 04-12-2007, 07:00 PM   #5
vmelkon
Member
 
Registered: Feb 2007
Location: Canada
Distribution: Kubuntu 22.04
Posts: 549

Original Poster
Rep: Reputation: 84
Thanks, that worked and I reinstalled into the home folder as a regular user, which worked as well.
 
Old 04-13-2007, 04:45 AM   #6
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 293Reputation: 293Reputation: 293
FYI, the correct place would be /usr/local/games. It will run fine from /home though. To install in /usr/local/games run from terminal:
sudo mkdir -p /usr/local/games/doom3/base/
or just run the doom 3 installer using sudo:
sudo sh doom3-linux-1.3.1302.x86.run
it will make the default directories for you. Then place the 1st CD in the drive and run:
sudo cp /cdrom/Setup/Data/base/*.pk4 /usr/local/games/doom3/base/
(The *.pk4 copies all the .pk4 files in one shot!)
Repeat for CDs 2 and 3 and you're done.
To uninstall just delete /usr/local/games/doom3 , and delete ~/.doom3 and it'll be like you never installed doom. Use the "sudo rm -r" command to get rid of /usr/local/games/doom3/base/. For safety, cd into /usr/local/games/ and use "sudo rm -r doom3" from there.

Last edited by tommcd; 04-13-2007 at 04:52 AM.
 
Old 04-14-2007, 01:43 AM   #7
vmelkon
Member
 
Registered: Feb 2007
Location: Canada
Distribution: Kubuntu 22.04
Posts: 549

Original Poster
Rep: Reputation: 84
Quote:
Originally Posted by tommcd
FYI, the correct place would be /usr/local/games. It will run fine from /home though. To install in /usr/local/games run from terminal:
I wish the instruction were on the ubuntu/kubuntu wiki
All the wiki says is

sh doom3....run

I think it did not say
sudo sh doom3....run

I did a small search but gave up.
When I install as root it was better because it puts a link on the start menu. Perhaps installing with sudo does the same.

Installing to /home/ didn't put a link in start menu so I created it myself.

Also, I think Ubuntu/kubuntu has better 3d performance than Suse.
I had to put Doom 3 on minimum settings on Suse and I was always updating drivers, hoping it would get solved.
With Kubuntu, using the old drivers, it's noticeably better and I have settings on medium, 1024 x 768

Some other problem was present as well. It can't switch back the display settings when I close Doom3 but loggin out and logging back into kubuntu fixes that.
 
Old 04-15-2007, 01:19 AM   #8
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 293Reputation: 293Reputation: 293
You can always try searching the ubuntu forums for stuff like this. That's where I got it. Ubuntu forums are so big that almost any question or problem has been answered many times already.
I don't mind answering someone's thread if I know the answer, but a lot of times you can find the answer (and maybe a few more answers) with a quick search on ubuntu forums.
Also, the ubuntu forums have a subforum for gaming. Check it out if have not seen it.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
installing doom legacy deathsythe210 Linux - Games 3 11-02-2004 03:51 PM
installing legacy doom? XavierP Linux - Newbie 0 04-10-2004 12:07 PM
installing legacy doom? XavierP Linux - Newbie 0 04-10-2004 12:06 PM
can someone please help me with installing Linux Doom please??? ttaylor Linux - General 5 12-25-2001 04:03 AM
Installing Doom CropA General 0 03-29-2001 07:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 12:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration