work needs to be installed on a computer can not be networked mono runtime environment, where I paste deployed on CentOS process for your reference, but also facilitate their future viewing.
Before installing mono, you need to build an offline source software, because mono installation process need to install the package depended on. At the same time, set up the software source also facilitate our offline after install some common procedures.
1. Offline source software to build
2. Download the installation package mono
In mono official website (http://download.mono-project.com/sources/mono/) you need to download the installation package, I downloaded the mono-3.12.1.tar.bz2, Here's to the file bag, for example.
3. Extracting package
On the computer
The mono copies of the software installation package to be deployed into the terminal in the directory, use the " tar -jxvf mono * tar.bz2 " command to extract the installation package. After extracting the package will be a file name similar to a folder in the directory where the package in.
4. Compile and install
After entering the unzipped folder by running the following command:
./ configure --prefix = / usr / local / mono
to install the software on mono. Compile and install the entire process about 10-15 minutes or so.
5. Path Configuration
After the program is compiled, run the " ln -s / usr / local / mono / bin / mono-sgen / usr / bin / mono " command adds the mono boot program to the search path system, and then reboot the system or log off re-register.
After the completion of the above command can be used in the terminal " mono " mono command to check whether the installation was successful. If successful installation will display an error message and mono software.