Install mono offline on CentOS

Source: Internet
Author: User

Install mono offline on CentOS

To work, you must install the mono runtime environment on a computer that cannot be connected to the Internet. Here, I paste the deployment process on CentOS for your reference. It is also convenient for you to view it later.

Before installing mono, you must first build an offline software source, because some dependent packages need to be installed during mono installation. At the same time, the establishment of offline software sources also facilitates us to install some common programs in the future.

1. offline software source construction

Please turn left () for the construction process of the offline software source, which is detailed in this article.

2. Download the mono installation package

On the mono official website (http://download.mono-project.com/sources/mono/ download your program installation package, I download mono-3.12.1.tar.bz2, the following take this package as an example.

3. decompress the package

Copy the mono software installation package to the computer to be deployed, enter the directory in the terminal, and run the "tar-jxvf mono * tar.bz2" command to decompress the software installation package. After decompression, a folder similar to the package file name appears in the directory where the package is located.

4. Compile and install

Go to the decompressed folder and run the following commands in sequence:

./Configure -- prefix =/usr/local/mono

Make

Make install

You can install mono software. The entire compilation and installation process is about 10 to 15 minutes.

5. Path Configuration

After the program is compiled, run the "ln-s/usr/local/mono/bin/mono-sgen/usr/bin/mono" command to add the mono Startup Program to the search path of the system, restart the system or log out and log on again.

After the preceding command is complete, run the "mono" command on the terminal to check whether mono is successfully installed. If the installation is successful, the mono software prompts are displayed.

This article permanently updates the link address:

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.