Tiny core linux

Dependencies

When you install with a package manager, these libraries are installed for you. But, if you manually install .NET Core or you publish a self-contained app, you’ll need to make sure these libraries are installed:

  • libc6
  • libgcc1
  • libgssapi-krb5-2
  • libicu52 (for 14.x)
  • libicu55 (for 16.x)
  • libicu60 (for 18.x)
  • libicu66 (for 20.x)
  • libssl1.0.0 (for 14.x, 16.x)
  • libssl1.1 (for 18.x, 20.x)
  • libstdc++6
  • zlib1g

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
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/.

Философия дизайна

Разработчики описывают TCL как «самую легковесную графическую настольную операционную систему, способную загружаться из CD-ROM, pendrive, или с жёсткого диска». Начиная с версии 2.8.1, ядро предназначено для работы в основном в ОЗУ, но с тремя различными режимами работы:

  • «Cloud» или Интернет-режим — режим «testdrive» с использованием встроенного графического интерфейса appbrowser для изучения расширений из репозитория онлайн-приложений, загруженного в оперативной памяти только для текущего сеанса.
  • TCE/Install — режим для Tiny Core Extensions, загруженный, и выполняемый из раздела хранения, но содержащийся в символических ссылках оперативной памяти.
  • TCE/CopyFS — режим, который устанавливает приложения на раздел Linux, как более типичная установка.

SLESSLES

SLES 将 zypper 用作包管理器。SLES uses zypper as the package manager.

下表列出了 SLES 12 SP2 和 SLES 15 上当前受支持的 .NET Core 版本。The following table is a list of currently supported .NET Core releases on both SLES 12 SP2 and SLES 15. 这些版本在 .NET Core 达到支持终止日期或 SLES 版本不再受到支持之前仍受支持。These versions remain supported until either the version of .NET Core reaches end-of-support or the version of SLES is no longer supported.

  • ️ 指示 SLES 或 .NET Core 版本仍受支持。A ️ indicates that the version of SLES or .NET Core is still supported.
  • 指示 SLES 或 .NET Core 版本在该 SLES 版本上不受支持。A indicates that the version of SLES or .NET Core isn’t supported on that SLES release.
  • 当 SLES 版本和 .NET Core 版本都有 ️ 时,将支持该 OS 和 .NET 组合。When both a version of SLES and a version of .NET Core have ️, that OS and .NET combination are supported.
SLESSLES .NET Core 2.1.NET Core 2.1 .NET Core 3.1.NET Core 3.1 .NET 5 预览版(仅限手动安装).NET 5 Preview (manual install only)
️ ️ ️ 2.1️ 2.1 ️ 3.1️ 3.1 ️ 5.0 预览版️ 5.0 Preview
️ ️ ️ 2.1️ 2.1 ️ 3.1️ 3.1 ️ 5.0 预览版️ 5.0 Preview

有关详细信息,请参阅在 SLES 上安装 .NET Core。For more information, see Install .NET Core on SLES.

Философия дизайна

Разработчики описывают TCL как «самую легковесную графическую настольную операционную систему, способную загружаться из CD-ROM, pendrive, или с жёсткого диска». Начиная с версии 2.8.1, ядро предназначено для работы в основном в ОЗУ, но с тремя различными режимами работы:

  • «Cloud» или Интернет-режим — режим «testdrive» с использованием встроенного графического интерфейса appbrowser для изучения расширений из репозитория онлайн-приложений, загруженного в оперативной памяти только для текущего сеанса.
  • TCE/Install — режим для Tiny Core Extensions, загруженный, и выполняемый из раздела хранения, но содержащийся в символических ссылках оперативной памяти.
  • TCE/CopyFS — режим, который устанавливает приложения на раздел Linux, как более типичная установка.

16.10 ❌

Please note that this version of Ubuntu is no longer supported.

Installing with APT can be done with a few commands. Before you install .NET, run the following commands to add the Microsoft package signing key to your list of trusted keys and add the package repository.

