User manual
Installing the Software Stack
Now we are ready to download Koha, let us change to a folder where we want to
install Koha. The user koha must own this folder:
koha @1i190 -245:- # cd /home /koha
To clone the application from Koha's git server we use the
git clone command:
koha @1i190 -245: -$ git clone git:: / /git.koha- community.org /koha.git
kohaclone
Checking out a branch
Before installing Koha, we need to select the software version or branch that
we want to use. In production environments, you may want to use the stable
version. In test environments you might want to use the latest version - master.
Let us say we want to install the stable version. A quick check on
http: / /git . koha-
community . org
tells us that at the time of writing this chapter, the correct name of
the stable branch is v3.00.06.
To use Git, we need to be in the
kohaclone folder:
koha@ 11190- 245: /home /koha # cd kohaclone
To switch to this branch, we use the
git checkout
command:
koha @1i190 -245:- /kohaclone$ git checkout -b koha - stable v3.00.06
Preparing a list of installation packages
Preparing a list of installation packages can be a challenge depending on which
distribution you are on. At the time of writing, package lists are available for Debian
and Ubuntu only. We cannot use the same packages on other distributions
- some
packages may be named differently, and others may not be available at all. Also
some packages that Koha requires may be available on your distribution and not on
Debian and Ubuntu.
[12]