Skip to content

Commit

Permalink
Merge pull request dotnet#1234 from leecow/master
Browse files Browse the repository at this point in the history
update linux config commands
  • Loading branch information
leecow authored Jan 22, 2018
2 parents 1d30999 + 26192b9 commit 9f350be
Showing 1 changed file with 5 additions and 15 deletions.
20 changes: 5 additions & 15 deletions release-notes/download-archives/2.0.5-download.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,7 @@ Register the Microsoft key, the product repository for your distro and install r
#### Ubuntu 17.10

```bash
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg
curl https://packages.microsoft.com/config/ubuntu/17.10/packages-microsoft-prod.deb
curl -o packages-microsoft-prod.deb https://packages.microsoft.com/config/ubuntu/17.10/packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb
```

Expand All @@ -49,26 +47,20 @@ sudo dpkg -i packages-microsoft-prod.deb
**Note:** [Ubuntu 17.04 will reach end-of-life January 13, 2018](https://lists.ubuntu.com/archives/ubuntu-announce/2018-January.txt).

```bash
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg
curl https://packages.microsoft.com/config/ubuntu/17.04/packages-microsoft-prod.deb
curl -o packages-microsoft-prod.deb https://packages.microsoft.com/config/ubuntu/17.04/packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb
```

#### Ubuntu 16.04

```bash
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg
curl https://packages.microsoft.com/config/ubuntu/16.04/packages-microsoft-prod.deb
curl -o packages-microsoft-prod.deb https://packages.microsoft.com/config/ubuntu/16.04/packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb
```
#### Ubuntu 14.04

```bash
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg
curl https://packages.microsoft.com/config/ubuntu/16.04/packages-microsoft-prod.deb
curl -o packages-microsoft-prod.deb https://packages.microsoft.com/config/ubuntu/16.04/packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb
```

Expand All @@ -83,10 +75,9 @@ sudo apt-get install dotnet-sdk-2.1.4

Register the Microsoft key, the product repository for your distro and install required system dependencies with the following scripts.

#### Fedora, CentOS, Oracle Linux
#### Red Hat, Fedora, CentOS, Oracle Linux

```bash
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
sudo rpm -Uvh https://packages.microsoft.com/config/rhel/7/packages-microsoft-prod.rpm
```

Expand All @@ -95,7 +86,6 @@ sudo rpm -Uvh https://packages.microsoft.com/config/rhel/7/packages-microsoft-pr
SUSE Enterprise Linux

```bash
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
sudo rpm -Uvh https://packages.microsoft.com/config/sles/12/packages-microsoft-prod.rpm
```

Expand Down

0 comments on commit 9f350be

Please sign in to comment.