Mono on CentOS 6.3 安裝筆記

來源:互聯網
上載者: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位X86作業系統:
# rpm -ivh http://mirrors.4.tuna.tsinghua.edu.cn/epel/6/i386/epel-release-6-8.noarch.rpm
64位X86作業系統:
# 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
其他第三的軟體源為:priority=n (推薦n>10)

[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
#baseurl=http://mirror.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 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*

經過一輪檢測,發現確實有幾個漏網之魚,遂使用 yum install 將其一一安裝到位。

 

# 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
  • [簡體] http://vbird.dic.ksu.edu.tw

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.