Compilation and Installation
Procedure
- Use PuTTY to log in to the server as the root user.
- Go to the main program installation directory.
cd /path/to/linenoise-ng
- Decompress the installation package.
tar xvf v1.0.1.tar.gz
- Go to the directory generated after the decompression.
cd linenoise-ng-1.0.1
- Create a build directory and go to the directory.
mkdir build cd build
- Perform the compilation and installation.
cmake .. -DCMAKE_INSTALL_PREFIX=/path/to/linenoise-ng -DCMAKE_BUILD_TYPE=Release make -j make install
Parent topic: Linenoise-NG 1.0.1 Porting Guide (Kylin V10)