Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save michiomochi/9787015 to your computer and use it in GitHub Desktop.
Save michiomochi/9787015 to your computer and use it in GitHub Desktop.
readlineをコンパイルインストールする
検証環境: CentOS6.4 64bit
インストール先
${HOME}/local/bin
readlineソースファイル
http://ftp.gnu.org/pub/gnu/readline/readline-6.3.tar.gz
================================
手順書
================================
--------------------------------
下準備
--------------------------------
mkdir -p ~/local/src
--------------------------------
readlineインストール
--------------------------------
# readlineのコンパイル&インストール
cd ~/local/src
wget http://ftp.gnu.org/pub/gnu/readline/readline-6.3.tar.gz
tar xvf readline-6.3.tar.gz
cd ~/local/src/readline-6.3
./configure –-prefix=${HOME}/local
make
make test
make install
--------------------------------
確認
--------------------------------
ls -al ~/local/lib | grep 'readline'
# あること
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment