Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

IronBarCode Linux Compatibility & Setup Guide

Based on https://ironsoftware.com/get-started/linux/

IronBarcode is fully compatible with Linux and supports .NET Standard, .NET Core, and .NET Framework across various Linux distributions.

Linux Docker Azure Amazon Ubuntu Debian

Operating IronBarcode on Linux does not require any modifications to your existing code, as it is fully operational from the start due to extensive testing and optimization by our development team.

With cloud services predominantly running on Linux platforms, it is crucial to support Linux at Iron Software. We utilize these technologies extensively and know that many of our Enterprise and SaaS clients depend on them too.

Officially Supported Linux Distributions

We officially support the following 64-bit Linux distributions, ensuring a seamless, zero-configuration setup for IronBarcode:

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

While these distributions are fully supported, others may still work but could require some manual setup for optimal performance.

Linux Specific Barcode Package

The BarCode.Linux package is designed to provide barcode functionality on Linux systems for .NET cross-platform projects. This package specifically targets Linux environments, so the standard BarCode package is not required.

PM > Install-Package BarCode.Linux

Enhanced Ubuntu Compatibility

Ubuntu is the primary operating system we test on, due to its widespread use in cloud infrastructure like Azure, which supports our rigorous testing and deployment processes. Ubuntu also enjoys full support from Microsoft .NET and has official Docker images available.

Ubuntu 20

Microsoft Ubuntu Chrome Safari Docker Azure

Official Microsoft Docker Images

Setup for Ubuntu 20

When setting up IronBarcode on Ubuntu 20, begin by gaining sudo admin rights, then incorporate the following commands into your Dockerfile:

# Update the package list

***Based on <https://ironsoftware.com/get-started/linux/>***

RUN apt update

# Install libgdiplus for GDI+ graphic support

***Based on <https://ironsoftware.com/get-started/linux/>***

RUN apt install -y libgdiplus

Ubuntu 18

Ubuntu 18 setup mirrors that of Ubuntu 20 with identical requirements and Docker image recommendations. Follow the same instructions as above to enable IronBarcode on Ubuntu 18.

Debian Support

Debian 11 and Debian 10 Environments:

Here are the Docker configurations for Debian 11 and 10:

Debian Microsoft Chrome Safari Docker Azure

Official Microsoft Docker Images

Setup for Debian

For Debian systems, use these Docker commands to prepare the environment for IronBarcode:

# Refresh the package database

***Based on <https://ironsoftware.com/get-started/linux/>***

RUN apt update

# Install GDI+ support with libgdiplus

***Based on <https://ironsoftware.com/get-started/linux/>***

RUN apt install -y libgdiplus

CentOS

CentOS 7 Configuration

To get IronBarcode functional on CentOS 7, execute the following Docker commands:

# Add EPEL repository for additional packages

***Based on <https://ironsoftware.com/get-started/linux/>***

RUN yum install epel-release -y

# Install Mono for .NET compatibility

***Based on <https://ironsoftware.com/get-started/linux/>***

RUN yum install mono-complete -y

# Incorporate libgdiplus and libc6-dev for enhanced graphics support

***Based on <https://ironsoftware.com/get-started/linux/>***

RUN yum install libgdiplus libc6-dev -y