-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/usr/bin/env bash | ||
set -euxo pipefail | ||
|
||
# Microsoft's APT repository for 20.04 is same as for 22.04 | ||
#source /etc/os-release | ||
|
||
# required by apt-key | ||
apt install -y gnupg2 | ||
# required by apt-update when pulling from mono-project.com | ||
apt install -y ca-certificates | ||
|
||
# taken from http://www.mono-project.com/download/stable/#download-lin | ||
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF | ||
echo "deb https://download.mono-project.com/repo/ubuntu stable-focal main" | tee /etc/apt/sources.list.d/mono-official-stable.list | ||
apt update | ||
DEBIAN_FRONTEND=noninteractive apt install -y mono-devel fsharp | ||
mono --version |