37.1.2 从源码安装Gistore
从源代码安装和运行Gistore,可以确保安装的是最新的版本,具体操作步骤如下。
(1)先用Git从Github上克隆代码库。
$git clone git://github.com/ossxp-com/gistore.git
(2)可以直接在克隆出的源码中运行Gistore。
$cd gistore
$./gistore—help
(3)也可以执行setup.py脚本,以Python软件包特有的方式安装。
$sudo python setup.py install
$which gistore
/usr/local/bin/gistore