HowTo build TaskWarrior from source without root privileges



The new version of TaskWarrior (2.2.0) supports the new field `scheduled` which is/maybe pretty handy. The short version of how to install it on a linux machine (without asking root): Follow the instructions in the file `INSTALL` from the source tarball and set the flag `DCMAKE_INSTALL_PREFIX` of `cmake` to your home directory. <span id="more-2115"></span> The long version: Grab the latest download link from <a href="http://taskwarrior.org/wiki/1/Download" title="TaskWarrior Download" target="_blank">the TaskWarrior Download page</a> and do something like ```bash cd mkdir src cd src wget "http://www.taskwarrior.org/download/task-2.2.0.tar.gz" tar xvfz task-2.2.0.tar.gz cd task-2.2.0 cmake -DCMAKE_INSTALL_PREFIX=/home/YOURHOMEDIRECTORY make make install ``` you will end up with a directory called `bin` where the executable `task` now resides. The file `/home/YOURHOMEDIRECTORY/.taskrc` can be used to configure TaskWarrior as you are used to. On a freshly installed debian you might have to do: ```bash aptitude install build-essential ``` * Update (2015-06-27): one should also include `-DCMAKE_BUILD_TYPE=release` to the call of `cmake` (see [the official instructions](http://taskwarrior.org/download/)). * Update (2016-04-03): one should also install `libgnutls28-dev` under debian now to build TaskWarrior.

Tags: -

Leave a Reply

Your email address will not be published. Required fields are marked *