Urban Terror

Hello all,

I recently tried to install Urban Terror using YaST. It seems to have done what it was supposed to do. It created a folder in my usr/lib64 folder and installed the files there. So far so good. I would have expected it to install somewhere in my home folder, but I assume the packagers know what they are doing. Then I downloaded the files I need off the Urban Terror website and extracted them to a folder in the downloads folder. It’s named UrbanTerror. Now I’m supposed to copy them to the the urbanterror folder created in usr/lib64. How do I do this safely and easily? This has to be done as root from what I understand. I know I can copy each file using the cp command as root but with that many files it would be a lengthy process. Ark’s help file hasn’t been helpful in showing me how to extract into a folder as root. I don’t know if that can or should be done like that.

What I would like to do is copy the entire contents of a folder into another folder, and not overwrite any files in the process (which it shouldn’t do anyway). I have not found a tutorial yet that tells me how to do just this. I could use the unzip command but the output folder from the .zip file is UrbanTerror, not urbanterror which openSUSE will treat differently. I could unzip the archive to usr/lib64, copy the two files I need in urbanterror to UrbanTerror, delete the original urbanterror and then rename UrbanTerror. I assume that would work, if you can follow what I mean. I’ll do that but there has to be a better way. It’s something I could do in 5 seconds if I could use a gui. Thanks in advance.

I assume You’re using KDE. You can run dolphin or konqueror as root by issuing this command in the terminal :

kdesu konqueror
kdesu dolphin

Running Ark from that root window will also run it as root just be careful at what your doing cause You can delete or overwrite anything in that “root powered” dolphin.

Another solution is to use Midnight Commander (this works directly in the terminal). Just open your terminal, give yourself root privileges :

su -

and then run :

mc

If You ever used Total Commander or Norton Commander You should feel at home. Keep in mind that this mc will also be “root powered” allowing You to easily break anything on your system.

Best regards,
Greg

On Fri, 02 Mar 2012 05:26:02 +0000, Subsidiarity wrote:

> I would have expected it to
> install somewhere in my home folder, but I assume the packagers know
> what they are doing.

Just a note on this - RPM files never install to a user home directory -
they’re used to install system packages, which don’t belong in user home
directories.

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

Thanks a lot for the help. I can do that. I actually didn’t get the copying and renaming trick to work. I’m not sure why. There’s a lot I don’t know. It wouldn’t copy for some reason. All the best and thanks again.

In Linux there are no folders, just directories :slight_smile:

You are better off downloading Urban Terror from the Urban Terrow website. Once downloaded, extract it to your home dir and you’re done.

Linky: Urban Terror