Open a terminal and run the following commands:

Install the SDK

.NET Core SDK allows you to develop apps with .NET Core. If you install .NET Core SDK, you don’t need to install the corresponding runtime. To install .NET Core SDK, run the following commands:

Important

If you receive an error message similar to Unable to locate package dotnet-sdk-2.1, see the section.

Install the runtime

The .NET Core Runtime allows you to run apps that were made with .NET Core that didn’t include the runtime. The commands below install the ASP.NET Core Runtime, which is the most compatible runtime for .NET Core. In your terminal, run the following commands.

Important

If you receive an error message similar to Unable to locate package aspnetcore-runtime-2.1, see the section.

As an alternative to the ASP.NET Core Runtime, you can install the .NET Core Runtime that doesn’t include ASP.NET Core support: replace in the command above with .

Подготовка к установке

Как обычно, сначала нужно подготовить все что понадобится для установки. И в первую очередь скачать и записать образ на носитель для установки.

Шаг 1. Загрузка образа

На официальном сайте доступно три редакции дистрибутива:

  • Core — базовая система, поддерживающая только интерфейс командной строки, это система для профессионалов, в будущем сюда можно добавить расширения для получения системы с графическим интерфейсом;
  • TinyCore — дистрибутив с графическим окружением на основе FLTK / FLWM, размер — 16 мегабайт;
  • CorePlus — полноценный установочный образ размером 100 мегабайт. Здесь содержатся проприетарные модули для беспроводных сетей, раскладки, инструменты для установки на диск, семь оконных менеджеров.

Для установки вам понадобится именно CorePlus, поскольку здесь есть все необходимые инструменты.

Шаг 2. Запись образа на носитель

Для записи Tiny Core на диск можно использовать уже привычные нам k3b или brasero в Linux, а также UltraISO в Windows. Что касается записи на флешку, то со своей задачей отлично справится unetbootin в linux:

А в Windows можно применить rufus:

Шаг 3. Настройка BIOS

Дальше нам нужно настроить BIOS для загрузки с флешки. Для этого перезагрузите компьютер и во время заставки BIOS нажмите F2, F8, Shift+F2 или Del, чтобы войти в меню. Затем перейдите на вкладку Boot и в разделе Boot Device Priority переместите свое устройство на первое место:

Затем перейдите на вкладку Exit и выберите Exit & Save Changes.

Scripted install

The dotnet-install scripts are used for automation and non-admin installs of the SDK and Runtime. You can download the script from https://dot.net/v1/dotnet-install.sh.

The script defaults to installing the latest SDK long term support (LTS) version, which is .NET Core 3.1. To install the current release, which may not be an (LTS) version, use the parameter.

To install .NET Core Runtime instead of the SDK, use the parameter.

You can install a specific version by altering the parameter to indicate the specific version. The following command installs .NET Core SDK 3.1.

For more information, see dotnet-install scripts reference.

AlpineAlpine

Установщиков для Alpine не существует.There are no installers for Alpine. Необходимо либо использовать , либо следовать инструкциям по .You must either use the or follow the instructions.

В приведенной ниже таблице содержится список поддерживаемых сейчас выпусков .NET Core и версий Alpine, в которых они поддерживаются.The following table is a list of currently supported .NET Core releases and the versions of Alpine they’re supported on. Эти версии поддерживаются до окончания поддержки версии .NET Core либо до окончания жизненного цикла версии Alpine.These versions remain supported until either the version of .NET Core reaches end-of-support or the version of Alpine reaches end-of-life.

  • Значок ️ означает, что версия Alpine или .NET Core поддерживается.A ️ indicates that the version of Alpine or .NET Core is still supported.
  • Значок означает, что версия Alpine или версия .NET Core в таком выпуске Alpine не поддерживается.A indicates that the version of Alpine or .NET Core isn’t supported on that Alpine release.
  • Если значок ️ стоит как напротив версии Alpine, так и напротив версии .NET Core, это значит, что такое сочетание ОС и .NET поддерживается.When both a version of Alpine and a version of .NET Core have ️, that OS and .NET combination are supported.
