Skip to content

Linux and EDD

Eahlstan edited this page Oct 31, 2023 · 23 revisions

EDD will run in Linux, with reservations.

Known issues

  • Sorting always sorts alphabetically - this is a MONO issue as the sort comparitor is not being called.
  • Moving the tabs around makes them disappear - obv a difference between windows and MONO adding/removing controls
  • No speech is available.
  • No web browers are available (SPANSH EDSM etc)
  • Some UI elements may be a little different in visual appearance.
  • Reordering tabs in main window is disabled as it does not work reliably.

Building EDD on Linux.

You need Mono, which is a c# solution for Linux.

From https://www.mono-project.com/download/stable/#download-lin-debian is instructions on how to do this for lots of different distributions. Instructions for other Linuxes are present on this page.

Ubutu 20.04 +:

sudo apt install gnupg ca-certificates
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb https://download.mono-project.com/repo/ubuntu stable-focal main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list
sudo apt update
sudo apt install mono-complete
sudo apt install nuget

Debian 10:

sudo apt update
sudo apt install apt-transport-https dirmngr gnupg ca-certificates
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb https://download.mono-project.com/repo/debian stable-buster main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list
sudo apt install mono-complete
sudo apt install nuget

Raspbian 10:

sudo apt install apt-transport-https dirmngr gnupg ca-certificates
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb https://download.mono-project.com/repo/debian stable-raspbianbuster main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list
sudo apt update
sudo apt install mono-complete
sudo apt install nuget

Check that msbuild is available. Some distributions leave it out. If not, try using apt install mono-complete msbuild.

Check out the source code using GIT. Try and use a commit associated with a release, as the master may be in development so may not work.

In general the commands are:

git clone https://github.com/EDDiscovery/EDDiscovery.git
cd EDDiscovery
git checkout <master or commit>
git submodule init
git submodule update
nuget restore
chmod +x monobuild
./monobuild
cd EDDiscovery/bin/Debug
mono --debug EDDiscovery.exe

As an example if you want to built version 16.2 the commands would be:

git clone https://github.com/EDDiscovery/EDDiscovery.git
cd EDDiscovery
git fetch origin Release_16.2
git checkout Release_16.2
git submodule init
git submodule update
nuget restore
chmod +x monobuild
./monobuild
cd EDDiscovery/bin/Debug
mono --debug EDDiscovery.exe

The release names can be seen on the left side of the releases page.

The appfolder is present under ~/.local/share/EDDiscovery

Updating to the latest master tip

cd EDDiscovery
git fetch
git checkout master
git pull
git submodule update
Clone this wiki locally