The entire installation process of PSUADE in Linux
Linux PSUADE installation process (CentOS6.4 -- RPMforge -- cmake, ccmake -- PAUADE)
PSUADE software is required for the project ). I have never touched the Linux system before, so I have taken a lot of detours.
1. CentOS6.4 system installation
We recommend that you do not install Ubuntu, either CentOS6.4 or 32-bit or 64-bit. Installation Reference: Install CentOS 6.4 + Windows 7 on a USB flash drive (install CentOS 6.4 on Windows 7 ).
2. install third-party software (epel and rpm)
After completing the system installation, install the third-party source RPMforge. See: Install RPMforge; Enable CentOS6 yum source to support upgrading of more rpm packages (using third-party software libraries EPEL, RPMForge and RPMFusion ). During the installation process, the connection may fail due to network problems. You can run the command again.
Iii. Mount NTFS to CentOS6.4
Because the Linux system can not identify the NTFS format of Hard Disk Win7, need to use NTFS-3G to achieve mounting and read and write. Reference: CentOS6.4 mount and read NTFS partitions
Iv. Installation of gcc, g ++, and gfortran compilers in centos
Run the following commands:
Yum install gcc
Yum install gcc-c ++
Yum install gcc-gfortran
V. Install cmake (including ccmake)
There are two issues to note:
1. Do not use yum install cmake to install cmake. In this case, the version 2. 6... is installed by default. PSUADE requires cmake of version 2.8 and later. Therefore, you need to download cmake of version 2.8 and later for installation.
2. When cmake is compiled for version 2.8 or later, the ncurses library cannot be found and ccmake cannot be installed.
Solution:
The third-party source rpm has been installed. Run the following command:
Yum install cnurses
Yum install cnurses-devel
In this way, you can install the ncurses library. Note that ncurses must be installed before cmake compilation, but ccmake cannot be compiled and installed.
For cmake installation configuration, refer to CentOS configuration to install cmake.
After the installation is complete, run the command cmake ccmake to check whether the installation is successful.
6. Install PSUADE
Refer to the Manual for installation. Note that the "ccmake .." command has spaces.
After three days of hard work, we finally set up the environment and the software can be used. Here we will summarize and record the installation sequence and issues that need attention. I hope this will help you.