Fs2 open on Linux/Acquiring the Code

From FreeSpace Wiki
Revision as of 21:24, 3 September 2007 by Ni1s (talk | contribs) (So this man walks in to a bar right...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
« Installing the Development Libraries Fs2 open on Linux
Acquiring the Code
Checkout Script »


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. Your /home/user/ directory is a pretty sure 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.

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.