How To Install Zint, A Barcode Generator On Ubuntu 24.04

Zint_Barcode

in this tutorial, we will discuss about Zint. What is Zint application, what is its use and how to install it in Linux Ubuntu.

Introduction

Zint: A Versatile Barcode Generator is an open-source software library and toolset designed to create a wide variety of barcodes. It supports over 50 barcode symbologies, including popular formats like QR Code, Code 128, EAN-13, Data Matrix, and more. Zint caters to developers, businesses, and individual users by offering flexibility in generating machine-readable barcodes for diverse use cases.

Key Highlights of Zint

  1. Extensive Barcode Support: It supports both linear barcodes (like Code 39 and EAN) and 2D barcodes (like QR Code and PDF417).
  2. Multi-Platform Compatibility: Zint runs seamlessly on Linux, Windows, and macOS.
  3. Customization Options: Users can adjust barcode size, colors, error correction levels, and other properties.
  4. Graphical and Command-Line Interfaces: Zint provides a GUI (Zint Barcode Studio) for visual interaction and a CLI for automation or scripting.
  5. Integration as a Library: Developers can integrate Zint into their applications for barcode generation.
  6. Open Source: It is freely available under the GNU General Public License (GPL), making it accessible to a wide range of users.

Typical Use Cases

  • Generating barcodes for packaging, inventory management, and shipping labels.
  • Encoding URLs, Wi-Fi credentials, or contact information in QR Codes.
  • Developing custom applications that require barcode functionality.

Zint’s versatility makes it an excellent choice for anyone needing to generate barcodes for personal, professional, or commercial purposes.

How To Install Zint On Ubuntu 24.04 LTS Linux Operating System

Follow these steps to install Zint on an Ubuntu system:

1. Update Your System
2. Install Zint
3. Verify Zint Installation

Step 1: Update Your System

Ensure your system is up-to-date. Open a terminal and run:

$ sudo apt update && sudo apt upgrade -y

Step 2: Install Zint

Zint is available in Ubuntu’s default repository, which simplifies the installation process. Use the following command:

$ sudo apt install zint

Output is as shown :

ramansah@dev02:~$ sudo apt install zint
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
libzint2.13
The following NEW packages will be installed:
libzint2.13 zint
0 upgraded, 2 newly installed, 0 to remove and 3 not upgraded.
Need to get 632 kB of archives.
After this operation, 1,457 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://id.archive.ubuntu.com/ubuntu noble/universe amd64 libzint2.13 amd64 2.13.0-1build3 [455 kB]
Get:2 http://id.archive.ubuntu.com/ubuntu noble/universe amd64 zint amd64 2.13.0-1build3 [177 kB]
Fetched 632 kB in 1s (471 kB/s)
[master 8f45281] saving uncommitted changes in /etc prior to apt run
Author: ramansah <ramansah@dev02.bckinfo.com>
3 files changed, 4 insertions(+), 4 deletions(-)
Selecting previously unselected package libzint2.13.
(Reading database ... 303392 files and directories currently installed.)
Preparing to unpack .../libzint2.13_2.13.0-1build3_amd64.deb ...
Unpacking libzint2.13 (2.13.0-1build3) .....................................................................] 
Selecting previously unselected package zint.
Preparing to unpack .../zint_2.13.0-1build3_amd64.deb ...
Unpacking zint (2.13.0-1build3) ...
Setting up libzint2.13 (2.13.0-1build3) ...
Setting up zint (2.13.0-1build3) ...
Processing triggers for man-db (2.12.0-4build2) ...
Processing triggers for libc-bin (2.39-0ubuntu8.3) ...

Step 3: Verify the Installation

Once the installation is complete, check the installed version of Zint by running:

ramansah@dev02:~$ zint --version
Zint version 2.13.0

Using Zint on Ubuntu

1. Generating a Barcode via CLI

To create a barcode using the command-line tool:

$ zint -d "https://bckinfo.com" -o bckinfo_zint.png

After submitting the command line above, then we will find the barcode on home directory, as shown below :

Zint_Barcode

 

 

 

 

 

 

 

 

 

2. Using the GUI

  • Open Zint Barcode Studio from the applications menu.
  • Enter the data you want to encode.
  • Select the desired barcode type.
  • Customize the barcode’s appearance.
  • Save or export the barcode.

Conclusion

Zint is a robust and versatile tool for creating various barcode types, whether you need it for personal projects or business purposes. Its support for both CLI and GUI makes it accessible for users with different levels of expertise.

With this guide, you can easily install and start using Zint on your Ubuntu system. Dive into the world of barcodes and explore how Zint can simplify your data representation needs!

(Visited 68 times, 1 visits today)

You may also like