Difference between revisions of "Fs2 open on Linux/Acquiring the Code"

From FreeSpace Wiki
Jump to: navigation, search
(Bypass useless CVS script page)
Line 7: Line 7:
 
{{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  
 
{{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.}}
 
executable.}}
Before you begin, make sure you have write permissions on your current working directory. $HOME/$USER is a pretty safe bet. I recommend that you create a permanent /$HOME/$USER/src directory from which you run the svn command, this way svn will only update the files changed the next time you download the source and it's always nice to have things organized. Make sure you have svn installed on your system. See the [[Fs2_open_on_Linux/Installing Subversion|Installing Subversion]] chapter on installing Subversion.
+
Before you begin, make sure you have write permissions on your current working directory. $HOME/$USER is a pretty safe bet. I recommend that you create a permanent /$HOME/$USER/src directory from which you run the svn command, this way git/svn will only update the files changed the next time you download the source and it's always nice to have things organized. Make sure you have git/svn installed on your system. See the [[Fs2_open_on_Linux/Installing Git|Installing Git]] chapter on installing Git.
  
 
Now get the source. Run from a terminal:
 
Now get the source. Run from a terminal:
  $ svn checkout svn://svn.icculus.org/fs2open/trunk/fs2_open
+
 
This will pull in in the source code from the 'HEAD' branch.
+
$ git clone https://github.com/scp-fs2open/fs2open.github.com.git
 +
 
 +
  $ svn checkout svn://svn.icculus.org/fs2open/trunk/fs2_open (deprecated)
 +
This will pull in the most recent source code from the 'master' or 'HEAD' branch.
 
<br>
 
<br>
  
 
[[Category:FreeSpace Open on Linux|Acquiring the Code]]
 
[[Category:FreeSpace Open on Linux|Acquiring the Code]]

Revision as of 23:28, 25 April 2015

« Installing the Development Libraries The fs2_open on Linux Guide
Acquiring the Code
Pre-Compile Configuration »

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.

Before you begin, make sure you have write permissions on your current working directory. $HOME/$USER is a pretty safe bet. I recommend that you create a permanent /$HOME/$USER/src directory from which you run the svn command, this way git/svn will only update the files changed the next time you download the source and it's always nice to have things organized. Make sure you have git/svn installed on your system. See the Installing Git chapter on installing Git.

Now get the source. Run from a terminal:

$ git clone https://github.com/scp-fs2open/fs2open.github.com.git
$ svn checkout svn://svn.icculus.org/fs2open/trunk/fs2_open (deprecated)

This will pull in the most recent source code from the 'master' or 'HEAD' branch.