Installing the binary:
Download the binary for your OS from the Fossil site.
Save it somewhere in your
C:\Windowson Windows; on Mac OS X or *nix you can
mkdir ~/bin, add it to
$PATHin your shell startup script, and save it there.
You can do both of these in one step on Ubuntu 32-bit by just running
wget http://www.fossil-scm.org/download/fossil-linux-x86-20140127173344.zip unzip fossil-linux-x86-20140127173344.zip sudo cp fossil /usr/local/bin/fossil
fossil versionfrom a terminal/command-line prompt. If all went well, Fossil should print the current version (1.28).
Installing from source:
(Building from source is recommended if your running a 64-bit Linux.)
Make sure you have the OpenSSL development libraries installed (
sudo apt-get install libssl-dev).
Download the source tarball
Extract the source (
tar -zxvf fossil-src-20140127173344.tar.gz) and
cdinto the resulting directory.
cp fossilinto a directory in your
sudo cp fossil /usr/local/bin).
As above, see if
Cloning this repository
Create/choose two directories, one to hold the repository database, and one to hold the source tree. These should be disjoint (i.e., don't store the repository in a subdirectory of the source tree). I'll call these paths
fossil clone http://firstname.lastname@example.org/csci256.pl $FOSSILS/csci256.fossil, where username is your username. You will be prompted for your password.
Change to the
fossil open $FOSSILS/csci256.fossil
Your source tree directory now contains a working copy of all the source code in the repository.
(Note that in Fossil a repository is a single file, and isn't connected to a particular source tree, as opposed to Git, where a repository is a subdirectory of the source tree, and thus source trees and repositories are one-to-one. In Fossil, you can have multiple source trees pointing to the same repository, perhaps with different trees in different states, checkouts, etc.)