Install and Compile the Required Lib & Tool
Note: The following lib & tool, It can be installed in advance, otherwise it will fail to compile.
Before compiling, please make sure that shell tools are bash to prevent -e errors.
- View sh default options
# ls -l /bin/sh
- Change sh to bash
# sudo dpkg-reconfigure dash
Then choose no to solve the problem of Script Compilation -e
- Install lib
# sudo apt-get install libncurses5-dev
# sudo apt-get install lib32z1*
# sudo apt-get install lib32stdc++6*
# sudo apt-get install pkg-config
- Install tool
# sudo apt-get install openssh-server
# sudo apt-get install xz-utils
# sudo apt-get install python
# sudo apt-get install git
# sudo apt-get install make
# sudo apt-get install gcc
# sudo apt-get install g++
We are using Ubuntu 18.04, other versions of Ubuntu may have different libraries.
文档更新时间: 2021-07-26 11:24 作者:Aeeditor