Docs: Updated INSTALL

This commit is contained in:
Paul Beckingham 2015-05-02 09:47:06 -04:00
parent 36e31811b0
commit 71fef9f22f

34
INSTALL
View file

@ -1,7 +1,8 @@
Installation Instructions Installation Instructions
------------------------- -------------------------
Please follow the instructions below to build task with cmake. Please follow the instructions below to build and install Taskwarrior from
source.
Pre-requisites Pre-requisites
@ -10,14 +11,15 @@ Pre-requisites
You will need the CMake build system installed in order to build taskwarrior You will need the CMake build system installed in order to build taskwarrior
from source. More information on cmake can be obtained at http://cmake.org from source. More information on cmake can be obtained at http://cmake.org
You will need a C++ compiler that supports full C++11, which includes: You will also need:
- make
You will need a C++ compiler that supports full C++11, which includes:
- gcc 4.7 (released 2012-03-23) - gcc 4.7 (released 2012-03-23)
- clang 3.3 (released 2013-01-07) - clang 3.3 (released 2013-01-07)
In addition: You will need the following libraries:
- libuuid
- uuid lib
- gnutls (optional - for syncing) - gnutls (optional - for syncing)
It is HIGHLY RECOMMENDED that you build with a library that provides uuid_* It is HIGHLY RECOMMENDED that you build with a library that provides uuid_*
@ -27,14 +29,14 @@ functions, such as libuuid.
Basic Installation Basic Installation
------------------ ------------------
Briefly, these shell commands will unpack, build and install taskwarrior: Briefly, these shell commands will unpack, build and install Taskwarrior:
$ tar xzf task-X.Y.Z.tar.gz [1] $ tar xzf task-X.Y.Z.tar.gz [1]
$ cd task-X.Y.Z [2] $ cd task-X.Y.Z [2]
$ cmake . [3] $ cmake . [3]
$ make [4] $ make [4]
$ sudo make install [5] $ sudo make install [5]
$ cd .. ; rm -r task-X.Y.Z [6] $ cd .. ; rm -r task-X.Y.Z [6]
These commands are explained below: These commands are explained below:
@ -107,14 +109,14 @@ Currently the defined languages are:
epo_RUS 7 epo_RUS 7
pol_POL 8 pol_POL 8
Uninstallation Uninstallation
-------------- --------------
To uninstall taskwarrior, you need the Makefiles, so if you deleted them in There is no uninstall option in CMake makefiles. This ia a manual process.
step 7 above, they must first be regenerated by following steps [1], [2] and
[3]. Then simply run:
$ sudo make uninstall TODO TODO TODO -- cmake doesn't include uninstall To uninstall Taskwarrior, remove the files listed in the install_manifest.txt
file that was generated when you built Taskwarrior.
Taskwarrior Build Notes Taskwarrior Build Notes