Installing CMake
Procedure
- Use PuTTY to log in to the server as the root user.
- Use the SFTP tool to upload the CMake installation package to the /path/to/CMAKE directory.
- Run the following command to decompress the CMake installation package:
cd /path/to/AUGUSTUS && tar -zxf cmake-3.8.1.tar.gz
- Run the following command to switch to the directory generated after decompression:
cd cmake-3.8.1
- Run the following command to perform configuration:
./configure --prefix=/path/to/AUGUSTUS/cmake
- Run the following commands to perform compilation and installation:
make
make install
- Run the following command to set CMake environment variables:
export PATH=/path/to/cmake/bin:$PATH
Parent topic: Configuring the Compilation Environment