Under the unix sys, when you are unroot account, you cannot directly install camke or other softwares in root directory. This is a tutorial about how to install them in your directory.
All Starting with Trinity installation
- After I used wget to download
trinityand installed it, it reported that I neededcmakeversion higher than 3. Thecmakein server is too old so I needed to re-install it. Create new directory:
1 | |
Download cmake latest version:
1 | |
Unzip the file:
1 | |
Start installation:
1 | |
- Configure the
bashrcfile. It’s a very important step!
1 | |
Write the code into the file:
1 | |
Source it:
1 | |
Check the version:
1 | |
Done!