promblem compiling on ubuntu 12.04

Post Reply
331dr311
New member
Posts: 1
Joined: Thu Oct 31, 2013 01:31

promblem compiling on ubuntu 12.04

by 331dr311 » Post

i am trying to compile minetest on ubuntu 12.04. when i type cd minetest-minetest-286edd4 into the terminal i get, -bash: cd: minetest-minetest-286edd4: No such file or directory. pls help!

thank you so much, in advance.

tinoesroho
Member
Posts: 570
Joined: Fri Feb 17, 2012 21:55
Location: Canada

by tinoesroho » Post

:-/

It's

Code: Select all

 cd ~/minetest-minetest-286edd4/
I'm assuming you don't have a desktop environment, otherwise you would have just dropped the folder into the terminal. ;-)
We are what we create.

I tinker and occasionally make (lousy) mods. Currently building an MMO subgame and updating mods. Pirate Party of Canada member. Sporadic author. 21 years old.

My github:
https://github.com/tinoesroho/

User avatar
Evergreen
Member
Posts: 2135
Joined: Sun Jan 06, 2013 01:22
GitHub: 4Evergreen4
IRC: EvergreenTree
In-game: Evergreen
Location: A forest in the midwest
Contact:

by Evergreen » Post

331dr311 wrote:i am trying to compile minetest on ubuntu 12.04. when i type cd minetest-minetest-286edd4 into the terminal i get, -bash: cd: minetest-minetest-286edd4: No such file or directory. pls help!

thank you so much, in advance.
Sorry, but this isn't a bug in minetest, you just typed in the command wrong. Learn how to use the terminal first, then come back here if you find any bugs.
Back from the dead!

User avatar
Topywo
Member
Posts: 1721
Joined: Fri May 18, 2012 20:27

by Topywo » Post

Don't type, use copy and paste. It prevents you from making annoying typing errors. But actually not this one line!

The example says: cd minetest-minetest-286edd4 (or similar)

Why 'or similar'? Because each new minetest version on GithHub has a different number combination.


So
- type in your terminal: cd (with a space behind it)
- then go to your filemanager
- look for the latest created folder with a name like this /home/331dr311/minetest-minetest-382357d
- right click it, choose rename, normally the whole name is 'selected' so you only need to copy it. Choose cancel after copying the name.
- paste the name behind cd like this:
cd minetest-minetest-382357d


P.s. the latest minetest name is at the moment "minetest-minetest-382357d"

User avatar
Menche
Member
Posts: 1001
Joined: Sat Jul 02, 2011 00:43
IRC: Menchers
In-game: Menche
Location: An island in a lava lake.

by Menche » Post

A better way would be to begin typing minetest, then press TAB. That will autocomplete the name. TAB is your friend whenever there's a long filename you don't want to type out.
An innocent kitten dies every time you top-post.

User avatar
shadowwraith
Member
Posts: 63
Joined: Fri Feb 15, 2013 23:27
Location: Scotland

by shadowwraith » Post

Why compile, when you can get the latest from the ubuntu daily-builds

copy and paste the following into a terminal

Code: Select all

 sudo apt-add-repository "deb http://ppa.launchpad.net/minetestdevs/daily-builds/ubuntu precise main" 


(if you go to upgrade to 12.10, 13.04 or 13.10 replace precise with either quantal for 12.10, raring for 13.04 or saucy for 13.10)

after you have added the repository

type

Code: Select all

 sudo apt-get update 
then finally

Code: Select all

 sudo apt-get install minetestc55 
Last edited by shadowwraith on Fri Nov 01, 2013 13:39, edited 1 time in total.
"Spill some blood for me dear Brother" Vicente Valtiare, Oblivion

Currently using Minetest 0.4.7 Ubuntu Daily Build on Ubuntustudio 13.10 Saucy Salamander 64bit (based on Ubuntu 13:10)
Trolls will be shot on sight!!!

Post Reply

Who is online

Users browsing this forum: No registered users and 11 guests