Rate This Document
Findability
Accuracy
Completeness
Readability

Compilation and Installation

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Go to the main program installation directory.
    cd /path/to/linenoise-ng
  3. Decompress the installation package.
    tar xvf v1.0.1.tar.gz
  4. Go to the directory generated after the decompression.
    cd linenoise-ng-1.0.1
  5. Create a build directory and go to the directory.
    mkdir build
    cd build
  6. Perform the compilation and installation.
    cmake .. -DCMAKE_INSTALL_PREFIX=/path/to/linenoise-ng -DCMAKE_BUILD_TYPE=Release
    make -j
    make install