Q How to install-compile multiple versions of Minetest in Ubuntu Linux

LazyJ
Member
 
Posts: 479
Joined: Wed Sep 12, 2012 12:29

Q How to install-compile multiple versions of Minetest in Ubuntu Linux

by LazyJ » Tue Sep 18, 2012 13:15

After looking through the server section of the forums it would seem that multiple versions of Minetest are required to participate on different servers.

Some servers still use Minetest version 0.3.1, others 0.4.1, and a few have adopted the more recent version (as of this writing), 0.4.3.

I've read the readme.txt file for the instructions on how to compile Minetest myself.

I'm guessing that I could make directories (folders) that correspond to the Minetest version required by the servers, ie. /mt031, /mt041, and /mt043, then download and compile the different Minetest versions in each respective directory.

What I don't understand, yet, is how to distinguish the binary "minetest" in Ubuntu Linux's /usr/bin from the other Minetest versions.

Would each compiled version overwrite the previous /usr/bin/minetest ?

Is there an option that I'm supposed to add to the "cmake" or "make" command line? (Is "command line" correct or is it refered to as a "string"?)

Thanks.

~~~~~

Edit for a little more clarification~
The version of Minetest I'm playing was installed through Synaptic using a daily build, Ubuntu/Mint repository PPA found here:
https://code.launchpad.net/~minetestdevs/+archive/daily-builds/+packages

This process split Minetest across three different directories:
/usr/share/minetest/
/usr/bin/minetest
~/.minetest/

Every Linux program I have in my computer has been installed through Synaptic. Rarely have I used the terminal. The cryptic and arcane nature of command-line commands are intimidating to us Windows converts
Last edited by LazyJ on Wed Sep 19, 2012 14:33, edited 1 time in total.
.: Minetest 0.4.14 ~ Linux Mint ~ A moka pot, a French press, a dirty coffee cup, and a spoiled-rotten kitty :.
Visit our Minetest server at: LinuxGaming2.com, port 30000
Screenshots, overview maps, and server info at: http://forum.minetest.net/viewtopic.php?f=10&t=5684
My blog: http://lazyjminetest.blogspot.com/
 

User avatar
madchicken13
Member
 
Posts: 741
Joined: Mon Jun 11, 2012 00:41

by madchicken13 » Tue Sep 18, 2012 13:21

LazyJ wrote:After looking through the server section of the forums it would seem that multiple versions of Minetest are required to participate on different servers.

Some servers still use Minetest version 0.3.1, others 0.4.1, and a few have adopted the more recent version (as of this writing), 0.4.3.

I've read the readme.txt file for the instructions on how to compile Minetest myself.

I'm guessing that I could make directories (folders) that correspond to the Minetest version required by the servers, ie. /mt031, /mt041, and /mt043, then download and compile the different Minetest versions in each respective directory.

What I don't understand, yet, is how to distinguish the binary "minetest" in Ubuntu Linux's /usr/bin from the other Minetest versions.

Would each compiled version overwrite the previous /usr/bin/minetest ?

Is there an option that I'm supposed to add to the "cmake" or "make" command line? (Is "command line" correct or is it refered to as a "string"?)

Thanks.

Here is my Video on how to compile minetest :
http://www.youtube.com/watch?v=D9U0k_1H3eQ

OR

When compiling Minetest Run these commands in order:
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 apt-get install build-essential libirrlicht-dev cmake libbz2-dev libpng12-dev libjpeg8-dev libxxf86vm-dev libogg-dev libvorbis-dev libopenal-dev libgl1-mesa-dev libsqlite3-dev cmake checkinstall

cd (Drag src folder onto terminal)

cmake . -DRUN_IN_PLACE=1

make


This will compile minetest in a run in place folder
(Open the src folder / open the bin folder / run minetest)

You can do this with all the Versions you want
There is no installing Just leave the folders on your desktop and rename them
Last edited by madchicken13 on Tue Sep 18, 2012 13:26, edited 1 time in total.
 

LazyJ
Member
 
Posts: 479
Joined: Wed Sep 12, 2012 12:29

by LazyJ » Wed Sep 19, 2012 14:30

This will compile minetest in a run in place folder
(Open the src folder / open the bin folder / run minetest)

You can do this with all the Versions you want
There is no installing Just leave the folders on your desktop and rename them


Thanks MC13. That worked out well! (I even learned a couple more things about the different versions of Minetest.)

Now I have four different versions of Minetest installed and functioning (v0.2.2, v0.3.1, v0.4.3, and whatever increment the daily-build is at).

I installed v0.2.0 just for perspective of how much Minetest has progressed.

Other tidbits of information were gleaned from this learning process. In sum, 0.3x versions of Minetest do not seem to support mods nor the ./minetest --logfile '' option. (see Calinou's post #3: http://minetest.net/forum/viewtopic.php?id=3057)

I noticed I'd left out some information in my original post that may prove useful to... or provide more clarification for... future Minetest forum searchers looking for answers to the same question. So I added an "Edit" at the end of the post.
Last edited by LazyJ on Wed Sep 19, 2012 14:32, edited 1 time in total.
.: Minetest 0.4.14 ~ Linux Mint ~ A moka pot, a French press, a dirty coffee cup, and a spoiled-rotten kitty :.
Visit our Minetest server at: LinuxGaming2.com, port 30000
Screenshots, overview maps, and server info at: http://forum.minetest.net/viewtopic.php?f=10&t=5684
My blog: http://lazyjminetest.blogspot.com/
 


Return to Minetest Servers

Who is online

Users browsing this forum: No registered users and 19 guests

cron