install
openark kit is available in the following flavors:
- .deb package
- .rpm package
- python install package
The latter also serves as scripts source archive.
To use openark kit, you must have the python (>= 2.3) and the python-mysql module installed.
On any reasonably recent Linux distribution, python (>= 2.3) should already be installed. However, the python-mysql driver does not come installed by default on all common Linux distros. Recent RedHat, Fedora, CentOS should include it by default.
On Debian, Ubuntu and derived distros, one can install the python-mysql module with:
sudo apt-get install python-mysqldb
On RedHat, CentOS and derived distros, one can:
yum install MySQL-python
For other distros, BSD, etc, please refer to the python-mysql README file.
Installing openark kit
Using .deb package:
sudo dpkg -i openark-kit-###.deb
Using .rpm package:
sudo rpm -i openark-kit-###-1.noarch.rpm
Using python package (you must have python-distutils):
tar xzfv openark-kit-###.tar.gz cd openark-kit-### sudo python setup.py install
Using source files; extract the python package and manually copy scripts:
tar xzfv openark-kit-###.tar.gz cd openark-kit-###/scripts
Installed files
Installed files are the openark kit tools, e.g. oak-chunk-update, oak-hook-general-log. After installation these files should be on your path.