Python 2.6, easy_install, mercurial のインストール(自分用メモ)
少し古いサーバに mercurial をインストールすることになった。Python は普段あまり使わないので、いつもインストールに迷って時間がかかる。メモしておこう。
http://www.python.org/download/ から Python 2.6.2 の source tar ball をダウンロードして、
$ ./confgure
$ make
$ sudo make install
http://pypi.python.org/pypi/setuptools から、2.6 用の egg ファイルをダウンロードして、
$ sudo sh setuptools-0.6c9-py2.6.egg
最後に mercurial をインストール。
$ sudo easy_install -U mercurial
バージョンを確認。
$ hg --version
Mercurial Distributed SCM (version 1.2.1)
はい、オッケー。