Update README.md file with commandline linux build instructions.

This commit is contained in:
Tim Young 2017-06-30 15:53:00 -05:00
parent a2bebb6eb0
commit 66db081eab

View File

@ -14,7 +14,36 @@ EduNetworkBuilder is a Visual Studio program. You should be able to download th
edition of Visual Studio, open the project file, and make the project. You should also be able to edition of Visual Studio, open the project file, and make the project. You should also be able to
download pre-compiled versions from: http://tyounglightsys.ddns.info/EduNetworkBuilder download pre-compiled versions from: http://tyounglightsys.ddns.info/EduNetworkBuilder
*** Building on Linux *** *** Building on Linux with Mono and XBuild ***
This should be the simplest way to install EduNetworkBuilder on Linux. You will need to install git, Mono and XBuild.
On Mint or ubuntu, you can do this by running:
$ sudo apt-get install mono-complete mono-xbuild git
On Centos, you need the epel repository
# yum install epel-release
# yum install mono-complete mono-devel
# yum install git
After this, you should be ready to download and compile. Determine where you want to build your source,
cd to that directory, and run:
$ git clone https://git.solidcharity.com/timy/EduNetworkBuilder
$ cd EduNetworkBuilder
$ xbuild
After this, you should see a lot of build messages. In the end, you should be able to find the executable
at: EduNetworkBuilder/bin/Debug/EduNetworkBuilder.exe Copy this file wherever you want. For example:
$ sudo cp EduNetworkBuilder/bin/Debug/EduNetworkBuilder.exe /usr/local/bin/
And then you can run it by simply typing:
$ EduNetworkBuilder.exe
*** Building on Linux With MonoDevelop ***
EduNetworkBuilder should compile on Linux using MonoDevelop with one small change to the code. EduNetworkBuilder should compile on Linux using MonoDevelop with one small change to the code.
EduNetworkBuilder on Windows uses the Microsoft deployment mechanism, which cannot build on Linux. EduNetworkBuilder on Windows uses the Microsoft deployment mechanism, which cannot build on Linux.