1.下载压缩包 http://invisible-mirror.net/archives/lynx/tarballs/lynx2.8.8rel.2.tar.gz
2.解压:
tar xzf lynx2.8.8rel.2.tar.gz
3.配置:
cd lynx2-8-8
./configure
4. 安装:
make install
这时出现了一些错误:
LYCurses.c:1707:26:error:dereferencing pointer to incomplete type ‘TERMINAL’ {aka ‘struct term’}
saved_tty = cur_term->Nttyb;
^~
或一些类似错误
需要找到并打开这个文件加入:
//libncuses5 compatibility
#define NCURSES_INTERNALS
即可。另外安装azure cli2参考链接