安装gc
cd /root
wget http://www.hboehm.info/gc/gc_source/gc-7.0.tar.gz
tar xvzf gc-7.0.tar.gz
cd gc-7.0
./configure
make
make install
ln -s /root/gc-7.0/.libs/libgc.so.1.0.3 /lib/libgc.so.1
安装w3m
wget https://nchc.dl.sourceforge.net/project/w3m/w3m/w3m-0.5.3/w3m-0.5.3.tar.gz
tar xvzf w3m-0.5.3.tar.gz
cd w3m-0.5.3
./configure
make
make install
验证
# w3m www.baidu.com