Difference between revisions of "Fs2 open on Linux/Installing the Development Libraries"
From FreeSpace Wiki
(update Fedora rpms) |
(Change gentoo's liblua to lua, as it is now in dev-lang/lua) |
||
Line 28: | Line 28: | ||
'''Gentoo''' users should run: | '''Gentoo''' users should run: | ||
− | $ emerge -va openal libvorbis libsdl libtheora readline | + | $ emerge -va openal libvorbis libsdl libtheora readline lua |
{{Note| media-libs/openal needs the <b>"alsa"</b> USE-flag if you intend to use ALSA, and media-libs/libsdl needs the <b>"X"</b>,<b>"opengl"</b> and <b>"xv"</b> USE-flags.}} | {{Note| media-libs/openal needs the <b>"alsa"</b> USE-flag if you intend to use ALSA, and media-libs/libsdl needs the <b>"X"</b>,<b>"opengl"</b> and <b>"xv"</b> USE-flags.}} | ||
Revision as of 18:57, 6 March 2012
« Installing Subversion | The fs2_open on Linux Guide Installing the Development Libraries |
Acquiring the Code » |
Note: This step is only for those who want the bleeding-edge source code to compile on their own. You can skip this if you intend to use a provided binary executable.
Note: If your distribution is not listed below and you are familiar with how to install the needed libraries on it, please add that information to this section.
To build FS2 Open, you'll need the SDL, OpenAL, libvorbis, libtheora, readline, liblua (version 5.1.3 or higher), and OpenGL (most likely provided with your video card driver) development packages. And of course, you'll need the GNU Compiler Collection and make.
Ubuntu and Linux Mint (except for Debian Edition) users should run:
$ apt-get install libopenal-dev libogg-dev libvorbis-dev build-essential automake1.10 autoconf libsdl1.2-dev libtheora-dev libreadline6-dev libpng12-dev libjpeg62-dev liblua5.1-0-dev
Note: The build-essential package is a metapackage that installs the essential build tools.
Debian and Linux Mint Debian Edition users should run:
$ apt-get install libopenal-dev libvorbis-dev build-essential automake1.10 autoconf libsdl1.2-dev libtheora-dev libreadline6-dev libpng12-dev liblua5.1-0-dev
Note: The build-essential package is a metapackage that installs the essential build tools.
Fedora Core users (and most likely Red Hat users too) should run:
$ yum install openal-devel libvorbis-devel gcc gcc-c++ automake autoconf SDL-devel libtheora-devel readline-devel lua-devel libpng-devel libjpeg-devel
Gentoo users should run:
$ emerge -va openal libvorbis libsdl libtheora readline lua
Note: media-libs/openal needs the "alsa" USE-flag if you intend to use ALSA, and media-libs/libsdl needs the "X","opengl" and "xv" USE-flags.
Mandriva users should run:
$ urpmi libsdl-devel libopenal-devel libvorbis-devel libtheora-devel gcc gcc-c++ automake autoconf liblua-devel