Shorten experiment to x
[khome.git] / deps / dotnet / install_on_ubuntu.sh
CommitLineData
2afe1394
SK
1#! /bin/sh
2
3set -e
4
eef8c618
SK
5PKG_FILE='packages-microsoft-prod.deb'
6PKG_NAME='dotnet-sdk-3.1=3.1.100-1'
2afe1394
SK
7
8mkdir -p data
eef8c618
SK
9wget https://packages.microsoft.com/config/ubuntu/18.04/"$PKG_FILE" -O data/"$PKG_FILE"
10sudo apt install ./data/"$PKG_FILE"
2afe1394
SK
11sudo apt update
12sudo apt install apt-transport-https
13sudo apt update
eef8c618
SK
14sudo apt install "$PKG_NAME"
15sudo apt-mark hold "$PKG_NAME"
This page took 0.053723 seconds and 4 git commands to generate.