AlpineAlpine .NET Core 2.1.NET Core 2.1 .NET Core 3.1.NET Core 3.1 Предварительная версия .NET 5.NET 5 Preview
️ 3.12️ 3.12 ️ 2.1️ 2.1 ️ 3.1️ 3.1 ️ 5.0 (предварительная версия)️ 5.0 Preview
️ 3.11️ 3.11 ️ 2.1️ 2.1 ️ 3.1️ 3.1 ️ 5.0 (предварительная версия)️ 5.0 Preview
️ 3.10️ 3.10 ️ 2.1️ 2.1 ️ 3.1️ 3.1 ️ 5.0 (предварительная версия)️ 5.0 Preview
️ 3.9️ 3.9 ️ 2.1️ 2.1 ️ 3.1️ 3.1 ️ 5.0 (предварительная версия)️ 5.0 Preview
3.8 3.8 ️ 2.1️ 2.1  3.1 3.1  5.0 (предварительная версия) 5.0 Preview

Дополнительные сведения см. в статье об установке .NET Core в Alpine.For more information, see Install .NET Core on Alpine.

Релизы

Версия Стабильность Дата релиза
1.0 Стабильная версия 5 января 2009
2.0 Стабильная версия 7 июня 2009
3.0 Стабильная версия 19 июля 2010
4.0 Стабильная версия 25 сентября 2011
4.7.7 Стабильная версия 10 мая 2013
5.0 Стабильная версия 14 сентября 2013
5.0.1 Стабильная версия 1 октября 2013
5.0.2 Стабильная версия 18 октября 2013
5.1 Стабильная версия 28 ноября 2013
5.2 Стабильная версия 14 января 2014
5.3 Стабильная версия 19 апреля 2014
5.4 Стабильная версия 10 сентября 2014
6.0 Стабильная версия 5 января 2015
6.1 Стабильная версия 7 марта 2015
6.2 Стабильная версия 3 мая 2015
6.3 Стабильная версия 30 мая 2015
6.4 Стабильная версия 8 сентября 2015
6.4.1 Стабильная версия 4 ноября 2015
7.0 Стабильная версия 23 февраля 2016
7.1 Стабильная версия 22 мая 2016
7.2 Стабильная версия 4 июля 2016
8.0 Стабильная версия 10 апреля 2017
8.1 Стабильная версия 3 сентября 2017
8.2 Стабильная версия 22 сентября 2017
9.0 Стабильная версия 26 февраля 2018

Релизы

Версия Стабильность Дата релиза
1.0 Стабильная версия 5 января 2009
2.0 Стабильная версия 7 июня 2009
3.0 Стабильная версия 19 июля 2010
4.0 Стабильная версия 25 сентября 2011
4.7.7 Стабильная версия 10 мая 2013
5.0 Стабильная версия 14 сентября 2013
5.0.1 Стабильная версия 1 октября 2013
5.0.2 Стабильная версия 18 октября 2013
5.1 Стабильная версия 28 ноября 2013
5.2 Стабильная версия 14 января 2014
5.3 Стабильная версия 19 апреля 2014
5.4 Стабильная версия 10 сентября 2014
6.0 Стабильная версия 5 января 2015
6.1 Стабильная версия 7 марта 2015
6.2 Стабильная версия 3 мая 2015
6.3 Стабильная версия 30 мая 2015
6.4 Стабильная версия 8 сентября 2015
6.4.1 Стабильная версия 4 ноября 2015
7.0 Стабильная версия 23 февраля 2016
7.1 Стабильная версия 22 мая 2016
7.2 Стабильная версия 4 июля 2016
8.0 Стабильная версия 10 апреля 2017
8.1 Стабильная версия 3 сентября 2017
8.2 Стабильная версия 22 сентября 2017
9.0 Стабильная версия 26 февраля 2018

