Author Topic: Tremulous on Ubuntu  (Read 8059 times)

1337 1

  • Posts: 183
  • Turrets: +1/-3
Tremulous on Ubuntu
« on: December 03, 2007, 09:33:29 am »
I've been running ubuntu Gutsy, and I'm trying to get tremulous to install, but it says:
"Could not open the file /home/daniel/Desktop/tre…s-1.1.0-installer.x86.run.
gedit has not been able to detect the character coding.
Please check that you are not trying to open a binary file.
Select a character coding from the menu and try again."

Yes, I do have video drivers installed.  But that shouldn't have any impact on the installation process.  Any idea what I'm meant to do: trem doesn't come up on the add/remove apps menu, so that's out.
Is there a seperate installer for ubuntu, or should I just be installing the standard linux file from the frontpage?
n the ongoing battle between the ground and the plane
the ground is yet to lose.

asc

  • Posts: 7
  • Turrets: +0/-0
Re: Tremulous on Ubuntu
« Reply #1 on: December 03, 2007, 10:34:05 am »
Have you enabled the extra repositories? It's in the 'multiverse'.

System->administration->synaptic package manager->settings->repositories and check the 'multiverse' box. Close the window and hit reload in synaptic. Then it should be available via search->tremulous, the add/remove programs dialog or 'apt-get install tremulous' in a terminal.

tuple

  • Posts: 833
  • Turrets: +97/-80
Re: Tremulous on Ubuntu
« Reply #2 on: December 03, 2007, 12:25:59 pm »
I would recommend that you not install through the repositories.  There are issues, like its almost impossible (or totally impossible) to update the binary after that.

Gedit should not be trying to open it, the file is a binary but I think it does not have the correct permissions.

Open a terminal,
chmod +x Desktop/tremulous-1.1.0-installer.x86.run
sudo Desktop/tremulous-1.1.0-installer.x86.run
follow the instructions.

Caveman

  • Guest
Re: Tremulous on Ubuntu
« Reply #3 on: December 03, 2007, 01:22:09 pm »
In addition to tuple's manual, please make sure you have nothing running that has the name "compiz" in it. Neither WM nor decoration.

Ryan

  • Posts: 7
  • Turrets: +6/-4
Re: Tremulous on Ubuntu
« Reply #4 on: December 03, 2007, 03:44:52 pm »
It's definitely not impossible to use the backport client on ubuntu, just replace the repository-installed executable with tjw's like any other os. I have done this, and it worked fine.

Caveman

  • Guest
Re: Tremulous on Ubuntu
« Reply #5 on: December 03, 2007, 04:55:29 pm »
*sigh*
Ryan, what makes you think that an Ubuntu-Newb that does not even know about chmod would be able to replace the executable?

Ryan

  • Posts: 7
  • Turrets: +6/-4
Re: Tremulous on Ubuntu
« Reply #6 on: December 03, 2007, 05:01:30 pm »
*sigh*
Ryan, what makes you think that an Ubuntu-Newb that does not even know about chmod would be able to replace the executable?

My post was not advising 1337 1, it was addressing tuple's claim for those interested. Should have quoted it I guess, forgive me.

its almost impossible (or totally impossible) to update the binary after that.
It's definitely not impossible to use the backport client on ubuntu
« Last Edit: December 03, 2007, 05:03:32 pm by Ryan »

1337 1

  • Posts: 183
  • Turrets: +1/-3
Re: Tremulous on Ubuntu
« Reply #7 on: December 04, 2007, 05:28:59 am »
Thanks all: it works now ^^

EDIT:
I take that back: I can't enable autodownloads, through either the console or the menu.  It claims it can't write "autoconfig.cfg" or something like that.  Any tips?
« Last Edit: December 04, 2007, 10:28:33 am by 1337 1 »
n the ongoing battle between the ground and the plane
the ground is yet to lose.

ODDity

  • Posts: 161
  • Turrets: +21/-7
Re: Tremulous on Ubuntu
« Reply #8 on: December 04, 2007, 10:39:50 am »
Yeh. Youve installed it (as per advice above) as root which is incorrect.

As such the .tremulous directory where all the configuration is stored is in /root instead of your home directory, which you have write access to as a user.

You need to reinstall the program as a normal user, simply by running the executable again without the "sudo" bit.

Just run
Code: [Select]
./tremulous-1.1.0-installer.x86.runFrom where the trem binary is

Hope that helps.


EDIT! Or.... if youre feeling funky you could probably just copy the directories from /root to your home folder and run the exec from there.

The directories you need in your home folder are which ever folder you installed tremulous in (usually ~/tremulous), and ~/.tremulous (note the "." at the beginning indicating a hidden folder)
« Last Edit: December 04, 2007, 10:57:40 am by ODDity »

1337 1

  • Posts: 183
  • Turrets: +1/-3
Re: Tremulous on Ubuntu
« Reply #9 on: December 05, 2007, 06:44:20 am »
it's not seeming that straightforward: I can't find the trem files in root or anything, and the code method claims I haven't got the permissions to write.  :-\
n the ongoing battle between the ground and the plane
the ground is yet to lose.

Caveman

  • Guest
Re: Tremulous on Ubuntu
« Reply #10 on: December 05, 2007, 07:06:05 am »
Sorry, but if you lack the basics, you either need to read the manuals or get back to windows.
We just cant take every linux-newb by the hand.

Death On Ice

  • Posts: 1287
  • Turrets: +126/-141
Re: Tremulous on Ubuntu
« Reply #11 on: December 07, 2007, 05:54:02 am »
1337 1: Your skills do not stand up for your name.

Superpie

  • Spam Killer
  • *
  • Posts: 339
  • Turrets: +105/-48
    • superpie.org
Re: Tremulous on Ubuntu
« Reply #12 on: December 07, 2007, 01:35:10 pm »
seta 1337 "0"
Where is the good in goodbye? -Meredith Willson

Death On Ice

  • Posts: 1287
  • Turrets: +126/-141
Re: Tremulous on Ubuntu
« Reply #13 on: December 09, 2007, 04:56:08 am »
Lol'd :)

tuple

  • Posts: 833
  • Turrets: +97/-80
Re: Tremulous on Ubuntu
« Reply #14 on: December 11, 2007, 12:42:14 pm »
you don't need to reinstall it as your own user.
don't use sudo before it, open a command line console, and copy/paste:

/usr/local/games/tremulous/tremulous.x86

it should also be in your "start" bar, or the foot bar, or whaterver the hell gnome calls it.  Under games.

The first time you run it, it will create the ~/.tremulous directory which holds your configs.  ~ signifying your home directory.

Make sure you are running it as the same user you logged in as, do not use sudo or su to run the game.  If all else fails, open a console and type
Code: [Select]
id && ls -l /home/and paste that here.


ODDity, installing it this way installs it into /usr/local/games/tremulous for multi-user use.  It is perfectly usable as an install method, and I have done this many, many times.  New files/additional files will be written to the users ~/.tremulous directory, the way it should be.  As we don't know if this individual has brothers/sisters who will fight over the use of the computer, and I don't care to try to revert this if that is the case ;) , it seems a prudent way to go about it.