我要评分
获取效率
正确性
完整性
易理解

Compilation and Installation

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Go to the installation directory of the main program.
    cd /path/to/ploticus
  3. Decompress the installation package.
    tar xvf ploticus242_src.tar.gz
    cd ploticus242/src
  4. Modify Makefile.
    sed -i "10c\CC = clang" Makefile
    sed -i "143c\INSTALLBIN = /path/to/ploticus242-install" Makefile
  5. Create an installation directory.
    mkdir -p /path/to/ploticus242-install
  6. Perform the compilation and installation.
    make
    make install