Percol | Ubuntu 12.04 環境に percol をインストール
概要
Ubuntu 12.04 環境に percol をインストールします。
前提
- Python2.7 をインストール済み
手順
setuptools のインストール
$ sudo apt-get install python-setuptools
pip のインストール
$ sudo easy_install pip
$ pip -V
pip 1.5.6 from /usr/local/lib/python2.7/dist-packages/pip-1.5.6-py2.7.egg (python 2.7)
percorl のインストール
$ sudo pip install percol
Downloading/unpacking percol
Downloading percol-0.0.7.tar.gz
Running setup.py (path:/tmp/pip_build_root/percol/setup.py) egg_info for package percol
Installing collected packages: percol
Running setup.py install for percol
changing mode of build/scripts-2.7/percol from 644 to 755
changing mode of /usr/local/bin/percol to 755
Successfully installed percol
Cleaning up...
pip freezeでインストール内容を確認
$ pip freeze | grep percol
percol==0.0.7
percol の呼び出し確認
$ percol
__
____ ___ ______________ / /
/ __ \/ _ \/ ___/ ___/ __ \/ /
/ /_/ / __/ / / /__/ /_/ / /
/ .___/\___/_/ \___/\____/_/
/_/
0.0.7
You did not give any inputs to percol. Check following typical usages and try again.
(1) Giving a filename,
$ percol /var/log/syslog
(2) or specifying a redirection.
$ ps aux | percol