Frugal Install Tiny Core Linux

0. Introduction

The first step before you install any operating system such as Tiny Core is to back up everything on your computer before starting.

Before making the commitment to perform a frugal install you should consider our Quick and Easy Overview.
It covers the basics of running Tiny Core from CDROM and/or USB pendrive.
Most will find learning Tiny Core the quick and easy way a better starting point.

But for those who are ready to take the plunge to frugal, this guide shows step by step information on how to install
TC via the installer. The older instructions for a manual install are still
available, but using the installer is recommended.

The guide assumes you’ve either booted the CorePlus CD, or have installed the tc-install extension (tc-install.tcz)

Keep in mind that this guide is basic and that the user may choose to adapt, remove and/or add parts as desired.
The installer is also applicable to USB sticks and other external media.

Note: If you already have a Linux System booting, then you do not need to make a partition for Tiny Core! Tiny
Core can run in a single directory in your existing Linux installation.
To do so, at step 1, uncheck the option to «Install boot loader». At step 2, select an existing partition, and at Step 3, do not format it. Upon completion you will need to manually configure your existing boot loader.

Open the installer:

It can also be started via the shell or Run icon by typing «tc-install».

2. Browse to the install files

Browse to /mnt/device/boot and select the core.gz file.

With the source selected, pick the desired install type and target. We’re going to install
to an empty hard drive.
If using an existing partition, tick the box to mark it active to have it bootable.

Format the new partition. It’s recommended to pick one of the ext* options to support linux permissions.

4. Bootcodes

If you want to use additional bootcodes, enter them now. Otherwise leave this blank.

The example bootcodes set a framebuffer resolution and disable wbar icons.

Note that you can edit them any time after the install in the bootloader’s config file, usually extlinux.conf.

5. CorePlus installation options

If you are installing from the CorePlus CD you will see an additional screen asking which extensions from CorePlus you would like to install. Note that you will only see this screen if running the installer from a CorePlus CD.

The selected extensions will be installed.

6. Tiny Core installation options

If you are installing from the Tiny Core CD you will see an additional screen asking which directory extensions should be installed from. You should select the cde or tce directory that contains the extensions that you would like installed. For example, if the Tiny Core CD is mounted on /mnt/sr0 you should select /mnt/sr0/cde

Note that you will not see this screen if installing from CorePlus.

All extensions from selected directory will be installed.

If everything’s OK, click on proceed:

The time required will depend on the size of your hard drive.

8. Testing

TC is now installed!

Remove the original CD boot media and reboot.

Note: the system may need to be configured to boot hdX first in the BIOS.

19.10 ❌

Please note that this version of Ubuntu is no longer supported.

Installing with APT can be done with a few commands. Before you install .NET, run the following commands to add the Microsoft package signing key to your list of trusted keys and add the package repository.

Open a terminal and run the following commands:

Install the SDK

.NET Core SDK allows you to develop apps with .NET Core. If you install .NET Core SDK, you don’t need to install the corresponding runtime. To install .NET Core SDK, run the following commands:

Important

If you receive an error message similar to Unable to locate package dotnet-sdk-3.1, see the section.

Install the runtime

The .NET Core Runtime allows you to run apps that were made with .NET Core that didn’t include the runtime. The commands below install the ASP.NET Core Runtime, which is the most compatible runtime for .NET Core. In your terminal, run the following commands.

Important

If you receive an error message similar to Unable to locate package aspnetcore-runtime-3.1, see the section.

As an alternative to the ASP.NET Core Runtime, you can install the .NET Core Runtime that doesn’t include ASP.NET Core support: replace in the command above with .

How to install other versions

