Tuesday, August 16, 2022
HomeOperating SystemMicrosoft and Canonical announce native .NET availability in Ubuntu 22.04 hosts and...

Microsoft and Canonical announce native .NET availability in Ubuntu 22.04 hosts and containers


  • .NET builders at the moment are capable of set up the ASP.NET and .NET SDK and runtimes from Ubuntu 22.04 LTS with a single “apt set up” command
  • Canonical releases new, ultra-small OCI-compliant equipment pictures, with out a shell or bundle supervisor, for each the .NET 6 LTS and ASP.NET runtimes
  • Microsoft and Canonical are collaborating to safe the software program provide chain between .NET and Ubuntu and to offer enterprise-grade help

Canonical is proud to welcome the .NET growth platform, one in every of Microsoft’s earliest contributions to open supply initiatives, as a local expertise on Ubuntu hosts and container pictures, beginning in Ubuntu 22.04 LTS.

.NET builders will have the ability to begin their Linux journey with Ubuntu, benefiting from well timed safety patches and new releases.

.NET 6 customers and builders can now set up the .NET 6 packages on Ubuntu with a easy apt set up dotnet6 command. Optimised, pre-built, ultra-small container pictures are additionally now obtainable to make use of out of the field.

.NET as an Ubuntu .deb bundle is the results of an in depth collaboration between Microsoft and Canonical. The 2 firms are working collectively to ship well timed safety patches and new releases to Ubuntu. That is the inspiration for extra capabilities to comply with for the open-source framework on Ubuntu, for hosts and minimised container pictures.

“Working with Canonical has enabled us to concurrently ship ease of use and improved safety to .NET builders,” stated Richard Lander, Program Supervisor, .NET. “The challenge advantages from Canonical’s management within the Linux ecosystem, and from Microsoft’s depth of expertise on dev instruments and platforms. The result’s a mixture of in-box packages and container pictures that can profit group builders and enormous Enterprise prospects alike by open supply.”

“Ubuntu now has an end-to-end story from growth to manufacturing with ultra-small supported container pictures, beginning with the .NET platform”, stated Valentin Viennot, Product Supervisor, Canonical. “We predict it’s an enormous enchancment for each our communities; collaborating with the .NET staff at Microsoft has enabled us to go above and past”.

With this new addition to Canonical’s repositories, putting in and maintaining .NET and ASP.NET updated on Ubuntu 22.04 LTS is easy:

# shortly set up a bundle with each the SDK and the runtime
sudo apt replace && sudo apt set up dotnet6
# or cherry-pick solely the dependencies it's worthwhile to develop or run
sudo apt set up dotnet-sdk-6.0
sudo apt set up dotnet-runtime-6.O
sudo apt set up aspnetcore-runtime-6.0

Software program provenance is extra crucial than ever to all open supply customers. Open-source communities and enterprises each have to be assured of their software program dependencies.

Canonical and Microsoft have labored collectively to share content material with one another immediately, with no intermediaries. “We now have what’s successfully a zero-distance provide chain for all Canonical property”, stated Richard Lander, .NET Program Supervisor at Microsoft.

Microsoft lately arrange a distro maintainer group for .NET. Canonical is now a member of that group, contributing to safe the software program provide chain, from supply to packages.

Canonical’s software program repositories proceed to develop. Over 28,000 packages are already obtainable so far, with unique and prolonged safety patching for Ubuntu Professional and Ubuntu Benefit subscribers, in addition to free group customers.

Well timed safety patches and releases

.NET and Ubuntu’s long-term supported (LTS) releases happen in several years however are completely aligned. The .NET LTS ships in November of strange years and the Ubuntu LTS ships in April of the next even yr.

Consequently, Ubuntu customers will all the time have a recent new .NET LTS in every Ubuntu LTS sequence. This mix is the logical selection for builders and software program distributors, combining two safe and secure product releases to type a trusted basis for his or her purposes. Microsoft and Canonical are dedicated to working collectively to ensure that new .NET releases can be found with new Ubuntu releases, and that they work nicely collectively.

Establishing the shortest belief chain between Microsoft and Canonical has been crucial to constructing this partnership. The outcome is a simple developer expertise, and an everyday steam of safety patches and updates.

The .NET growth platform was one in every of Microsoft’s earliest contributions to open-source initiatives. Its developer group consists of greater than 5 million .NET builders, with many adopting Linux and Linux-based OCI containers at runtime.

Ubuntu has been a well-liked selection for builders utilizing containers for the reason that first days of Docker. Alongside the launch of .NET on Ubuntu, Canonical can be providing a brand new kind of container pictures, composing with solely the strict set of packages and recordsdata required at runtime.

These “chiselled” pictures – so-called as a result of all the things not wanted to offer a minimal Ubuntu picture optimised for OCI containers has been reduce away – tackle developer suggestions round assault floor and picture measurement, with out sacrificing Ubuntu’s stability and familiarity.

Thus far, this course of has reduce 100MB away, delivering the smallest Ubuntu-based OCI picture ever printed at lower than 6MB (compressed). Canonical’s aim is to ship the smallest footprint ever achieved in an OCI picture, whereas nonetheless offering identified and trusted Ubuntu content material.

Canonical has launched into beta two new Ubuntu-based OCI pictures for .NET 6, maintained as a part of the present portfolio of LTS pictures:

These first chiselled Ubuntu pictures for the .NET and ASP.NET runtimes are additionally obtainable from Microsoft, from the Microsoft Artifact Registry (MCR).

What’s subsequent?

This challenge is the primary of a sequence of initiatives Canonical has deliberate for .NET and Ubuntu. Learn extra about this partnership on Microsoft’s weblog.

.NET deb packages at the moment are in Ubuntu Jammy 22.04 LTS for the x64 structure and can quickly be obtainable for the Arm64 structure in addition to on all newer Ubuntu releases.

Pre-built container pictures are already obtainable on the Azure Container Registry and on Docker Hub:

Extra assets:

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments