Page 1 of 1

Installing in Ubuntu Terminal

PostPosted: Mon Sep 19, 2011 22:34
by Fallen_Phillip
Since I don't know how to install from packages, I was following the directions to install Minetest in the terminal. However, once I got to the step that says "$ cd Minetest" I get the message "bash: cd: minetest: No such file or directory". This happens every single time. How do I fix this?

PostPosted: Tue Sep 20, 2011 05:26
by sfan5
You followed the instructions to compile minetest.
If you only want to install Minetest, download the stable Version from the download Page and install it with "dpkg -i file_name.deb"
If you want to compile Minetest you must first download the source.


Sfan5

PostPosted: Tue Sep 20, 2011 08:09
by dannydark
Your error message also indicates that you don't have a folder called minetest in that path ^_^ you will need to create it using mkdir, or do as Sfan5 suggested above ^_^

PostPosted: Tue Sep 20, 2011 20:18
by Fallen_Phillip
Ok. So, do I unzip the file "minetestc55_20110731-3~natty1.tar.gz"? And if I do how, specifically, do I install it? I get the message

"dpkg-deb: error: `minetestc55_20110731-3~natty1.tar.gz' is not a debian format archive
dpkg: error processing minetestc55_20110731-3~natty1.tar.gz (--install):
subprocess dpkg-deb --control returned error exit status 2
Errors were encountered while processing:
minetestc55_20110731-3~natty1.tar.gz"

and I think I'm doing it wrong. :/

PostPosted: Tue Sep 20, 2011 22:22
by dannydark
you will first need to put the archive into the folder where you want to run the game from then do the following command "tar -zxvf minetestc55_20110731-3~natty1.tar.gz" without the quotes.

That will extract the archive into the current folder, then you just need to cd into the bin directory and then do the following command "./minetest" to run the game ^_^

I'm not 100% sure where you got that package from as I play minetest on windows, but as long as its been built the usual way then what I've said above should work, if however its been built differently then the minetest file may be in another dir.

But any problems give us a shout mate.

EDIT: ok found where you got the package from, that is actually the source code that you have ^_^ you will need to download one of the builds amd64 if you have a 64-bit system or i386 if not :D then you run the command "dpkg -i file_name.deb" that Sfan5 posted.

Sorry for the confusion wasn't sure where you had got that archive from.

PostPosted: Tue Sep 20, 2011 22:41
by Fallen_Phillip
I'm trying, but this isn't wanting to work. Here's the commands I've used thus far:

"dpkg -i minetestc55_20110731-3~natty1.tar.gz.deb"
and
"dpkg -i minetestc55_20110731-3~natty1.tar.gz"

Maybe there's something I'm overlooking. I don't know. I'm stumped. >.<

PostPosted: Tue Sep 20, 2011 22:59
by dannydark
The package your trying to install is the source code archive, you need to download one of the deb files from my previous post and do that command on one of them ^_^

PostPosted: Wed Sep 21, 2011 23:01
by Fallen_Phillip
It works! :D Thanks so much for the help!

PostPosted: Thu Sep 22, 2011 09:15
by dannydark
No problem mate, glad to hear you got it working ^_^

PostPosted: Sun Oct 02, 2011 17:29
by xxGaurdingDragonsxx
Can You Guys Tell me how to Install on Ubuntu, im Completely lost on his subject, but i love this program