Mono on CentOS 6.3 Installation notes

Source: Internet
Author: User

# Cd/etc/yum. repos. d
# Wget http://mirrors.163.com/.help/CentOS-Base-163.repo
# Wget http://mirrors.sohu.com/help/CentOS-Base-sohu.repo

32-bit X86 operating system:
# Rpm-ivh http://mirrors.4.tuna.tsinghua.edu.cn/epel/6/i386/epel-release-6-8.noarch.rpm
64-bit X86 operating system:
# Rpm-ivh http://mirrors.4.tuna.tsinghua.edu.cn/epel/6/x86_64/epel-release-6-8.noarch.rpm

# Rpm -- import/etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6

# Yum makecache

# Yum install yum-plugin-priorities

[Base], [addons], [updates], [extras]… Priority = 1
[Centosplus], [contrib]… Priority = 2
Third-party software source: priority = n (n> 10 recommended)

[Base]
Name = CentOS-$ releasever-Base
Using list = http://mirrorlist.centos.org /? Release = $ releasever & arch = $ basearch & repo = OS
# Baseurl = http://developer.centos.org/centos/?releasever/ OS /?basearch/
Gpgcheck = 1
Gpgkey = file: // etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
Priority = 1

# Yum-y update

Gcc-c ++ bison pkgconfig glib2-devel gettext make libpng-devel libjpeg-devel libtiff-devel libexif-devel giflib-devel libX11-devel freetype-devel fontconfig-devel cairo-devel

# Rpm-qa libexif *

After a round of detection, it was found that there were indeed a few fish that missed the net, so I used yum install to install them one by one.

 

# Cd/usr/local/src
Wget http://download.mono-project.com/sources/libgdiplus/libgdiplus-2.10.tar.bz2
Tar-jxvf libgdiplus-2.10.tar.bz2
Cd libgdiplus-2.10
./Configure -- prefix =/usr
Make & make install
# Wget http://download.mono-project.com/sources/mono/mono-3.0.12.tar.bz2
# Tar-jxvf mono-3.0.12.tar.bz2
# Cd mono-3.0.12
#./Configure -- prefix =/usr
# Make & make install

 

  • Http://linux.vbird.org [traditional]
  • [Simplified] http://vbird.dic.ksu.edu.tw

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.