Voxelands Forum

The official Voxelands discussion forum

You are not logged in.

#1 2017-01-08 05:06:35

MrWeisenfeld
Member
Registered: 2017-01-08
Posts: 1

Installing so other users can play.

Hi Voxelands Forum,

Looking forward to using Voxelands in my classroom.
Need some tips for installing Voxelands on Ubuntu 16.4.1 so that non-super-user can play.
I guess that's what install packages handle for me?
Where should put my tarball, and build so that I can put voxelands in /usr/games?

Thanks in advance!
Mr. Weisenfeld
Science Teacher, Pasco High School, Pasco, WA, USA

Last edited by MrWeisenfeld (2017-01-08 05:07:23)

Offline

#2 2017-01-10 15:13:01

neoh4x0r
Member
Registered: 2016-08-26
Posts: 40

Re: Installing so other users can play.

MrWeisenfeld wrote:

Hi Voxelands Forum,

Looking forward to using Voxelands in my classroom.
Need some tips for installing Voxelands on Ubuntu 16.4.1 so that non-super-user can play.
I guess that's what install packages handle for me?
Where should put my tarball, and build so that I can put voxelands in /usr/games?

Thanks in advance!
Mr. Weisenfeld
Science Teacher, Pasco High School, Pasco, WA, USA

# this will dowload the latest tarball for 1608.01, extract the contents of the tarball, and build it to run in-place
# it will also set the install prefix to ~/.local/usr/games/voxelands (such that it can be executed directly from this directory and all files will stored here as well)

# you can also download the tarball for 1608.01 from here: http://forum.voxelands.com/viewtopic.php?id=770

$ mkdir ~/.local/usr/games/voxelands
$ mkdir ~/voxelands
$ cd ~/voxelands
$ wget -c https://gitlab.com/voxelands/voxelands/ … f=v1608.01 -O voxelands_1608.01.tar.gz
$ tar -xvzf voxelands_1608.01.tar.gz
$ cd voxelands-v1608.01-3ac3f431a26858857f6805ad33f5fe8aaa8d0765
$ cmake . -DCMAKE_BUILD_TYPE=RELEASE -DRUN_IN_PLACE=1 -DCMAKE_INSTALL_PREFIX:PATH=~/.local/usr/games/voxelands
$ make -j8

# to run directly from the build directory
$ ./bin/voxelands

# to install and run directly from the install prefix
$ sudo make install
$ ~/.local/usr/games/voxelands/voxelands

# you also might have to set the premissions on the install prefix
$ chown -Rfv $USER.$USER ~/.local/usr/games/voxelands/voxelands
$ chmod -Rfv ugo+rwx ~/.local/usr/games/voxelands/voxelands

Last edited by neoh4x0r (2017-01-11 22:07:31)

Offline

Board footer

Powered by FluxBB