The packages added to package manager feeds are named in a hackable format: .

  • product
    The type of .NET product to install. Valid options are:

    • dotnet
    • aspnetcore
  • type
    Chooses the SDK or the runtime. Valid options are:

    • sdk
    • runtime
  • version
    The version of the SDK or runtime to install. This article will always give the instructions for the latest supported version. Valid options are any released version, such as:

    • 3.1
    • 3.0
    • 2.1

    It’s possible the SDK/runtime you’re trying to download is not available for your Linux distribution. For a list of supported distributions, see .NET Core dependencies and requirements.

Package missing

If the package-version combination doesn’t work, it’s not available. For example, there isn’t an ASP.NET Core SDK, the SDK components are included with the .NET Core SDK. The value is incorrect and should be . For a list of Linux distributions supported by .NET Core, see .NET Core dependencies and requirements.

Release history

Version Stability Release date
1.0 Stable version January 5, 2009
2.0 June 7, 2009
3.0 July 19, 2010
4.0 September 25, 2011
4.7.7 May 10, 2013
5.0 September 14, 2013
5.0.1 October 1, 2013
5.0.2 October 18, 2013
5.1 November 28, 2013
5.2 January 14, 2014
5.3 April 19, 2014
5.4 September 10, 2014
6.0 January 5, 2015
6.1 March 7, 2015
6.2 May 3, 2015
6.3 May 30, 2015
6.4 September 8, 2015
6.4.1 November 4, 2015
7.0 February 23, 2016
7.1 May 22, 2016
7.2 July 4, 2016
8.0 April 10, 2017
8.1 September 3, 2017
8.2 September 22, 2017
9.0 February 26, 2018
10.0 January 20, 2019
10.1 June 11, 2019
11.0 February 9, 2020
11.1 April 1, 2020

APT troubleshooting

This section provides information on common errors you may get while using APT to install .NET Core.

Unable to locate \ Some packages could not be installed

If you receive an error message similar to Unable to locate package {netcore-package} or Some packages could not be installed, run the following commands.

There are two placeholders in the following set of commands.

  • This represents the .NET Core package you’re installing, such as . This is used in the command below.

  • This represents the Linux version you are on. This is used in the command below.

First, try purging the package list:

Then, try to install .NET Core again. If that doesn’t work, you can run a manual install with the following commands:

Failed to fetch

While installing the .NET Core package, you may see an error similar to . This error could mean that the package feed for .NET Core is being upgraded with newer package versions, and that you should try again later. During an upgrade, the package feed shouldn’t be unavailable for more than 30 minutes. If you continually receive this error for more than 30 minutes, please file an issue at https://github.com/dotnet/core/issues.

openSUSEopenSUSE

openSUSE 将 zypper 用作包管理器。openSUSE uses zypper as the package manager.

下表列出了 openSUSE 15 上当前受支持的 .NET Core 版本。The following table is a list of currently supported .NET Core releases on openSUSE 15. 这些版本在 .NET Core 版本达到支持终止日期或 openSUSE 版本不再受支持之前仍受支持。These versions remain supported until either the version of .NET Core reaches end-of-support or the version of openSUSE is no longer supported.

  • ️ 指示 openSUSE 或 .NET Core 版本仍受支持。A ️ indicates that the version of openSUSE or .NET Core is still supported.
  • 指示 openSUSE 或 .NET Core 版本在该 openSUSE 版本上不受支持。A indicates that the version of openSUSE or .NET Core isn’t supported on that openSUSE release.
  • 当 openSUSE 版本和 .NET Core 版本都有 ️ 时,将支持该 OS 和 .NET 组合。When both a version of openSUSE and a version of .NET Core have ️, that OS and .NET combination are supported.
openSUSEopenSUSE .NET Core 2.1.NET Core 2.1 .NET Core 3.1.NET Core 3.1 .NET 5 预览版(仅限手动安装).NET 5 Preview (manual install only)
️ ️ ️ 2.1️ 2.1 ️ 3.1️ 3.1 ️ 5.0 预览版️ 5.0 Preview

有关详细信息,请参阅在 openSUSE 上安装 .NET Core。For more information, see Install .NET Core on openSUSE.

