https://trac.edgewall.org/wiki/TracInstall#MandatoryDependencies
需下列套件
- Python, version ≥ 2.5 and < 3.0 (note that we dropped the support for Python 2.4 in this release)
- setuptools, version ≥ 0.6
- Genshi, version ≥ 0.6
1.安装python
yum intall python.x86_64
2.安装setuptools软件包
可以先打开setuptools的python官网看看setuptools软件包如何安装:
> wget https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py > python ez_setup.py --user
也可以下载setuptools软件包后安装:
(1)下载setuptools包
# wget http://pypi.python.org/packages/source/s/setuptools/setuptools-2.0.tar.gz
(2)解压setuptools包
# tar zxvf setuptools-2.0.tar.gz
# cd setuptools-2.0
(3)编译setuptools
# python setup.py build
(4)开始执行setuptools安装
# python setup.py install
# wget http://pypi.python.org/packages/source/s/setuptools/setuptools-2.0.tar.gz
(2)解压setuptools包
# tar zxvf setuptools-2.0.tar.gz
# cd setuptools-2.0
(3)编译setuptools
# python setup.py build
(4)开始执行setuptools安装
# python setup.py install
3.安装Genshi软件包
(1)請下載>0.6 <0.7的版本,就是0.6.1
tar zxf Genshi-0.6.1.tar.gz
cd Genshi-0.6.1
python setup.py install
4.安装Trac
tar zxf Trac-0.12.7.tar.gz
cd Trac-0.12.7
python setup.py install
沒有留言:
張貼留言