How to Uninstall and Install urlscan on Ubuntu 22.04

Updated: September 10, 2022

urlscan searches for URLs in email messages, then displays a list of them in the current terminal. It is primarily meant as a replacement for urlview, which it improves upon in the following ways: I will show you how to install urlscan on Ubuntu 22.04 in this tutorial.

Software Requirement

  • Operating system: urlscan needs Ubuntu 22.04 to work
  • Privileges: Ascertain that you are able to execute sudo commands.

Prerequisites to install urlscan on Ubuntu 22.04

Install urlscan Ubuntu 22.04

urlscan 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 you believe is simple and easy to follow.

Install urlscan using APT

This is a popular method for installing any Ubuntu packages because it is simple to understand, even if you are a Linux beginner. Following these steps to install urlscan on your Ubuntu 22.04.

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. Launch the terminal and enter the following Linux command:

sudo apt update

Step 2: Start the package installation on Ubuntu 22.04. After updating the system, you can install urlscan Ubuntu by pasting this command into the terminal and pressing Enter.

sudo apt-get -y install urlscan

Install urlscan using Aptitude

If you didn’t install Aptitude on Ubuntu, you need to install it by executing this command.

sudo apt -y install aptitude

After that, you can now install urlscan by following these steps:

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 download new packages from Ubuntu. Launching the terminal and entering the following Linux command:

sudo apt-get update

Step 2: Start the package installation on Ubuntu 22.04. After updating, you can install urlscan Ubuntu by pasting this command into the terminal and pressing Enter.

sudo aptitude -y install urlscan

Uninstall urlscan on Ubuntu 22.04

Have you ever considered how difficult it is to uninstall an application from Ubuntu? You are mistaken; anyone, not just package administrators, can easily uninstall any program.

If you installed urlscan using APT or Aptitude, you could uninstall urlscan on Ubuntu by executing this command

sudo apt remove --auto-remove urlscan

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

sudo apt autoremove --purge urlscan

Ending

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