Page 1 of 1

Install In Linux

PostPosted: Tue May 28, 2013 23:44
by popol89
So yes I am new to linux, Yes I am propably stupid but please help me to install minetest (the last version please) in linux because I don't understand how to proceed. :)

PostPosted: Wed May 29, 2013 00:15
by PilzAdam
What distro do you use?

PostPosted: Wed May 29, 2013 00:17
by popol89
PilzAdam wrote:What distro do you use?


Actually I use Xubuntu (is that a distro? xD)

PostPosted: Wed May 29, 2013 00:24
by PilzAdam
popol89 wrote:
PilzAdam wrote:What distro do you use?


Actually I use Xubuntu (is that a distro? xD)

Yes it is.
So, Minetest 0.3.1 is in the official *buntu repos, but its quite old old and I dont think you want this.
To get the latest unstable/nightly build you have to to add the ppa (personal package archive). To do this type these commands into a terminal (if you dont know how to use a terminal then read in the ubuntu wiki or somewhere else) (Note that the "$" is not part of the command):
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
$ sudo add-apt-repository ppa:minetestdevs/daily-builds
$ sudo apt-get update
$ sudo apt-get install minetestc55

Thats all. The ppa of the latest stable release is: ppa:minetestdevs/stable

PostPosted: Wed May 29, 2013 00:33
by popol89
PilzAdam wrote:
popol89 wrote:
PilzAdam wrote:What distro do you use?


Actually I use Xubuntu (is that a distro? xD)

Yes it is.
So, Minetest 0.3.1 is in the official *buntu repos, but its quite old old and I dont think you want this.
To get the latest unstable/nightly build you have to to add the ppa (personal package archive). To do this type these commands into a terminal (if you dont know how to use a terminal then read in the ubuntu wiki or somewhere else) (Note that the "$" is not part of the command):
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
$ sudo add-apt-repository ppa:minetestdevs/daily-builds
$ sudo apt-get update
$ sudo apt-get install minetestc55

Thats all. The ppa of the latest stable release is: ppa:minetestdevs/stable


New problem. They talk about ''verrou'' (I got xubuntu in french --')

PostPosted: Wed May 29, 2013 06:22
by vv221
Post here the whole error message (even in French) so we can help you better ;)

PostPosted: Wed May 29, 2013 07:46
by qznc
popol89 wrote:New problem. They talk about ''verrou'' (I got xubuntu in french --')


If you put "LANG=C " (without quotes) before the command, it should print in english.

PostPosted: Wed May 29, 2013 11:06
by PilzAdam
qznc wrote:
popol89 wrote:New problem. They talk about ''verrou'' (I got xubuntu in french --')


If you put "LANG=C " (without quotes) before the command, it should print in english.

So it looks like this:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
$ LANG=C sudo add-apt-repository ppa:minetestdevs/daily-builds

PostPosted: Wed May 29, 2013 20:47
by popol89
I got This

Unpacking minetestc55 (from .../minetestc55_201305280251-0~2060~quantal1_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/minetestc55_201305280251-0~2060~quantal1_i386.deb (--unpack):
trying to overwrite '/usr/share/doc/minetest/minetest.conf.example.gz', which is also in package minetest-common 0.3.1+dfsg-4
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for menu ...
Errors were encountered while processing:
/var/cache/apt/archives/minetestc55_201305280251-0~2060~quantal1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

PostPosted: Wed May 29, 2013 21:18
by Topywo
Maybe it's easier for you to install/compile minetest yourself (my favorite way to get minetest):

https://github.com/minetest/minetest

Scroll down and follow (copy paste) the instructions under:

Compiling on GNU/Linux:
------------------------------------

The drun in place = 1 will make it non-system wide. Whenever you want a later version, using those instructions compiles the newer version next to your older version (not overwriting stuff). I guess other users will need to compile minetest themself in their homefolder or know your password)

Looks a bit difficult first 2, 3 times but you'll get used to it.

Hints:
- When installing the libraries, first type sudo before you copy the line
- open your filemanager, to see appear the right version of minetest you'll need to 'cd' to (rename, copy, exit without renaming and paste in your terminal)
- after make -j2 you can start minetest with 'bin' in your minetest folder.

PostPosted: Wed May 29, 2013 21:38
by PilzAdam
popol89 wrote:I got This

Unpacking minetestc55 (from .../minetestc55_201305280251-0~2060~quantal1_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/minetestc55_201305280251-0~2060~quantal1_i386.deb (--unpack):
trying to overwrite '/usr/share/doc/minetest/minetest.conf.example.gz', which is also in package minetest-common 0.3.1+dfsg-4
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for menu ...
Errors were encountered while processing:
/var/cache/apt/archives/minetestc55_201305280251-0~2060~quantal1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

You cant install the minetest version from the official ubuntu repos and the ppa at the same time.
I also recommend to compile it yourself.

PostPosted: Wed Jun 05, 2013 19:59
by Dan Duncombe
I had no idea how to get it, but this worked fine for me! Good job PilzAdam!