How to Install or Uninstall lprng Ubuntu 22.04

Updated: September 20, 2022

The LPRng software is an enhanced, extended, and portable version of the Berkeley LPR software (the standards UNIX printer spooler) You can use this for local and remote printers. I will show you how to install lprng on Ubuntu 22.04 in this tutorial.

Prerequisites to install

  • Operating system: Ubuntu 22.04 is needed for lprng to work
  • Privileges: Make sure you are able to execute sudo commands.

Prerequisites to install lprng on Ubuntu 22.04

Install lprng Ubuntu 22.04

lprng is one of the popular ways on Ubuntu now so that this tutorial will show you how to install it in various ways. Choose the one that you think is easy and you can follow.

Install lprng using APT

This is one of the popular ways to install any Ubuntu packages because it is simple to understand, even if you are a Linux novice. Following these steps to install lprng on your Ubuntu 22.04.

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

sudo apt-get update

Step 2: Start the package installation on Ubuntu 22.04. After updating, you can install lprng Ubuntu by executing this command in the terminal.

sudo apt -y install lprng

Install lprng using Aptitude

Aptitude allows users to view a list of available packages and manage package installation, upgrade, and removal. If you haven’t already done so, run this command to install it.

sudo apt-get install aptitude

After that, you can now install lprng, just following these steps:

Step 1: You must update the APT package repository cache before attempting to install, update, or remove any packages. Obtain new packages from Ubuntu by updating the APT database. Opening the terminal and executing the following Linux command:

sudo apt -y update

Step 2: Start installing the packages on Ubuntu 22.04. You can now install lprng Ubuntu by executing this command in the terminal.

sudo aptitude -y install lprng

Uninstall lprng on Ubuntu 22.04

Have you ever considered how challenging it might be to uninstall an application from Ubuntu? You’re wrong, anyone can easily uninstall any program, not just a lprng.

This command can be used to uninstall lprng from Ubuntu 22.04 if it was installed using APT or Aptitude.

sudo apt remove --auto-remove lprng

If you want to uninstall lprng and remove its data and dependencies, you can also run the following command:

sudo apt autoremove --purge lprng

Ending

In this guide, I showed you ways to install lprng on Ubuntu 22.04 and some ways to uninstall lprng too. If you need any help, don’t hesitate to contact me. I’m very glad to answer them.