|
| 1 | + |
| 2 | += git =[git] |
| 3 | + |
| 4 | +== Installation == |
| 5 | + |
| 6 | +Optional. If you want to try different branches and/or easily update the source when changes are made, install git and clone the source. For random just-want-to-see-what's-going-on-in-development builds, download a tarbal from github. |
| 7 | + |
| 8 | +=== Install git for GNU/Linux === |
| 9 | + |
| 10 | +=== install git for Windows === |
| 11 | + |
| 12 | +=== Install git for OSX === |
| 13 | + |
| 14 | +The [git http://git-scm.com/] project has a downloadable build of git. |
| 15 | +Make sure to get the package matching your processor (x86_64 most likely, only the first Intel Macs need the i386 package). |
| 16 | + |
| 17 | +Once downloaded open the disk image and run the installer. |
| 18 | + |
| 19 | +__PPC/source note__ |
| 20 | + |
| 21 | +The git site does not offer PPC builds. If you need a PPC build, or you just want |
| 22 | +a little more control over the installation, you need to compile it yourself. |
| 23 | + |
| 24 | +Download the source from http://git-scm.com/. Unzip it, and in a Terminal cd to the source folder, then: |
| 25 | + |
| 26 | +``` |
| 27 | +make prefix=/usr/local |
| 28 | +sudo make prefix=/usr/local install |
| 29 | +``` |
| 30 | + |
| 31 | +If you don't need any of the extras, Perl, Python or TclTk (GUI), you can disable them before running make with: |
| 32 | + |
| 33 | +``` |
| 34 | +export NO_PERL= |
| 35 | +export NO_TCLTK= |
| 36 | +export NO_PYTHON= |
| 37 | +``` |
| 38 | + |
| 39 | +== Get QGIS from git == |
| 40 | + |
| 41 | +You can download a development tarball (no git installation needed) from: |
| 42 | + |
| 43 | +http://github.com/qgis/Quantum-GIS |
| 44 | + |
| 45 | +This defaults to the current master, but you can select any other branch or tag as desired. |
| 46 | + |
| 47 | +Or for more long-term testing of development sources: clone the sources with git (in an appropriate location on your computer): |
| 48 | + |
| 49 | +``` |
| 50 | +git clone git://github.com/qgis/Quantum-GIS.git |
| 51 | +``` |
| 52 | + |
| 53 | +This automatically activates the master. To switch to another branch: |
| 54 | + |
| 55 | +``` |
| 56 | +git checkout [branchname] |
| 57 | +``` |
0 commit comments