Skip to content

Instantly share code, notes, and snippets.

@violetyk
Last active December 20, 2015 02:49
Show Gist options
  • Save violetyk/6059534 to your computer and use it in GitHub Desktop.
Save violetyk/6059534 to your computer and use it in GitHub Desktop.

python2と3

cd ~/src
wget http://www.python.org/ftp/python/2.7.5/Python-2.7.5.tar.bz2
tar xf Python-2.7.5.tar.bz2
cd Python-2.7.5
./configure --prefix=/usr/local/python-2.7 --enable-shared
make -j
sudo paco -D make install

wget http://www.python.org/ftp/python/3.3.1/Python-3.3.1.tar.bz2
tar xf Python-3.3.1.tar.bz2
cd Python-3.3.1
./configure --prefix=/usr/local/python-3.3 --enable-shared
make -j
sudo paco -D make install

sudo vi /etc/ld.so.conf.d/python.conf
/usr/local/python-2.7/lib/
/usr/local/python-3.3/lib/
sudo /sbin/ldconfig -v

sudo ln -sf /usr/local/python-2.7/bin/python2 /usr/bin/python2
sudo ln -s /usr/local/python-3.3/bin/python3 /usr/bin/python3

lua

yum install ncurses ncurses-devel readline-devel
wget http://www.lua.org/ftp/lua-5.2.2.tar.gz
tar xf lua-5.2.2.tar.gz
cd lua-5.2.2
make -j linux
sudo paco -D make install INSTALL_TOP=/usr/local/lua-5.2.2
sudo paco -au

vim7.4

sudo yum install mercurial
cd src
hg clone https://vim.googlecode.com/hg/ vim
cd vim
hg pull
hg update

curl -s https://raw.github.com/violetyk/scripts/master/configure_vim.sh | /bin/bash
make
sudo paco -D make install
sudo paco -au
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment