Difference between revisions of "Fs2 open on Linux/Acquiring the Code"
m (Linuxisize) |
(Add note about needing CVS, link to Installing CVS) |
||
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 CVS command, this way CVS will only update the files changed the next time you download the source and it's always nice to have things organized. | + | 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 CVS command, this way CVS 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 CVS installed on your system. See the [[Fs2_open_on_Linux/Installing CVS|Installing CVS]] chapter on installing CVS. |
Now get the source. Run from a terminal: | Now get the source. Run from a terminal: |
Revision as of 17:59, 4 September 2007
« Installing the Development Libraries | The fs2_open on Linux Guide Acquiring the Code |
Checkout Script » |
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 CVS command, this way CVS 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 CVS installed on your system. See the Installing CVS chapter on installing CVS.
Now get the source. Run from a terminal:
$ cvs -d:pserver:anonymous:[email protected]:/home/fs2source/cvsroot login
and then
$ cvs -z3 -d:pserver:[email protected]:/home/fs2source/cvsroot co fs2_open
The first cvs command tells the CVS tool to first use a password file for authentication (pserver), that you are user "anonymous" with the password "anonymous" who wants to access warpcore.org's CVS repository "/home/fs2source/cvsroot" and login. The second command tells the CVS server on which we are now connected to that we want to checkout (co) the fs2_open module.