Релизы

Версия Стабильность Дата релиза
1.0 Стабильная версия 5 января 2009
2.0 Стабильная версия 7 июня 2009
3.0 Стабильная версия 19 июля 2010
4.0 Стабильная версия 25 сентября 2011
4.7.7 Стабильная версия 10 мая 2013
5.0 Стабильная версия 14 сентября 2013
5.0.1 Стабильная версия 1 октября 2013
5.0.2 Стабильная версия 18 октября 2013
5.1 Стабильная версия 28 ноября 2013
5.2 Стабильная версия 14 января 2014
5.3 Стабильная версия 19 апреля 2014
5.4 Стабильная версия 10 сентября 2014
6.0 Стабильная версия 5 января 2015
6.1 Стабильная версия 7 марта 2015
6.2 Стабильная версия 3 мая 2015
6.3 Стабильная версия 30 мая 2015
6.4 Стабильная версия 8 сентября 2015
6.4.1 Стабильная версия 4 ноября 2015
7.0 Стабильная версия 23 февраля 2016
7.1 Стабильная версия 22 мая 2016
7.2 Стабильная версия 4 июля 2016
8.0 Стабильная версия 10 апреля 2017
8.1 Стабильная версия 3 сентября 2017
8.2 Стабильная версия 22 сентября 2017
9.0 Стабильная версия 26 февраля 2018

18.10 ❌

Please note that this version of Ubuntu is no longer supported.

Installing with APT can be done with a few commands. Before you install .NET, run the following commands to add the Microsoft package signing key to your list of trusted keys and add the package repository.

Open a terminal and run the following commands:

Install the SDK

.NET Core SDK allows you to develop apps with .NET Core. If you install .NET Core SDK, you don’t need to install the corresponding runtime. To install .NET Core SDK, run the following commands:

Important

If you receive an error message similar to Unable to locate package dotnet-sdk-2.1, see the section.

Install the runtime

The .NET Core Runtime allows you to run apps that were made with .NET Core that didn’t include the runtime. The commands below install the ASP.NET Core Runtime, which is the most compatible runtime for .NET Core. In your terminal, run the following commands.

Important

If you receive an error message similar to Unable to locate package aspnetcore-runtime-2.1, see the section.

As an alternative to the ASP.NET Core Runtime, you can install the .NET Core Runtime that doesn’t include ASP.NET Core support: replace in the command above with .

17.04 ❌

Please note that this version of Ubuntu is no longer supported.

Installing with APT can be done with a few commands. Before you install .NET, run the following commands to add the Microsoft package signing key to your list of trusted keys and add the package repository.

Open a terminal and run the following commands:

Install the SDK

.NET Core SDK allows you to develop apps with .NET Core. If you install .NET Core SDK, you don’t need to install the corresponding runtime. To install .NET Core SDK, run the following commands:

Important

If you receive an error message similar to Unable to locate package dotnet-sdk-2.1, see the section.

Install the runtime

The .NET Core Runtime allows you to run apps that were made with .NET Core that didn’t include the runtime. The commands below install the ASP.NET Core Runtime, which is the most compatible runtime for .NET Core. In your terminal, run the following commands.

Important

If you receive an error message similar to Unable to locate package aspnetcore-runtime-2.1, see the section.

As an alternative to the ASP.NET Core Runtime, you can install the .NET Core Runtime that doesn’t include ASP.NET Core support: replace in the command above with .

UbuntuUbuntu

Ubuntu 将 APT(高级包工具)用作包管理器。Ubuntu uses APT (Advanced Package Tool) as a package manager.

