How to Install and Uninstall libbarcode-code128-perl Ubuntu 22.04

Updated: October 22, 2022

Barcode::Code128 generates bar codes using the CODE 128 symbology. It can generate images in PNG or GIF format using the GD package, or it can generate a text string representing the barcode that you can render using some other technology if desired. In this guide, I will show you ways to install libbarcode-code128-perl Ubuntu 22.04.

Prerequisites to install

  • OS: Ubuntu 22.04 or older Ubuntu versions
  • Privileges: Make sure that you can run the sudo commands line.

Prerequisites to install libbarcode-code128-perl on Ubuntu 22.04

Install libbarcode-code128-perl Ubuntu 22.04

libbarcode-code128-perl is one of the popular ways on Ubuntu now so that this tutorial will show you some ways to install it. Choose the one that you think is easy and you can follow.

Install libbarcode-code128-perl using APT

This is one of the popular ways to install any Ubuntu packages because it’s easy to follow, even if you are a newbie in Linux. Following these steps to install libbarcode-code128-perl on your Ubuntu.

Step 1: The APT package repository cache needs to be updated before you try to install, update, or remove any packages. Update the APT database to fetch new packages from Ubuntu. Opening the terminal and executing the following Linux command:

sudo apt-get -y update

Step 2: Install the package on Ubuntu 22.04. After updating, you can install libbarcode-code128-perl Ubuntu by executing this command in the terminal.

sudo apt-get install libbarcode-code128-perl

Install libbarcode-code128-perl using Aptitude

If you haven’t already installed Aptitude on Ubuntu, run this command to do so.

sudo apt-get -y install aptitude

After installing, you can now install libbarcode-code128-perl by following these steps:

Step 1: Obtain new packages from Ubuntu by updating the APT database. Opening the terminal and executing the following Linux command:

sudo apt-get -y update

Step 2: Start the package installation on Ubuntu 22.04. After updating the system, you can install libbarcode-code128-perl Ubuntu by executing this command in the terminal.

sudo aptitude -y install libbarcode-code128-perl

Uninstall libbarcode-code128-perl on Ubuntu 22.04

Have you ever thought that uninstalling an application from Ubuntu is difficult? You are mistaken; Anyone can easily uninstall any program, not just libbarcode-code128-perl.

If you installed libbarcode-code128-perl using APT or Aptitude, you could uninstall libbarcode-code128-perl on Ubuntu by running this command

sudo apt remove --auto-remove libbarcode-code128-perl

To uninstall libbarcode-code128-perl and remove its data and dependencies, you can also use the following command:

sudo apt autoremove --purge libbarcode-code128-perl

Summary

In this tutorial, I showed you ways to install libbarcode-code128-perl on Ubuntu 22.04 and some ways to uninstall libbarcode-code128-perl too. Please contact me if you require any assistance. I’d be delighted to respond.