Skip to content

Instantly share code, notes, and snippets.

@raimon49
Created March 14, 2013 17:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save raimon49/5163138 to your computer and use it in GitHub Desktop.
Save raimon49/5163138 to your computer and use it in GitHub Desktop.
XREAにMercurialを入れる。
# Pythonのインストール
$ wget 'http://www.python.org/ftp/python/2.7.3/Python-2.7.3.tar.bz2'
$ tar jxf Python-2.7.3.tar.bz2
$ cd Python-2.7.3
$ ./configure --prefix=$HOME/local
$ make
$ make install
# distribute + pipのインストール
$ wget 'http://python-distribute.org/distribute_setup.py'
$ python distribute_setup.py
$ easy_install pip
# Mercurialのインストール
$ pip install Mercurial
$ pip list
distribute (0.6.35)
mercurial (2.5.2)
wsgiref (0.1.2)
# お疲れ様でした
$ hg --version
Mercurial Distributed SCM (version 2.5.2)
(see http://mercurial.selenic.com for more information)
Copyright (C) 2005-2012 Matt Mackall and others
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment