菜单
首页
关于
首页
»
STEAM
,
Centos
» Mono 安装
Mono 安装
作者:
cokll
分类:
STEAM
,
Centos
时间: 2015-09-23
评论:
暂无评论
To start, lets install Mono first. As of posting this guide, this will install Mono 3.4.0. Open /etc/yum.repo.d/mono.repoin your favorite editor. The file probably does not exist you need to create it! Add the following text to the above file: [home_tpokorra_mono] name=mono and monodevelop (CentOS_CentOS-6) type=rpm-md baseurl=http://download.opensuse.org/repositories/home:/tpokorra:/mono/CentOS_CentOS-6/ gpgcheck=1 gpgkey=http://download.opensuse.org/repositories/home:/tpokorra:/mono/CentOS_CentOS-6/repodata/repomd.xml.key enabled=1 Save the file and exit your editor. Run an update on yum first before we try to install anything via: yum update Next, lets install the needed Mono packages with: yum install mono-*opt Accept any downloads it requires and such, you should only need to say yes to 1 prompt. Next we need to register executables to the binfmt via the following command: *echo ':CLR:M::MZ::/usr/local/bin/mono:' > /proc/sys/fs/binfmt_misc/register* Next we need to adjust our PATH variable. I personally edit the .bashrc file for this. Open ~/.bashrc in your favorite editor. Near the top (above the current alias' if any) add the following line: *export PATH=/opt/mono/bin:$PATH* Mono should now be installed and working. You can type mono --version to print out the version info. Help, my map does not show up! Players just fall endlessly! This is due to missing libs. Shutdown your server and run the following command: *find / -name libMonoPosixHelper.so* This should locate the library within 1 or more directories. For example like this: *[root@root /]# find / -name libMonoPosixHelper.so /opt/mono/lib/libMonoPosixHelper.so /usr/local/src/mono-3.4.0/support/.libs/libMonoPosixHelper.so [root@root /]#* We need to add the /opt/mono/lib folder to our environment variables library path. To do that, do the following: Open ~/.bashrc in your favorite editor. Locate were we added export PATH and under that add: *export LD_LIBRARY_PATH=/opt/mono/lib:$LD_LIBRARY_PATH* Be sure to change the /opt/mono/lib to the folder that was found in your find results!
标签: none
相关文章推荐
上一篇:
htop:一款比top强悍好用的进程管理监控工具
下一篇:
使用edac工具来检测服务器内存故障.
订阅本站
(RSS)
订阅→
评论已关闭
搜素
Go
文章分类
默认分类
18
Linux
1
STEAM
3
Centos
3
最新文章
BusyBox漏洞分析及复现(CVE-2022-30065)
小鱼在家刷机
fix Samsung SSD 1Gb
Working with more than 64 CPUs in Powershell
华为24
思科 20
C++ 字符串与字符数组 详解
Windows server 2012 激活教程
英业达 24
mvn 编译配置
归档
October 2024
October 2023
January 2021
December 2020
January 2019
November 2018
September 2018
July 2018
April 2018
December 2017
May 2017
April 2017
March 2017
September 2015
July 2015
October 2014
April 2014
March 2014
热门标签
Top ↑
评论已关闭