manual linux package install inst

This commit is contained in:
Lee Coward 2019-06-11 20:30:15 -07:00
parent f6a7211c8d
commit 066a2bc494
2 changed files with 92 additions and 2 deletions

View file

@ -58,6 +58,86 @@ When .NET Core in installed using the Snap package, the default .NET Core comman
**Note:** Some distros require an additional step to enable access to the SSL certificate. If you experience SSL errors when running `dotnet restore`, see [Linux Setup](https://github.com/dotnet/core/blob/master/Documentation/linux-setup.md) for a possible resolution.
### Install using deb/rpm packages
Preview release installers are not available from the Microsoft package repositories but you can download them and install manually or, set up a local package repository. Setting up a local package repository will result in a typical package manager installation experience. Consult your distros documentation to understand this option.
A manual installatoin requires the use of your distro's package installer to install each of the files *in the order presented below.* If you attempt to install them out of order, dependency checks will not succeed and the installation will fail. Download the correct System Dependencies Installer along with the `host, hostfxr, runtime, aspnetcore-runtime and sdk` installers.
Please see the [3.0 Supported OS](https://github.com/dotnet/core/blob/master/release-notes/3.0/3.0-supported-os.md) document for specific distro version support status.
| **System Dependencies Installer** |
| :-- | :-- |
| [Centos 7][dotnet-runtime-deps-centos.7-x64.rpm] |
| [Fedora][dotnet-runtime-deps-fedora.27-x64.rpm] |
| [OpenSUSE][dotnet-runtime-deps-opensuse.42-x64.rpm] |
| [Oracle Linux 7][dotnet-runtime-deps-oraclelinux.7-x64.rpm] |
| [RHEL 7][dotnet-runtime-deps-rhel.7-x64.rpm] |
| [SLES 12][dotnet-runtime-deps-sles.12-x64.rpm] |
| [Debian-based systems][dotnet-runtime-deps-x64.deb] |
| **Component** | **Package Type** |
| :--- | :---: |
| dotnet-host | [deb][dotnet-host-x64.deb] \| [rpm][dotnet-host-x64.rpm] |
| dotnet-hostfxr | [deb][dotnet-hostfxr-x64.deb] \| [rpm][dotnet-hostfxr-x64.rpm] |
| dotnet-runtime | [deb][dotnet-runtime-x64.deb] \| [rpm][dotnet-runtime-x64.rpm] |
| aspnetcore-runtime | [deb][aspnetcore-runtime-x64.deb] \| [rpm][aspnetcore-runtime-x64.rpm] |
| dotnet-targeting-pack | [deb][dotnet-targeting-pack-x64.deb] \| [rpm][dotnet-targeting-pack-x64.rpm] |
| dotnet-apphost-targeting-pack | [deb][dotnet-apphost-pack-x64.deb] \| [rpm][dotnet-apphost-pack-x64.rpm] |
| aspnetcore-targeting-pack | [deb][aspnetcore-targeting-pack.deb] \| [rpm][aspnetcore-targeting-pack-3.0.rpm] |
| netstandard-targeting-pack | [deb][netstandard-targeting-pack-x64.deb] \| [rpm][aspnetcore-targeting-pack.rpm] |
| dotnet-sdk | [deb][dotnet-sdk-x64.deb] \| [rpm][dotnet-sdk-x64.rpm] |
After downloading the files, run you package utility to install the files in the following order.
1. dotnet-runtime-deps (System Dependencies Installer)
2. dotnet-host
3. dotnet-hostfxr
4. dotnet-runtime
5. aspnetcore-runtime
6. dotnet-targeting-pack
7. dotnet-apphost-targeting-pack
8. aspnetcore-targeting-pack
9. netstandard-targeting-pack
10. dotnet-sdk
**CentOS, Fedora, OpenSUSE, Oracle Linux, RHEL and SLES**
`sudo rpm -ivh [package name]`
**Debian and Ubuntu**
`sudo dpkg -i [package name]`
Here is a simple example script for Fedora to download and install the packages as described above.
``` bash
cd $HOME/Downloads
mkdir preview6
cd preview6
wget -c https://download.visualstudio.microsoft.com/download/pr/d0efaff6-541e-4f8c-a362-945c849cd246/69869e837e623792ff6b6d741084818f/dotnet-host-3.0.0-preview6-27804-01-x64.rpm
wget -c https://download.visualstudio.microsoft.com/download/pr/ac9944bb-aa2f-487c-985d-291fd093126b/0bc3bacb974d24c2cb84c8fc3dc65def/dotnet-hostfxr-3.0.0-preview6-27804-01-x64.rpm
wget -c https://download.visualstudio.microsoft.com/download/pr/af932328-cb68-42b9-83e5-2f891ac143e2/459f0f21f2a7db48ea782dc2d38bfd1b/dotnet-runtime-3.0.0-preview6-27804-01-x64.rpm
wget -c https://download.visualstudio.microsoft.com/download/pr/d8b7bf19-954d-4e28-9012-76004f8cb592/d2601db2e2eb3d5257255361052614a9/dotnet-runtime-deps-3.0.0-preview6-27804-01-fedora.27-x64.rpm
wget -c https://download.visualstudio.microsoft.com/download/pr/40027d60-0bac-4d74-b79c-3379409dcc2a/f0eeaf7f964173beb5984a447d812867/aspnetcore-runtime-3.0.0-preview6.19307.2-x64.rpm
wget -c https://download.visualstudio.microsoft.com/download/pr/df8882ca-8ed4-4ef2-b3a1-c8369f9badf3/4d39dc5c548b392a6a1323765da9f8a2/dotnet-sdk-3.0.100-preview6-012264-x64.rpm
wget -c https://download.visualstudio.microsoft.com/download/pr/f7d4f4ac-d088-46ac-9b30-dc3dfa96095a/ec3e597d5aec2c6ec1e155de45e19df4/dotnet-apphost-pack-3.0.0-preview6-27804-01-x64.rpm
wget -c https://download.visualstudio.microsoft.com/download/pr/a911841b-4883-4e84-b402-af28eef49b64/bd24f5ecb5d8dddcb6560be90cf38ad0/dotnet-targeting-pack-3.0.0-preview6-27804-01-x64.rpm
wget -c https://download.visualstudio.microsoft.com/download/pr/ee5edd36-b1c2-497b-a5e3-423d692490bf/b278752c7e932fcfc506c3e45b29c231/netstandard-targeting-pack-2.1.0-preview6-27804-01-x64.rpm
wget -c https://download.visualstudio.microsoft.com/download/pr/eb96c91e-1ba3-469f-b579-0cdc5a989fe0/1713ed4d7284160e3f16cf812028f9e8/aspnetcore-targeting-pack-3.0.0-preview6.19307.2.rpm
sudo rpm -ivh dotnet-runtime-deps-3.0.0-preview6-27804-01-fedora.27-x64.rpm
sudo rpm -ivh dotnet-host-3.0.0-preview6-27804-01-x64.rpm
sudo rpm -ivh dotnet-hostfxr-3.0.0-preview6-27804-01-x64.rpm
sudo rpm -ivh dotnet-runtime-3.0.0-preview6-27804-01-x64.rpm
sudo rpm -ivh aspnetcore-runtime-3.0.0-preview6.19307.2-x64.rpm
sudo rpm -ivh dotnet-apphost-pack-3.0.0-preview6-27804-01-x64.rpm
sudo rpm -ivh dotnet-targeting-pack-3.0.0-preview6-27804-01-x64.rpm
sudo rpm -ivh netstandard-targeting-pack-2.1.0-preview6-27804-01-x64.rpm
sudo rpm -ivh aspnetcore-targeting-pack-3.0.0-preview6.19307.2.rpm
sudo rpm -ivh dotnet-sdk-3.0.100-preview6-012264-x64.rpm
```
### Installation from a binary archive
Installing from the packages detailed above is recommended or you can install from binary archive, if that better suits your needs. When using binary archives to install, the contents must be extracted to a user location such as `$HOME/dotnet`, a symbolic link created for `dotnet` and a few dependencies installed. Dependency requirements can be seen in the [Linux System Prerequisites](https://github.com/dotnet/core/blob/master/Documentation/linux-prereqs.md) document.
@ -143,6 +223,15 @@ This will install the ASP.NET Core Module for IIS.
[dotnet-sdk-x64.deb]: https://download.visualstudio.microsoft.com/download/pr/923d1732-7306-4648-97a0-04ba301ce6fd/dadf7531b75e59aab5618fe8a1d80a34/dotnet-sdk-3.0.100-preview6-012264-x64.deb
[dotnet-sdk-x64.rpm]: https://download.visualstudio.microsoft.com/download/pr/df8882ca-8ed4-4ef2-b3a1-c8369f9badf3/4d39dc5c548b392a6a1323765da9f8a2/dotnet-sdk-3.0.100-preview6-012264-x64.rpm
[dotnet-apphost-pack-x64.deb]: https://download.visualstudio.microsoft.com/download/pr/895cb9d8-4e15-4dc8-b365-accf8a2bfd4f/0773c7438725e120b2e46c1cedbb327c/dotnet-apphost-pack-3.0.0-preview6-27804-01-x64.deb
[dotnet-apphost-pack-x64.rpm]: https://download.visualstudio.microsoft.com/download/pr/f7d4f4ac-d088-46ac-9b30-dc3dfa96095a/ec3e597d5aec2c6ec1e155de45e19df4/dotnet-apphost-pack-3.0.0-preview6-27804-01-x64.rpm
[dotnet-targeting-pack-x64.deb]: https://download.visualstudio.microsoft.com/download/pr/18d8db0b-62b4-4722-8c0b-c7930df193be/32f6d023dbdeeabe31275f3957128820/dotnet-targeting-pack-3.0.0-preview6-27804-01-x64.deb
[dotnet-targeting-pack-x64.rpm]: https://download.visualstudio.microsoft.com/download/pr/a911841b-4883-4e84-b402-af28eef49b64/bd24f5ecb5d8dddcb6560be90cf38ad0/dotnet-targeting-pack-3.0.0-preview6-27804-01-x64.rpm
[netstandard-targeting-pack-x64.deb]: https://download.visualstudio.microsoft.com/download/pr/4c66444a-5343-46eb-a5f0-1ff1e939289d/addf63d6a6cd1c996dac99a75fd8745a/netstandard-targeting-pack-2.1.0-preview6-27804-01-x64.deb
[netstandard-targeting-pack-x64.rpm]: https://download.visualstudio.microsoft.com/download/pr/ee5edd36-b1c2-497b-a5e3-423d692490bf/b278752c7e932fcfc506c3e45b29c231/netstandard-targeting-pack-2.1.0-preview6-27804-01-x64.rpm
[aspnetcore-targeting-pack.deb]: https://download.visualstudio.microsoft.com/download/pr/8ec9eddc-4838-4d3b-95f7-7ff1ab36943e/29bcda09d344fe0d5be844da10eb4948/aspnetcore-targeting-pack-3.0.0-preview6.19307.2.deb
[aspnetcore-targeting-pack.rpm]: https://download.visualstudio.microsoft.com/download/pr/eb96c91e-1ba3-469f-b579-0cdc5a989fe0/1713ed4d7284160e3f16cf812028f9e8/aspnetcore-targeting-pack-3.0.0-preview6.19307.2.rpm
[aspnetcore-symbols.zip]: https://download.visualstudio.microsoft.com/download/pr/675838d4-94bd-48f0-b873-db60188e9dfd/b726010bcd1c2c80a76e4a1aa231fed3/aspnetcore-3.0.0-preview6-symbols.zip
[aspnetcore-tooling-symbols.zip]: https://download.visualstudio.microsoft.com/download/pr/22af416f-8d85-4ffa-be44-ad8912f34279/49c40491bc2a93344e571c8e79cfca73/aspnetcore-tooling-3.0.0-preview6-symbols.zip
[blazor-symbols.zip]: https://download.visualstudio.microsoft.com/download/pr/aa5c443b-1375-4e22-ad4b-49ea3aeef89e/07006746268b666500860ea332cfdd93/blazor-3.0.0-preview6-symbols.zip

View file

@ -72,9 +72,10 @@ Here is list of some of the additions and updates we're excited to bring in Prev
## Lifecycle News
### Ubuntu 14.04 reached the end of standard support
* Fedora 28 reached [end of life](https://fedoramagazine.org/fedora-28-end-of-life/) May 2019.
* Ubuntu 14.04 reached the end of standard support(https://wiki.ubuntu.com/Releases) April 2019.
Ubuntu 14.04 reached the end of its [Standard Support lifecycle](https://wiki.ubuntu.com/Releases) April 2019. As described in [.NET Core OS Lifecycle Policy](https://github.com/dotnet/core/blob/master/os-lifecycle-policy.md), we will no longer test .NET Core on this version or produce updates for the OS version.
As described in [.NET Core OS Lifecycle Policy](https://github.com/dotnet/core/blob/master/os-lifecycle-policy.md), we will no longer test .NET Core or produce updates for OS versions which are out of standard support or are end of life.
### .NET Core LTS