Compiling Minetest On Fedora 17

slopsbucket
Member
 
Posts: 235
Joined: Fri Oct 31, 2014 22:56

Re: Compiling Minetest On Fedora 17

by slopsbucket » Mon Aug 03, 2015 05:48

just a quick helpful tip about the older fedora's, sudo works just fine in the newer ones.

there are often permissions issues when user's programs are installed as root which is why the sudo command is so important.

To get around this in the older Fedoras you could use

su -c "whatever commands between the quotes"

su -c "yum install yumex irlicht cmake"

Etc.

This means that the user is installing with root permissions instead of root doing the install.

A bit outdated now but might be helpful to someone.

Cheers,

Andrew.
 

User avatar
Neon
Member
 
Posts: 119
Joined: Thu Aug 15, 2013 02:03
In-game: Neon

Re: Compiling Minetest On Fedora 17

by Neon » Mon Aug 03, 2015 16:31

Going with SU vs SUDO was a stylistic descision. You need root privs to perform the installation of ancilliary packages and also to move the program directory after compilation. It doesn't hurt anything (in this case) to compile as root, and it saved having to put in your password a second time.
 

User avatar
Neon
Member
 
Posts: 119
Joined: Thu Aug 15, 2013 02:03
In-game: Neon

Re: Compiling Minetest On Fedora 17

by Neon » Sat Jan 30, 2016 19:25

I've updated the above script to compile on Fedora 23. Somewhere between F20 and F23, they went from using YUM for package updating to DNF. Fun.

+ Spoiler
 

Previous

Return to Minetest General

Who is online

Users browsing this forum: No registered users and 21 guests

cron