How to install Mono 4 on Raspberry Pi
This article mainly introduces how to install Mono 4 on Raspberry Pi, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let Xiaobian take you to understand.
Compile the source code directly on the raspberry pie. There are official tutorials on Mono. Simply paste the code here:
Wget http://download.mono-project.com/sources/mono/mono-4.0.1.44.tar.bz2 download the official source package tar-xvf mono-4.0.1.44.tar.bz2 decompress cd mono-4.0.1 switch path. / configure-- prefix=/usr/local configuration compilation installation path make compilation make install installation
Although there are only a few lines of commands here, the intermediate process is extremely slow. It takes 8 hours for B+ compilation and installation, and 3 hours for Raspberry Pi 2.
Seeing this extremely slow process, I certainly don't want to do it again, so I really want to make them into an installation package. I can install them directly if I want to use them in the future. I don't have to go through a long compilation process and find a lot of ways. I've taken a lot of detours. A lot of detours... There are really many detours.
……
Finally, I found a relatively simple way to make an installation package, which is to use checkinstall, which is a tool that needs to be installed with apt-get in advance, so the above code needs to be modified:
Wget http://download.mono-project.com/sources/mono/mono-4.0.1.44.tar.bz2 download official source package tar-xvf mono-4.0.1.44.tar.bz2 decompress cd mono-4.0.1 switch path. / configure-- prefix=/usr/local configuration compilation installation path make compilation checkinstall make the compiled files into deb installation packages, there are some parameters to set during the production process, if you don't want to bother Just use the default value. Thank you for reading this article carefully. I hope the article "how to install Mono 4 on Raspberry Pi" shared by the editor will be helpful to you. At the same time, I also hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!