mono is a cross-platform ·NET runtime environment developed by Novell. It can run on multiple systems, including Linux systems. The following small series will introduce you how to compile and install mono notes on Linux servers.
a, the installation package dependencies
code is as follows:
yum install gcc bison pkgconfig glib2-devel gettext make gcc-c ++ libstdc ++ - devel libgdiplus-devel < Br>
Second, download the source code and extract the
code as follows:
#Download address at http://ftp.novell.com/pub/mono/sources/mono/
#我下载的2.10.2《/p》 "p"cd /usr/local/src
wget -c http://ftp.novell.com/pub/mono/sources /mono/mono-2.10.2.tar.bz2
tar xf mono-2.10.2.tar.bz2
cd mono-2.10.2
The installation
code is as follows:
. /configure --prefix=/usr/local/mono
make
make install
Fourth, add environment variables for users who use mono
As follows:
#Add
to this user's ~/.bash_profile export PKG_CONFIG_PATH=/usr/local/mono/lib/pkgconfig:
export PATH=/usr /local/mono/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin :/root/bin
#reload
source ~/.bash_profile
V. Test
The code is as follows:
/usr/local/mono/bin/mono-test-install
Active Mono: /usr/local/mono/bin/mono"/p" "p"Your have a working System.Drawing setup
Your file system watcher is: System.IO.InotifyWatcher
If you don't do the fourth step, you will find the following error:
The code is as follows:
/Usr/local/mono/bin/mono-test-install
Active Mono:
Warning : pkg-config could not find mono installed on this system
No dotnet pkgconfig found, Windows.Forms, System.Drawing and others will not work
The above is the compilation and installation of mono notes under Linux server The method is introduced, can you quickly compile and install the mono notes according to the above steps, is it very convenient? Give it a try.
The at command in the Linux system can be executed periodically, while the crontab command is execut
Linux when starting the sshd service, an error message, prompting Could not load host key: /etc /ssh
The oracle database is one of the most popular server databases. It can handle dist
If the Linux system crashes, the data inside will be lost. Serious damage to the database, learn how
Ubuntu install Texmaker FAQ summary
Linux using iptables for remote backup/restore
How to change the position of the close/maximize/minimize button in the Ubuntu program window
What is the use of the pwd command in Linux?
How to modify the color of the Linux system shell script output text
The most complete collection of Linux system shortcuts
Linux system how to switch the foreground process and background process
How to solve the blue screen when installing VMWare in Linux?
How do old computers install open source Linux systems?
How does the CentOS 6.6 system open the XDMCP service?
Detailed description of Win2008's powerful security features
Why is CPU resource 100% occupied? How to solve it?
What is the difference between the three versions of Windows 8
Close the trick of Win2003 data protection function
Windows 8.1 (Blue) also has fingerprint recognition function
How to install Virtual PC in Windwos7
Where is the Explorer.exe process in the Win10 system?
What is the reason for the Windows 7 system hard drive flash?
Win10 uses the shortcut command to open the application skills