installation instructions

This commit is contained in:
Ville Rantanen
2017-04-06 10:49:17 +03:00
parent 4c93185b80
commit a19a69a9ac

View File

@@ -14,13 +14,8 @@ Dependencies are best found by running the programs.
To see the help page of each tool, run the ./README script
## Installation
# Installation
1. `mkdir -p ~/lib`
2. `hg clone https://bitbucket.org/MoonQ/tools ~/lib/tools`
3. `. $HOME/lib/tools/rc`
It is best to add the last line in your ~/.bashrc
## Dependencies
@@ -28,9 +23,26 @@ Many of the tools use common unix tools. Some extra tools are required. Here are
the installation commands.
```
sudo apt-get install sqlite3 python python-magic python-pip python-gtk2 sc \
sudo apt-get install mercurial sqlite3 python python-magic python-pip python-gtk2 sc \
gnuplot wget vim rsync curl pv
pip install --use csvkit
pip install csvkit
```
## Installation in user home
1. `mkdir -p ~/lib`
2. `hg clone https://bitbucket.org/MoonQ/tools ~/lib/tools`
3. `. $HOME/lib/tools/rc`
It is best to add the last line in your ~/.bashrc
## Systemwide installation
1. `hg clone https://bitbucket.org/MoonQ/tools ~/lib/tools /usr/local/share/q-tools`
2. `echo '[ -e /usr/local/share/q-tools/rc ] && . /usr/local/share/q-tools/rc' >> /etc/profile.d/q-tools.sh`
3. `ln -s /usr/local/share/q-tools/rc /etc/cron.weekly/q-tools`
The last step ensures weekly updates