Microsoft’s flagship cross-platform improvement platform, .NET 6, is now obtainable in Canonical’s Ubuntu Linux distribution. The aim is to simplify entry to Microsoft’s improvement platform and enhance Ubuntu as a platform for .NET utility improvement, the businesses stated.
Particularly, .NET 6 is being bundled with Ubuntu 22.04 and Ubuntu Chiseled Containers, the latter being Linux container photographs that enhance safety by minimizing providers and omitting a bundle supervisor and shell. Microsoft and Ubuntu stated they are going to work collectively to make sure new .NET releases can be found with new Ubuntu releases.
.NET 6 arrived final November. The platform will be put in with the apt set up dotnet6
command on Ubuntu. The .NET 6 SDK will be put in on Ubuntu 22.04 by way of the next instructions, in keeping with an August 16 bulletin:
sudo apt replace
sudo apt set up dotnet6
The Chiseled Ubuntu picture is 100MB smaller than earlier Ubuntu photographs, Canonical stated. The command to tug the ASP.NET Chiseled Picture is as follows:
docker pull mcr.microsoft.com/dotnet/nightly/aspnet:6.0-jammy-chiseled
Three layers of Chiseled Ubuntu photographs with .NET are being supplied for Arm64 and x64:
- mcr.microsoft.com/dotnet/nightly/runtime-deps:6.0-jammy-chiseled
- mcr.microsoft.com/dotnet/nightly/runtime:6.0-jammy-chiseled
- mcr.microsoft.com/dotnet/nightly/aspnet:6.0-jammy-chiseled
These photographs can be supplied within the nightly repos whereas Chiseled Ubuntu is in a preview stage. They are going to be supported in manufacturing later this 12 months.
Canonical is publishing Chiseled Ubuntu container photographs for .NET that embrace new APT packages, by way of Docker Hub:
- https://hub.docker.com/r/ubuntu/dotnet-deps
- https://hub.docker.com/r/ubuntu/dotnet-runtime
- https://hub.docker.com/r/ubuntu/dotnet-aspnet
Microsoft plans to launch .NET 7 in November. It’s now a preview part.
Copyright © 2022 IDG Communications, Inc.