Skip to main content
Redhat Developers  Logo
  • AI

    Get started with AI

    • Red Hat AI
      Accelerate the development and deployment of enterprise AI solutions.
    • AI learning hub
      Explore learning materials and tools, organized by task.
    • AI interactive demos
      Click through scenarios with Red Hat AI, including training LLMs and more.
    • AI/ML learning paths
      Expand your OpenShift AI knowledge using these learning resources.
    • AI quickstarts
      Focused AI use cases designed for fast deployment on Red Hat AI platforms.
    • No-cost AI training
      Foundational Red Hat AI training.

    Featured resources

    • OpenShift AI learning
    • Open source AI for developers
    • AI product application development
    • Open source-powered AI/ML for hybrid cloud
    • AI and Node.js cheat sheet

    Red Hat AI Factory with NVIDIA

    • Red Hat AI Factory with NVIDIA is a co-engineered, enterprise-grade AI solution for building, deploying, and managing AI at scale across hybrid cloud environments.
    • Explore the solution
  • Learn

    Self-guided

    • Documentation
      Find answers, get step-by-step guidance, and learn how to use Red Hat products.
    • Learning paths
      Explore curated walkthroughs for common development tasks.
    • Guided learning
      Receive custom learning paths powered by our AI assistant.
    • See all learning

    Hands-on

    • Developer Sandbox
      Spin up Red Hat's products and technologies without setup or configuration.
    • Interactive labs
      Learn by doing in these hands-on, browser-based experiences.
    • Interactive demos
      Click through product features in these guided tours.

    Browse by topic

    • AI/ML
    • Automation
    • Java
    • Kubernetes
    • Linux
    • See all topics

    Training & certifications

    • Courses and exams
    • Certifications
    • Skills assessments
    • Red Hat Academy
    • Learning subscription
    • Explore training
  • Build

    Get started

    • Red Hat build of Podman Desktop
      A downloadable, local development hub to experiment with our products and builds.
    • Developer Sandbox
      Spin up Red Hat's products and technologies without setup or configuration.

    Download products

    • Access product downloads to start building and testing right away.
    • Red Hat Enterprise Linux
    • Red Hat AI
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Featured

    • Red Hat build of OpenJDK
    • Red Hat JBoss Enterprise Application Platform
    • Red Hat OpenShift Dev Spaces
    • Red Hat Developer Toolset

    References

    • E-books
    • Documentation
    • Cheat sheets
    • Architecture center
  • Community

    Get involved

    • Events
    • Live AI events
    • Red Hat Summit
    • Red Hat Accelerators
    • Community discussions

    Follow along

    • Articles & blogs
    • Developer newsletter
    • Videos
    • Github

    Get help

    • Customer service
    • Customer support
    • Regional contacts
    • Find a partner

    Join the Red Hat Developer program

    • Download Red Hat products and project builds, access support documentation, learning content, and more.
    • Explore the benefits

.NET 6 now available for RHEL and OpenShift

November 15, 2021
Mauricio "Maltron" Leal
Related topics:
.NETLinuxOpen source
Related products:
Red Hat OpenShiftRed Hat OpenShift Container PlatformRed Hat Enterprise Linux

    .NET 6 is now generally available on Red Hat Enterprise Linux (RHEL) 7, RHEL 8, and Red Hat OpenShift. Here's a quick overview of what developers need to know about this new major release.

    New features in .NET 6

    In addition to x64 architecture (64-bit Intel/AMD), .NET is now also available for ARM64 (64-bit ARM), and s390x (64-bit IBM Z) architectures.

    .NET 6 includes new language versions C# 10 and F# 6.

    ASP.NET Core adds a new minimal API that leverages new C# 10 features to write web applications with less code.

    Like previous versions, .NET 6 brings many performance improvements to the base libraries, GC and JIT.

    .NET 6 introduces source generators for logging and JSON. Thanks to these generators, JSON serialization and logging can be performed with less allocation and better performance.

    How to install .NET 6

    You can install .NET 6 on RHEL 7 (x64 only) with the usual command:

    # yum install rh-dotnet60

    On RHEL 8 (for x64, arm64, and s390x), enter:

    # dnf install dotnet-sdk-6.0

    The .NET 6 SDK and runtime container images are available from the Red Hat Container Registry. You can use the container images as standalone images and with OpenShift on all supported architectures:

    $ podman run --rm registry.redhat.io/ubi8/dotnet-60 dotnet --version
    
    6.0.100

    Long-term support for .NET 6

    .NET 6 is a long-term support (LTS) release. It will be supported for three years, until November 2024.

    Based on the .NET release schedule, the next version of .NET, .NET 7, is not an LTS release. It will be released in November 2022 and supported for 18 months until May 2024.

    The next LTS release is .NET 8, which will be released in November 2023.

    The existing .NET Core 3.1 and .NET 5 releases will be supported until December 2022 and May 2022, respectively.

    Where to learn more

    Visit the .NET overview page to find out more about using .NET on Red Hat Enterprise Linux and OpenShift. You can also explore more .NET resources on Red Hat Developer:

    • Learn three ways to containerize .NET applications on Red Hat OpenShift.
    • Deploy .NET applications on Red Hat OpenShift using Helm.
    Last updated: September 20, 2023

    Related Posts

    • RHEL 8.5: OpenJDK 17, .NET 6, and more

    • Three ways to containerize .NET applications on Red Hat OpenShift

    • Containerize .NET for Red Hat OpenShift: Linux containers and .NET Core

    • Containerize .NET for Red Hat OpenShift: Use a Windows VM like a container

    • C# 9 top-level programs and target-typed expressions

    Recent Posts

    • Every layer counts: Defense in depth for AI agents with Red Hat AI

    • Fun in the RUN instruction: Why container builds with distroless images can surprise you

    • Trusted software factory: Building trust in the agentic AI era

    • Build a zero trust AI pipeline with OpenShift and RHEL CVMs

    • Red Hat Hardened Images: Top 5 benefits for software developers

    Red Hat Developers logo LinkedIn YouTube Twitter Facebook

    Platforms

    • Red Hat AI
    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Build

    • Developer Sandbox
    • Developer tools
    • Interactive tutorials
    • API catalog

    Quicklinks

    • Learning resources
    • E-books
    • Cheat sheets
    • Blog
    • Events
    • Newsletter

    Communicate

    • About us
    • Contact sales
    • Find a partner
    • Report a website issue
    • Site status dashboard
    • Report a security problem

    RED HAT DEVELOPER

    Build here. Go anywhere.

    We serve the builders. The problem solvers who create careers with code.

    Join us if you’re a developer, software engineer, web designer, front-end designer, UX designer, computer scientist, architect, tester, product manager, project manager or team lead.

    Sign me up

    Red Hat legal and privacy links

    • About Red Hat
    • Jobs
    • Events
    • Locations
    • Contact Red Hat
    • Red Hat Blog
    • Inclusion at Red Hat
    • Cool Stuff Store
    • Red Hat Summit
    © 2026 Red Hat

    Red Hat legal and privacy links

    • Privacy statement
    • Terms of use
    • All policies and guidelines
    • Digital accessibility

    Chat Support

    Please log in with your Red Hat account to access chat support.