LoginSignup
3
3

More than 5 years have passed since last update.

centos に python 環境を作る

Last updated at Posted at 2015-02-28

CentOS6.5 にpython環境(vimとか)を作ったときのメモ

作りたい環境

  • vim : 7.4
  • python : 2.7

vagrantで立てたCentOS6.5にいろいろ入れる

上記のサイトを参考にさせてもらうと、簡単に入った。

  • vim

CentOSにVimをインストール

え?君せっかく Python のバージョン管理に pyenv 使ってるのに Vim の補完はシステムライブラリ参照してるの?

上記のサイトの一部分を変更

sudo yum install mercurial
cd /usr/local/src
sudo hg clone https://vim.googlecode.com/hg/ vim
sudo ./configure --enable-multibyte --with-features=huge --enable-cscope --enable-gui=gtk2 \
--disable-selinux --prefix=/usr/local \
--enable-xim --enable-fontset \
--enable-gpm \
--with-python-config-dir=/home/vagrant/.pyenv/shims/ \
--enable-fail-if-missing \
--enable-pythoninterp=dynamic
sudo make && sudo make install
  • zsh
sudo yum install zsh
  • wget
sudo yum install wget

思ったより何も入っていなかった。

3
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
3