Created
January 10, 2015 06:11
-
-
Save boscoworks/061740804076e8187436 to your computer and use it in GitHub Desktop.
lynx/ncursesをソースコードビルドする ref: http://qiita.com/boscoworks/items/92ba5aa792f8653c2a1d
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget http://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.9.tar.gz -P /usr/local/share/downloaded/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tar -zxvf /usr/local/share/downloaded/ncurses-5.9.tar.gz -C /usr/local/src/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
make |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo make install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo ln -s /usr/local/lib/lynx-2.8.8rel.2 /usr/local/lynx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo ln -s /usr/local/lib/lynx-2.8.8rel.2/bin/lynx /usr/local/bin/lynx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo rm -r /usr/local/share/downloaded/ncurses-5.9.tar.gz | |
sudo rm -r /usr/local/src/ncurses-5.9/ | |
sudo rm -r usr/local/lib/ncurses-5.9/ | |
sudo rm -r /usr/local/ncurses | |
sudo rm -r /usr/local/etc/ld.so.conf.d/ncurses-5.9.conf | |
sudo rm -r /etc/ld.so.conf.d/ncurses-5.9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo ldconfig |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo rm -r /usr/local/share/downloaded/lynx2.8.8rel.2.tar.gz | |
sudo rm -r /usr/local/src/lynx2-8-8/ | |
sudo rm -r usr/local/lib/lynx-2.8.8rel.2/ | |
sudo rm -r /usr/local/lynx | |
sudo rm -r /usr/local/bin/lynx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd /usr/local/src/ncurses-5.9/ | |
./configure --prefix=/usr/local/lib/ncurses-5.9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
make |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo make install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo ln -s /usr/local/lib/ncurses-5.9 /usr/local/ncurses |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "/usr/local/lib/ncurses-5.9/lib" > /usr/local/etc/ld.so.conf.d/ncurses-5.9.conf | |
sudo ln -s /usr/local/etc/ld.so.conf.d/ncurses-5.9.conf /etc/ld.so.conf.d/ncurses-5.9.conf | |
sudo ldconfig |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget http://lynx.isc.org/current/lynx2.8.8rel.2.tar.gz -P /usr/local/share/downloaded/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tar -zxvf /usr/local/share/downloaded/lynx2.8.8rel.2.tar.gz -C /usr/local/src/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd /usr/local/src/lynx2-8-8/ | |
./configure --prefix=/usr/local/lib/lynx-2.8.8rel.2 --with-curses-dir=/usr/local/lib/ncurses-5.9 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment