Przewodnik po kompatybilności i konfiguracji IronBarcode dla systemu Linux
IronBarcode w pełni obsługuje system Linux dla aplikacji .NET Standard, .NET Core i .NET Framework w wielu różnych dystrybucjach.
Uruchomienie IronBarcode w systemie Linux nie wymaga żadnych zmian w kodzie. Ogólnie rzecz biorąc, IronBarcode działa od razu po instalacji dzięki setkom godzin testów i konfiguracji przeprowadzonych przez naszych inżynierów.
Obsługa systemu Linux jest ważna, ponieważ wiele dzisiejszych usług w chmurze działa właśnie na tym systemie. W Iron Software regularnie korzystamy z tych narzędzi chmurowych i rozumiemy, że wielu naszych klientów z sektora Enterprise i SaaS również to robi.
Oficjalnie obsługiwane dystrybucje systemu Linux
Oficjalnie obsługujemy i zalecamy najnowsze 64-bitowe dystrybucje systemu Linux wymienione poniżej do konfiguracji IronBarcode bez konieczności wprowadzania ustawień:
- Ubuntu ≥18
- Debian ≥10
- CentOS ≥7
Inne dystrybucje Linuksa są częściowo obsługiwane, ale mogą wymagać dodatkowej ręcznej konfiguracji.
Pakiet przeznaczony dla systemu Linux
Pakiet BarCode.Linux umożliwia funkcje kodów kreskowych na urządzeniach z Linuxem w projektach wieloplatformowych .NET. Standardowy pakiet BarCode nie jest potrzebny.
Zgodność z Ubuntu
Ubuntu to nasz najlepiej przetestowany system operacyjny Linux. Wynika to z faktu, że jest ono szeroko stosowane w infrastrukturze Azure, która wspiera nasze ciągłe testowanie i wdrażanie. Platforma ta oferuje również oficjalną obsługę Microsoft .NET oraz oficjalne obrazy Docker.
Ubuntu 20
Oficjalne obrazy Docker od Microsoft:
Konfiguracja Ubuntu 20
Aby uruchomić IronBarcode, najpierw upewnij się, że masz uprawnienia administratora sudo, a następnie dodaj te polecenia do pliku Dockerfile:
# Update package lists
RUN apt update
# Install libgdiplus, a library used for GDI+ support
RUN apt install -y libgdiplus
Ubuntu 18
Oficjalne obrazy Docker firmy Microsoft
Konfiguracja Ubuntu 18
Aby uruchomić IronBarcode, najpierw upewnij się, że masz uprawnienia administratora sudo, a następnie dodaj te polecenia do pliku Dockerfile:
# Update package lists
RUN apt update
# Install libgdiplus, a library used for GDI+ support
RUN apt install -y libgdiplus
Debian 11
Oficjalne obrazy Docker firmy Microsoft
Konfiguracja Debian 11
Aby uruchomić IronBarcode, najpierw upewnij się, że masz uprawnienia administratora sudo, a następnie dodaj te polecenia do pliku Dockerfile:
# Update package lists
RUN apt update
# Install libgdiplus, a library used for GDI+ support
RUN apt install -y libgdiplus
Debian 10
Oficjalne obrazy Docker firmy Microsoft
Konfiguracja Debian 10
Aby uruchomić IronBarcode, najpierw upewnij się, że masz uprawnienia administratora sudo, a następnie dodaj te polecenia do pliku Dockerfile:
# Update package lists
RUN apt update
# Install libgdiplus, a library used for GDI+ support
RUN apt install -y libgdiplus
CentOS
Konfiguracja CentOS 7
Aby uruchomić IronBarcode, najpierw upewnij się, że masz uprawnienia administratora sudo, a następnie dodaj te polecenia do pliku 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 -yCzęsto Zadawane Pytania
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.
Is IronBarcode compatible with .NET 10 on Linux, and what platforms are supported?
Yes, IronBarcode supports .NET 10 across Linux platforms. The BarCode.Linux package works with .NET 10, along with .NET 9, 8, 7, 6, 5, .NET Core 2.x & 3.x, .NET Standard 2.x and .NET Framework 4.6.2+. ([ironsoftware.com](https://ironsoftware.com/csharp/barcode/features/compatibility/?utm_source=openai))

