Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
97 commits
Select commit Hold shift + click to select a range
760ffd4
testing of zone
Thraka Oct 4, 2019
b427124
Try moving around zone
Thraka Oct 4, 2019
16708dc
continue to move it around
Thraka Oct 4, 2019
e6e234b
fix zone
Thraka Oct 4, 2019
e8710e4
More testing with real pivots
Thraka Oct 4, 2019
99089b4
minor tweaks; temp
Thraka Oct 16, 2019
c58800f
Merge branch 'master' of github.com:dotnet/docs into adegeo-test-pivots
Thraka Oct 16, 2019
f076c15
Adding more windows info
Thraka Oct 16, 2019
5fb9b36
More updates
Thraka Oct 17, 2019
a94063d
temp
Thraka Oct 18, 2019
b4324c6
Updated with screenshots;automation;instructions
Thraka Oct 18, 2019
28052cd
Fix mdlint;fix screenshot
Thraka Oct 18, 2019
e11091e
minor fixes;trimmed macos area
Thraka Oct 18, 2019
7ce9aa2
acro score fixes
Thraka Oct 18, 2019
8ce9084
Add linux libs
Thraka Oct 18, 2019
7918fd7
minor changes
Thraka Oct 22, 2019
e906a6c
Merge branch 'master' of github.com:dotnet/docs into adegeo-test-pivots
Thraka Oct 22, 2019
8dbaed8
Update linux os;redirect os prereqs
Thraka Oct 30, 2019
7b87dde
removed old screenshots
Thraka Oct 30, 2019
4a2d486
update date
Thraka Oct 30, 2019
e36544b
Update linux vers based on email from leecow
Thraka Oct 30, 2019
3194abd
Apply suggestions from code review
Thraka Oct 30, 2019
be5fc94
Remove temp comment;add next steps
Thraka Oct 30, 2019
f4c304b
Update docs/core/prerequisites.md
Thraka Oct 30, 2019
ed81892
Fix redirect
Thraka Oct 30, 2019
b52c2a6
Merge branch 'adegeo-test-pivots' of github.com:dotnet/docs into adeg…
Thraka Oct 30, 2019
a98b740
minor fixes
Thraka Oct 30, 2019
66fa7fa
Move file to new location
Thraka Oct 30, 2019
91e6e55
new redirect
Thraka Oct 30, 2019
1fe2b05
fix images+links
Thraka Oct 30, 2019
ae8d5c4
Replace link to old prereqs with new
Thraka Oct 30, 2019
8388ccb
Update toc; fix last bad link
Thraka Oct 30, 2019
be538d2
minor
Thraka Oct 31, 2019
23edbfc
move toc entry
Thraka Oct 31, 2019
2bc77d9
change title
Thraka Oct 31, 2019
2bb2733
wording
Thraka Oct 31, 2019
50a76f3
Merge branch 'master' into adegeo-test-pivots
Thraka Nov 1, 2019
67c7e91
Apply suggestions from code review
Thraka Nov 1, 2019
7816e57
Merge branch 'master' of github.com:dotnet/docs into adegeo-test-pivots
Thraka Nov 1, 2019
9582d95
Rework prereqs into isntall story for setup
Thraka Nov 7, 2019
1226642
Fix errors
Thraka Nov 7, 2019
4836ccd
Fix last errors
Thraka Nov 7, 2019
491f423
update toc
Thraka Nov 7, 2019
51467a9
update toc
Thraka Nov 7, 2019
ef41f8d
minor updates to dependencies
Thraka Nov 7, 2019
5796455
Apply suggestions from code review
Thraka Nov 12, 2019
13877eb
add more info for runtime
Thraka Nov 12, 2019
fe740ff
Minor fixes
Thraka Nov 12, 2019
fb93f08
Next steps for installs
Thraka Nov 12, 2019
0754625
Update TOC with new package manager
Thraka Nov 12, 2019
e5cfb44
Add docker info
Thraka Nov 12, 2019
207915e
Add more next steps
Thraka Nov 12, 2019
27f9d63
Remove extra zone-end
Thraka Nov 12, 2019
505f4b0
Minor fixes
Thraka Nov 12, 2019
3ff8049
Update titles
Thraka Nov 12, 2019
41d7c6f
Fix next steps
Thraka Nov 12, 2019
a8604ac
fix next steps
Thraka Nov 12, 2019
2e2bad1
Add missing libgdi for mac
Thraka Nov 12, 2019
90bbda5
Merge branch 'master' of github.com:dotnet/docs into adegeo-test-pivots
Thraka Nov 13, 2019
57562a0
Added all package mangers
Thraka Nov 20, 2019
638c4ae
fix lint
Thraka Nov 20, 2019
8a0caaa
fix switcher links
Thraka Nov 20, 2019
073637e
Fix switcher links .md
Thraka Nov 20, 2019
d94f886
Merge branch 'master' of github.com:dotnet/docs into adegeo-test-pivots
Thraka Nov 20, 2019
ef2f273
Add missing section to rhel packmgr
Thraka Nov 21, 2019
99d6457
adjust 3.1 mentions
Thraka Nov 21, 2019
e75d310
Add a 'root' linux package manager page for linking
Thraka Nov 22, 2019
bead0be
Remove todo
Thraka Nov 22, 2019
1d9974d
remove suse 42.3
Thraka Nov 22, 2019
aaa4506
Change links in index
Thraka Nov 22, 2019
d2ee582
Update docs/core/setup/dependencies.md
Thraka Nov 22, 2019
a4469b2
Merge branch 'adegeo-test-pivots' of github.com:dotnet/docs into adeg…
Thraka Nov 22, 2019
20e84cf
Apply suggestions from code review
Thraka Nov 22, 2019
115dc02
Merge branch 'adegeo-test-pivots' of github.com:dotnet/docs into adeg…
Thraka Nov 22, 2019
47b54f2
consistant usage of version and operating system plural
Thraka Nov 22, 2019
bdaacc3
test out using query string on md link
Thraka Nov 22, 2019
2576b20
add vista
Thraka Nov 22, 2019
e55d62b
Apply suggestions from code review
Thraka Nov 22, 2019
f0b9950
Add info about commands failing in the detection article
Thraka Nov 22, 2019
be188f5
Merge branch 'adegeo-test-pivots' of github.com:dotnet/docs into adeg…
Thraka Nov 22, 2019
f41458b
Updated package manager instructions
Thraka Nov 22, 2019
37eecfa
acro fixes/clarifications
Thraka Nov 22, 2019
def42b6
fixes and clarifications
Thraka Nov 22, 2019
785058a
Apply suggestions from code review
Thraka Nov 22, 2019
cca1ea1
Adjust visual studio area
Thraka Nov 22, 2019
678a4c5
Merge branch 'adegeo-test-pivots' of github.com:dotnet/docs into adeg…
Thraka Nov 22, 2019
1ba2b96
Adjust docker to match
Thraka Nov 22, 2019
7c4226c
VS Code expand; header changes
Thraka Nov 22, 2019
8c8e28a
Add RHEL8
Thraka Nov 22, 2019
71d2b73
Rename folder from setup to install
Thraka Nov 22, 2019
b69d25c
breadcrumb update
Thraka Nov 22, 2019
31b6c27
change query string test
Thraka Nov 22, 2019
f38802d
Fix links to setup/index
Thraka Nov 23, 2019
9e7b406
Update unamanged ref to point to new install/deps
Thraka Nov 23, 2019
e85eedf
fix links
Thraka Nov 23, 2019
81db9eb
Merge branch 'master' of github.com:dotnet/docs into adegeo-test-pivots
Thraka Nov 23, 2019
376760a
Fix the vb toc; unrelated to this
Thraka Nov 23, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .openpublishing.publish.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"filemap_share_depots": ["VS.dotnet-api-docs"],
"open_to_public_contributors": true,
"type_mapping": {
"ZonePivotGroups": "Toc",
"Conceptual": "Content",
"ManagedReference": "Content",
"RestApi": "Content",
Expand Down
15 changes: 14 additions & 1 deletion .openpublishing.redirection.json
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,19 @@
"redirect_url": "/dotnet/desktop-wpf/migration/convert-project-from-net-framework",
"redirect_document_id": true
},
{
"source_path": "docs/core/linux-prerequisites.md",
"redirect_url": "/dotnet/core/setup/dependencies"
},
{
"source_path": "docs/core/macos-prerequisites.md",
"redirect_url": "/dotnet/core/setup/dependencies"
},
{
"source_path": "docs/core/windows-prerequisites.md",
"redirect_url": "/dotnet/core/setup/dependencies",
"redirect_document_id": true
},
{
"source_path": "docs/core/preview3/deploying/index.md",
"redirect_url": "/dotnet/core/deploying",
Expand Down Expand Up @@ -305,7 +318,7 @@
},
{
"source_path": "docs/core/preview3/windows-prerequisites.md",
"redirect_url": "/dotnet/core/windows-prerequisites"
"redirect_url": "/dotnet/core/setup/index"
},
{
"source_path": "docs/core/testing/using-mstest-on-windows.md",
Expand Down
7 changes: 7 additions & 0 deletions docs/breadcrumb/toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,13 @@
- name: Tools
tocHref: /dotnet/core/tools/
topicHref: /dotnet/core/tools/index
- name: Installation guide
tocHref: /dotnet/core/install/
topicHref: /dotnet/core/install/index
items:
- name: Linux package managers
tocHref: /dotnet/core/install/
topicHref: /dotnet/core/install/index
- name: .NET Framework
tocHref: /dotnet/framework/
topicHref: /dotnet/framework/index
Expand Down
2 changes: 1 addition & 1 deletion docs/core/deploying/deploy-with-vs.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ The following sections show how to use Microsoft Visual Studio to create the fol
- Self-contained deployment
- Self-contained deployment with third-party dependencies

For information on using Visual Studio to develop .NET Core applications, see [Prerequisites for .NET Core on Windows](../windows-prerequisites.md#prerequisites-to-develop-net-core-apps-with-visual-studio).
For information on using Visual Studio to develop .NET Core applications, see [.NET Core dependencies and requirements](../install/dependencies.md?tabs=netcore30&pivots=os-windows).

## Framework-dependent deployment

Expand Down
6 changes: 3 additions & 3 deletions docs/core/get-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ You can get started developing .NET Core applications by following these step-by
- Watch a video on [how to install and use Visual Studio 2017 and .NET Core](https://channel9.msdn.com/Blogs/dotnet/Get-Started-NET-Core-Visual-Studio-2017/).
- [Getting started with .NET Core using the command-line.](tutorials/using-with-xplat-cli.md)

See the [Prerequisites for Windows development](windows-prerequisites.md) article for a list of the supported Windows versions.
See the [.NET Core dependencies and requirements](install/dependencies.md?tabs=netcore30&pivots=os-windows) article for a list of the supported Windows versions.

# [Linux](#tab/linux)

Expand All @@ -56,7 +56,7 @@ You can get started developing .NET Core application by following these step-by-
- [Getting started with .NET Core using the command-line.](tutorials/using-with-xplat-cli.md)
- Watch a video on [getting started with Visual Studio Code using C# and .NET Core on Ubuntu](https://channel9.msdn.com/Blogs/dotnet/Get-started-with-VS-Code-Csharp-dotnet-Core-Ubuntu).

See the [Prerequisites for Linux development](linux-prerequisites.md) article for a list of the supported Linux distros and versions.
See the [.NET Core dependencies and requirements](install/dependencies.md?tabs=netcore30&pivots=os-linux) article for a list of the supported Linux distros and versions.

# [macOS](#tab/macos)

Expand All @@ -68,6 +68,6 @@ You can get started developing .NET Core application by following these step-by-
- [Getting started with .NET Core on macOS using Visual Studio for Mac.](tutorials/using-on-mac-vs.md)
- [Build a complete .NET Core solution on macOS using Visual Studio for Mac.](tutorials/using-on-mac-vs-full-solution.md)

See the [Prerequisites for macOS development](macos-prerequisites.md) article for a list of the supported OS X / macOS versions.
See the [.NET Core dependencies and requirements](install/dependencies.md?tabs=netcore30&pivots=os-macos) article for a list of the supported OS X / macOS versions.

---
267 changes: 267 additions & 0 deletions docs/core/install/dependencies.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,267 @@
---
title: .NET Core SDK and runtime dependencies - .NET Core
description: Details the operating system and CPU architecture prerequisites to install the .NET Core SDK and runtime on Windows, Linux, and macOS.
author: leecow
ms.author: leecow
ms.date: 11/06/2019
zone_pivot_groups: operating-systems-set-one
---

# .NET Core dependencies and requirements

This article details which operating systems and CPU architecture are supported by .NET Core.

## Supported operating systems

::: zone pivot="os-windows"

<!-- markdownlint-disable MD025 -->
<!-- markdownlint-disable MD024 -->

# [.NET Core 3.0](#tab/netcore30)

The following Windows versions are supported with .NET Core 3.0:

> [!NOTE]
> A `+` symbol represents the minimum version.

| OS | Version | Architectures |
| ----------------------------- | ------------------------------ | --------------- |
| Windows Client | 7 SP1+, 8.1 | x64, x86 |
| Windows 10 Client | Version 1607+ | x64, x86 |
| Windows Server | 2012 R2+ | x64, x86 |
| Nano Server | Version 1803+ | x64, ARM32 |

For more information about .NET Core 3.0 supported operating systems, distributions, and lifecycle policy, see [.NET Core 3.0 Supported OS Versions](https://github.com/dotnet/core/blob/master/release-notes/3.0/3.0-supported-os.md).

# [.NET Core 2.2](#tab/netcore22)

The following Windows versions are supported with .NET Core 2.2:

> [!NOTE]
> A `+` symbol represents the minimum version.

| OS | Version | Architectures |
| ----------------------------- | ------------------------------ | --------------- |
| Windows Client | 7 SP1+, 8.1 | x64, x86 |
| Windows 10 Client | Version 1607+ | x64, x86 |
| Windows Server | 2008 R2 SP1+ | x64, x86 |
| Nano Server | Version 1803+ | x64, ARM32 |

For more information about .NET Core 2.2 supported operating systems, distributions, and lifecycle policy, see [.NET Core 2.2 Supported OS Versions](https://github.com/dotnet/core/blob/master/release-notes/2.2/2.2-supported-os.md).

# [.NET Core 2.1](#tab/netcore21)

The following Windows versions are supported with .NET Core 2.1:

> [!NOTE]
> A `+` symbol represents the minimum version.

| OS | Version | Architectures |
| ----------------------------- | ------------------------------ | --------------- |
| Windows Client | 7 SP1+, 8.1 | x64, x86 |
| Windows 10 Client | Version 1607+ | x64, x86 |
| Windows Server | 2008 R2 SP1+ | x64, x86 |
| Nano Server | Version 1803+ | x64, |

For more information about .NET Core 2.1 supported operating systems, distributions, and lifecycle policy, see [.NET Core 2.1 Supported OS Versions](https://github.com/dotnet/core/blob/master/release-notes/2.1/2.1-supported-os.md).

---

<!-- markdownlint-disable MD001 -->

### Windows 7 / Vista / 8.1 / Server 2008 R2

Additional dependencies are required if you're installing the .NET SDK or runtime on the following Windows versions:

- Windows 7 SP1
- Windows Vista SP 2
- Windows 8.1
- Windows Server 2008 R2
- Windows Server 2012 R2

Install the following:

- [Microsoft Visual C++ 2015 Redistributable Update 3](https://www.microsoft.com/download/details.aspx?id=52685).
- [KB2533623](https://support.microsoft.com/help/2533623/microsoft-security-advisory-insecure-library-loading-could-allow-remot)

The requirements above are also required if you come across one of the following errors:

> The program can't start because *api-ms-win-crt-runtime-l1-1-0.dll* is missing from your computer. Try reinstalling the program to fix this problem.
>
> \- or -
>
> The library *hostfxr.dll* was found, but loading it from *C:\\\<path_to_app>\\hostfxr.dll* failed.

::: zone-end

::: zone pivot="os-linux"

# [.NET Core 3.0](#tab/netcore30)

.NET Core 3.0 treats Linux as a single operating system. There's a single Linux build (per chip architecture) for supported Linux distributions.

.NET Core 3.0 is supported on the following Linux distributions/versions:

> [!NOTE]
> A `+` symbol represents the minimum version.

| OS | Version | Architectures |
| ------------------------------ | --------------------- | ---------------- |
| Red Hat Enterprise Linux | 6, 7, 8 | x64 |
| CentOS | 7+ | x64 |
| Oracle Linux | 7+ | x64 |
| Fedora | 29+ | x64 |
| Debian | 9+ | x64, ARM32, ARM64 |
| Ubuntu | 16.04+ | x64, ARM32, ARM64 |
| Linux Mint | 18+ | x64 |
| openSUSE | 15+ | x64 |
| SUSE Enterprise Linux (SLES) | 12 SP2+ | x64 |
| Alpine Linux | 3.8+ | x64, ARM64 |

For more information about .NET Core 3.0 supported operating systems, distributions, and lifecycle policy, see [.NET Core 3.0 Supported OS Versions](https://github.com/dotnet/core/blob/master/release-notes/3.0/3.0-supported-os.md).

For more information about how to install .NET Core 3.0 on ARM64, see [Installing .NET Core 3.0 on Linux ARM64](https://gist.github.com/richlander/467813274cea8abc624553ee72b28213).

# [.NET Core 2.2](#tab/netcore22)

.NET Core 2.2 treats Linux as a single operating system. There's a single Linux build (per chip architecture) for supported Linux distributions.

.NET Core 2.2 is supported on the following Linux distributions/versions:

> [!NOTE]
> A `+` symbol represents the minimum version.

| OS | Version | Architectures |
| ------------------------------ | ----------------------- | ---------------- |
| Red Hat Enterprise Linux | 6, 7 | x64 |
| CentOS | 7 | x64 |
| Oracle Linux | 7 | x64 |
| Fedora | 29, 30 | x64 |
| Debian | 9 | x64, ARM32 |
| Ubuntu | 16.04, 18.04, 18.10, 19.04 | x64, ARM32 |
| Linux Mint | 17, 18 | x64 |
| openSUSE | 15+ | x64 |
| SUSE Enterprise Linux (SLES) | 12 SP2+ | x64 |
| Alpine Linux | 3.8+ | x64 |

For more information about .NET Core 2.2 supported operating systems, distributions, and lifecycle policy, see [.NET Core 2.2 Supported OS Versions](https://github.com/dotnet/core/blob/master/release-notes/2.2/2.2-supported-os.md).

# [.NET Core 2.1](#tab/netcore21)

.NET Core 2.1 treats Linux as a single operating system. There's a single Linux build (per chip architecture) for supported Linux distributions.

.NET Core 2.1 is supported on the following Linux distributions/versions:

> [!NOTE]
> A `+` symbol represents the minimum version.

| OS | Version | Architectures |
| ------------------------------ | ----------------------- | ---------------- |
| Red Hat Enterprise Linux | 6, 7, 8 | x64 |
| CentOS | 7+ | x64 |
| Oracle Linux | 7+ | x64 |
| Fedora | 29+ | x64 |
| Debian | 9 | x64, ARM32 |
| Ubuntu | 16.04, 18.04, 19.04, 19.10 | x64, ARM32 |
| Linux Mint | 17+ | x64 |
| openSUSE | 15+ | x64 |
| SUSE Enterprise Linux (SLES) | 12 SP2+ | x64 |
| Alpine Linux | 3.8+ | x64 |

For more information about .NET Core 2.1 supported operating systems, distributions, and lifecycle policy, see [.NET Core 2.1 Supported OS Versions](https://github.com/dotnet/core/blob/master/release-notes/2.1/2.1-supported-os.md).

---

## Linux distribution dependencies

Based on your linux distribution, you may need to install additional dependencies.

> [!IMPORTANT]
> The exact versions and names may vary slightly on your Linux distribution of choice.

### Ubuntu

Ubuntu distributions require the following libraries to be installed:

- liblttng-ust0
- libcurl3 (for 14.x and 16.x)
- libcurl4 (for 18.x)
- libssl1.0.0
- libkrb5-3
- zlib1g
- libicu52 (for 14.x)
- libicu55 (for 16.x)
- libicu57 (for 17.x)
- libicu60 (for 18.x)

For .NET Core apps that use the *System.Drawing.Common* assembly, you also need the following dependency:

- libgdiplus (version 6.0.1 or later)

> [!WARNING]
> Most versions of Ubuntu include an earlier version of libgdiplus. You can install a recent version
> of libgdiplus by adding the Mono repository to your system. For more information,
> see <https://www.mono-project.com/download/stable/>.

### CentOS and Fedora

CentOS distributions require the following libraries installed:

- lttng-ust
- libcurl
- openssl-libs
- krb5-libs
- libicu
- zlib

Fedora users: If your OpenSSL's version >= 1.1, you'll need to install **compat-openssl10**.

For .NET Core 2.0, the following dependencies are also required:

- libunwind
- libuuid

For more information about the dependencies, see [Self-contained Linux apps](https://github.com/dotnet/core/blob/master/Documentation/self-contained-linux-apps.md).

For .NET Core apps that use the *System.Drawing.Common* assembly, you'll also need the following dependency:

- libgdiplus (version 6.0.1 or later)

> [!WARNING]
> Most versions of CentOS and Fedora include an earlier version of libgdiplus. You can install a recent version
> of libgdiplus by adding the Mono repository to your system. For more information,
> see <https://www.mono-project.com/download/stable/>.

::: zone-end

::: zone pivot="os-macos"

.NET Core is supported on the following macOS releases:

> [!NOTE]
> A `+` symbol represents the minimum version.

| .NET Core Version | macOS | Architectures | |
| ----------------- | --------------------- | --------------| --- |
| 3.0 | High Sierra (10.13+) | x64 | [More information](https://github.com/dotnet/core/blob/master/release-notes/3.0/3.0-supported-os.md) |
| 2.2 | Sierra (10.12+) | x64 | [More information](https://github.com/dotnet/core/blob/master/release-notes/2.2/2.2-supported-os.md) |
| 2.1 | Sierra (10.12+) | x64 | [More information](https://github.com/dotnet/core/blob/master/release-notes/2.1/2.1-supported-os.md) |

## libgdiplus

.NET Core applications that use the *System.Drawing.Common* assembly require libgdiplus to be installed.

An easy way to obtain libgdiplus is by using the [Homebrew ("brew")](https://brew.sh/) package manager for macOS. After installing *brew*, install libgdiplus by executing the following commands at a Terminal (command) prompt:

```console
brew update
brew install mono-libgdiplus
```

::: zone-end

## Next steps

- To develop and run apps, install the [.NET Core SDK](sdk.md) (includes the runtime).
- To run apps others have created, install the [.NET Core runtime](runtime.md).
Loading