下表表示 Ubuntu 和 .NET Core 的支持状态。The following table represents the support status of Ubuntu and .NET Core.

  • ️ 指示 Ubuntu 或 .NET Core 版本仍受支持。A ️ indicates that the version of Ubuntu or .NET Core is still supported.
  • 指示 Ubuntu 或 .NET Core 版本在该 Ubuntu 版本上不受支持。A indicates that the version of Ubuntu or .NET Core isn’t supported on that Ubuntu release.
  • 当 Ubuntu 版本和 .NET Core 版本都有 ️ 时,将支持该 OS 和 .NET 组合。When both a version of Ubuntu and a version of .NET Core have ️, that OS and .NET combination are supported.
UbuntuUbuntu .NET Core 2.1.NET Core 2.1 .NET Core 3.1.NET Core 3.1 .NET 5 预览版(仅限手动安装).NET 5 Preview (manual install only)
️ ️ ️ 2.1️ 2.1 ️ 3.1️ 3.1 ️ 5.0 预览版️ 5.0 Preview
️ 2.1️ 2.1 ️ 3.1️ 3.1 ️ 5.0 预览版️ 5.0 Preview
️ 2.1️ 2.1 ️ 3.1️ 3.1 5.0 预览版 5.0 Preview
️ 2.1️ 2.1 3.1 3.1 5.0 预览版 5.0 Preview
️ ️ ️ 2.1️ 2.1 ️ 3.1️ 3.1 ️ 5.0 预览版️ 5.0 Preview
️ 2.1️ 2.1 3.1 3.1 5.0 预览版 5.0 Preview
️ 2.1️ 2.1 3.1 3.1 5.0 预览版 5.0 Preview
2.1 2.1 3.1 3.1 5.0 预览版 5.0 Preview
️ ️ ️ 2.1️ 2.1 ️ 3.1️ 3.1 ️ 5.0 预览版️ 5.0 Preview

有关详细信息,请参阅在 Ubuntu 上安装 .NET Core。For more information, see Install .NET Core on Ubuntu.

18.04 ✔️

Installing with APT can be done with a few commands. Before you install .NET, run the following commands to add the Microsoft package signing key to your list of trusted keys and add the package repository.

Open a terminal and run the following commands:

Install the SDK

.NET Core SDK allows you to develop apps with .NET Core. If you install .NET Core SDK, you don’t need to install the corresponding runtime. To install .NET Core SDK, run the following commands:

Important

If you receive an error message similar to Unable to locate package dotnet-sdk-3.1, see the section.

Install the runtime

The .NET Core Runtime allows you to run apps that were made with .NET Core that didn’t include the runtime. The commands below install the ASP.NET Core Runtime, which is the most compatible runtime for .NET Core. In your terminal, run the following commands.

Important

If you receive an error message similar to Unable to locate package aspnetcore-runtime-3.1, see the section.

As an alternative to the ASP.NET Core Runtime, you can install the .NET Core Runtime that doesn’t include ASP.NET Core support: replace in the command above with .

CentOSCentOS

CentOS 7 使用 Yum 作为包管理器,CentOS 8 使用 DNF。CentOS 7 uses Yum as a package manager and CentOS 8 uses DNF.

下表列出了 CentOS 7 和 CentOS 8 上当前受支持的 .NET Core 版本。The following table is a list of currently supported .NET Core releases on both CentOS 7 and CentOS 8. 这些版本在 .NET Core 版本达到支持终止日期或 CentOS 版本不再受支持之前仍受支持。These versions remain supported until either the version of .NET Core reaches end-of-support or the version of CentOS is no longer supported.

CentOSCentOS .NET Core 2.1.NET Core 2.1 .NET Core 3.1.NET Core 3.1 .NET 5 预览版(仅限手动安装).NET 5 Preview (manual install only)
️ ️ ️ 2.1️ 2.1 ️ 3.1️ 3.1 ️ 5.0 预览版️ 5.0 Preview
️ ️ ️ 2.1️ 2.1 ️ 3.1️ 3.1 ️ 5.0 预览版️ 5.0 Preview

有关详细信息,请参阅在 CentOS 上安装 .NET Core。For more information, see Install .NET Core on CentOS.

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *

Adblock
detector