IronBarCode Linux Compatibility & Setup Guide

IronBarcode fully supports Linux for .NET Standard, .NET Core, and .NET Framework applications on a wide variety of distributions.

Linux Docker Azure Amazon Ubuntu Debian

No code changes are required to run IronBarcode on Linux. Generally speaking, IronBarcode works out of the box thanks to hundreds of hours of testing and configuration by our engineers.

Linux support is important as many of the cloud services today run on Linux. At Iron Software, we use these cloud tools regularly and understand that many of our Enterprise and SaaS customers do too.

Officially Supported Linux Distros

We officially support and recommend the latest 64-bit Linux distributions below for a "zero-configuration" setup of IronBarcode:

  • Ubuntu ≥18
  • Debian ≥10
  • CentOS ≥7

Other Linux distributions are supported in part, but may require additional manual configuration.

Linux Specific Package

The BarCode.Linux package enables barcode features on Linux devices via .NET cross-platform projects. The vanilla BarCode package is not needed.

PM > Install-Package BarCode.Linux

Ubuntu Compatibility

Ubuntu is our most tested Linux operating system. This is because it is heavily used in the Azure infrastructure that supports our continuous testing and deployment. This platform also has official Microsoft .NET support and official Docker images available.

Ubuntu 20

Microsoft Ubuntu Chrome Safari Docker Azure

Official Microsoft Docker Images:

Ubuntu 20 Setup

To run IronBarcode, first ensure you have sudo admin privileges, then add these commands to your Dockerfile:

# Update package lists
RUN apt update

# Install libgdiplus, a library used for GDI+ support
RUN apt install -y libgdiplus

Ubuntu 18

Microsoft Ubuntu Chrome Safari Docker Azure

Official Microsoft Docker Images

Ubuntu 18 Setup

To run IronBarcode, first ensure you have sudo admin privileges, then add these commands to your Dockerfile:

# Update package lists
RUN apt update

# Install libgdiplus, a library used for GDI+ support
RUN apt install -y libgdiplus

Debian 11

Debian Microsoft Chrome Safari Docker Azure

Official Microsoft Docker Images

Debian 11 Setup

To run IronBarcode, first ensure you have sudo admin privileges, then add these commands to your Dockerfile:

# Update package lists
RUN apt update

# Install libgdiplus, a library used for GDI+ support
RUN apt install -y libgdiplus

Debian 10

Debian Microsoft Chrome Safari Docker Azure

Official Microsoft Docker Images

Debian 10 Setup

To run IronBarcode, first ensure you have sudo admin privileges, then add these commands to your Dockerfile:

# Update package lists
RUN apt update

# Install libgdiplus, a library used for GDI+ support
RUN apt install -y libgdiplus

CentOS

CentOS 7 Setup

To run IronBarcode, first ensure you have sudo admin privileges, then add these commands to your Dockerfile:

# Install EPEL repository for extra packages
RUN yum install epel-release -y

# Install Mono, a cross-platform implementation of .NET
RUN yum install mono-complete -y

# Install libgdiplus and libc6-dev for graphics support
RUN yum install libgdiplus libc6-dev -y

Frequently Asked Questions

How can I integrate barcode operations in a Linux environment?

You can seamlessly integrate barcode operations in a Linux environment using IronBarcode, which supports .NET Standard, .NET Core, and .NET Framework applications. It works on various Linux distributions, including Ubuntu, Debian, and CentOS, without requiring code modifications.

What steps are required to install IronBarcode on Ubuntu 20?

To install IronBarcode on Ubuntu 20, ensure you have sudo admin privileges. Update your package list with apt update and install the required library using apt install -y libgdiplus.

Can IronBarcode be used with cloud services running on Linux?

Yes, IronBarcode can be used with cloud services running on Linux. Its compatibility with Linux makes it an ideal choice for enterprise and SaaS customers who rely on Linux-based cloud infrastructures.

Do I need additional libraries to run IronBarcode on CentOS 7?

Yes, for CentOS 7, you need to install the EPEL repository, Mono, libgdiplus, and libc6-dev using the yum package manager to ensure IronBarcode functions correctly.

Why is Ubuntu recommended for running IronBarcode?

Ubuntu is recommended because it is extensively tested within Azure infrastructure, supports official Microsoft .NET and Docker images, and offers a straightforward setup for IronBarcode.

What role does libgdiplus play in IronBarcode's setup on Linux?

The libgdiplus library provides GDI+ support, which is essential for IronBarcode to perform barcode operations on Linux systems.

Are there Docker images available for setting up IronBarcode on Linux?

Yes, official Microsoft Docker images are available for .NET Standard and ASP.NET Core, which can be used to set up IronBarcode on Linux.

Is manual configuration needed for Linux distributions other than Ubuntu, Debian, or CentOS?

Yes, while other Linux distributions are supported, they may require additional manual configuration beyond what is needed for Ubuntu, Debian, or CentOS.

How does IronBarcode enhance functionality for developers on Linux?

IronBarcode simplifies the integration of barcode operations in Linux environments, providing a robust solution that enhances functionality for developers and businesses without requiring code changes.

Chaknith Bin
Software Engineer
Chaknith works on IronXL and IronBarcode. He has deep expertise in C# and .NET, helping improve the software and support customers. His insights from user interactions contribute to better products, documentation, and overall experience.