Because is no longer supported on Linux, this only works on. NET app uses the assembly, libgdiplus will also need to be installed. The following snippet demonstrates installing the zlib1g library: sudo apt install zlib1g NET or you publish a self-contained app, you'll need to make sure these libraries are installed:ĭependencies can be installed with the apt install command. When you install with a package manager, these libraries are installed for you. If you run into issues installing or even running. For a list of Linux distributions supported by. The value aspnetcore-sdk-7.0 is incorrect and should be dotnet-sdk-7.0. For example, there isn't an ASP.NET Core SDK, the SDK components are included with the. If the package-version combination doesn't work, it's not available. Install the ASP.NET Core 7.0 runtime: aspnetcore-runtime-7.0.For a list of supported distributions, see Install. It's possible the SDK/runtime you're trying to download is not available for your Linux distribution. Valid options are any released version, such as: This article will always give the instructions for the latest supported version. The version of the SDK or runtime to install. sdk (only available for the dotnet product).Valid options are:Ĭhooses the SDK or the runtime. The packages added to package manager feeds are named in a hackable format, for example. However, the requested version may not be available. You can try and use the package manager to install a different version of. NET are available for download at, but require manual installation. The following table lists the packages:Īll versions of. NET package names are standardized across all Linux distributions. NET Runtime, which doesn't include ASP.NET Core support: replace aspnetcore-runtime-7.0 in the previous command with dotnet-runtime-7.0: sudo apt-get install -y dotnet-runtime-7.0 If you receive an error message similar to Unable to locate package aspnetcore-runtime-7.0, see the troubleshooting section.Īs an alternative to the ASP.NET Core Runtime, you can install the.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |