Fs2 open on Linux/Installing Git

From FreeSpace Wiki
Jump to: navigation, search
« Preparation The fs2_open on Linux Guide
Installing Git
Installing the Development Libraries »

Note: As of FSO version 3.7.2, git has replaced subversion as the primary source code repository
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 git on it, please add that information to this section.

Git is a version control system used to manage changes to documents, such as source files. Developers use git so they can easily coordinate their code changes with those of other developers through a git repository.

Be aware that when you use a copy of fs2_open from git, you are using the most recent revision of the fs2_open code. The newest code might have new features and bug fixes, but it might also be less stable, perform worse, or might not even compile.

You will need a git client to download ("check out" in git terminology) a copy of fs2_open from the Source Code Project's github repository. The instructions for getting a client are specific to each Linux distribution.

Debian, Ubuntu, and Linux Mint users should run:

$ apt-get install git

Gentoo users should run:

$ emerge -a git

Arch Linux users should run:

$ pacman -Sy git

Fedora Core ) (and most likely Red Hat / Centos) users should run:

# yum install git

Mandriva users should run:

# urpmi git

Novell SuSE users should install git via YaST (if it is not already available after installing the build tools).

FreeBSD 10 users may already have git, but if not, should run:

$ sudo pkg install git