Paul Krill
Editor at Large

Microsoft .NET 6 bundled with Ubuntu Linux

news
Aug 17, 20222 mins

Microsoft’s flagship development platform is being made available with Ubuntu 22.04 and Ubuntu Chiseled Containers in a bid to ease .NET development on Linux.

Neon sign > handshake / deal / agreement / partnership / team / merger

Microsoft’s flagship cross-platform development platform, .NET 6, is now available in Canonical’s Ubuntu Linux distribution. The goal is to simplify access to Microsoft’s development platform and improve Ubuntu as a platform for .NET application development, the companies said.

Specifically, .NET 6 is being bundled with Ubuntu 22.04 and Ubuntu Chiseled Containers, the latter being Linux container images that improve security by minimizing services and omitting a package manager and shell. Microsoft and Ubuntu said they will work together to ensure new .NET releases are available with new Ubuntu releases.

.NET 6 arrived last November. The platform can be installed with the apt install dotnet6 command on Ubuntu. The .NET 6 SDK can be installed on Ubuntu 22.04 via the following commands, according to an August 16 bulletin:

sudo apt update
sudo apt install dotnet6

The Chiseled Ubuntu image is 100MB smaller than previous Ubuntu images, Canonical said. The command to pull the ASP.NET Chiseled Image is as follows:

docker pull mcr.microsoft.com/dotnet/nightly/aspnet:6.0-jammy-chiseled

Three layers of Chiseled Ubuntu images with .NET are being offered 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 images will be offered in the nightly repos while Chiseled Ubuntu is in a preview stage. They will be supported in production later this year.

Canonical is publishing Chiseled Ubuntu container images for .NET that include new APT packages, via 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 release .NET 7 in November. It is now a preview phase.

Paul Krill

Paul Krill is editor at large at InfoWorld. Paul has been covering computer technology as a news and feature reporter for more than 35 years, including 30 years at InfoWorld. He has specialized in coverage of software development tools and technologies since the 1990s, and he continues to lead InfoWorld’s news coverage of software development platforms including Java and .NET and programming languages including JavaScript, TypeScript, PHP, Python, Ruby, Rust, and Go. Long trusted as a reporter who prioritizes accuracy, integrity, and the best interests of readers, Paul is sought out by technology companies and industry organizations who want to reach InfoWorld’s audience of software developers and other information technology professionals. Paul has won a “Best Technology News Coverage” award from IDG.

More from this author