Merge pull request #1234 from leecow/master
update linux config commands
This commit is contained in:
commit
9f350be118
1 changed files with 5 additions and 15 deletions
|
@ -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
|
||||
```
|
||||
|
||||
|
@ -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
|
||||
```
|
||||
|
||||
|
@ -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
|
||||
```
|
||||
|
||||
|
@ -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
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue