Ways to Install and Uninstall wireshark-dev Ubuntu 22.04

Updated: September 17, 2022

Wireshark is a network “sniffer” - a tool that captures and analyzes packets off the wire. Wireshark can decode too many protocols to list here. In this tutorial, I will show you ways to install wireshark-dev Ubuntu 22.04.

Prerequisites

  • Operating system: wireshark-dev needs Ubuntu 22.04 to work
  • Privileges: Make sure that you can run the sudo commands line.

Prerequisites to install wireshark-dev on Ubuntu 22.04

Install wireshark-dev Ubuntu 22.04

wireshark-dev is one of the popular ways on Ubuntu now so that this tutorial will show you some ways to install it. Choose the one you believe is simple and easy to follow.

Install wireshark-dev using APT

This is one of the most popular methods for installing Ubuntu packages since it is simple to understand, even if you are a Linux novice. Following these steps to install wireshark-dev on your Ubuntu 22.04.

Step 1: You must update the APT package repository cache before attempting 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 -y update

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

sudo apt-get install wireshark-dev

Install wireshark-dev using Aptitude

You must run this command to install Aptitude if you haven’t already done so on Ubuntu.

sudo apt-get install aptitude

After installing aptitude, you can now install wireshark-dev, just 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 -y update

Step 2: Install the package on Ubuntu 22.04. After updating, you can install wireshark-dev Ubuntu by pasting this command into the terminal and executing it.

sudo aptitude -y install wireshark-dev

Uninstall wireshark-dev on Ubuntu 22.04

Have you ever thought that uninstalling an application from Ubuntu might be challenging? You’re wrong; any program, not just a wireshark-dev, can be easily uninstalled by anyone.

You can uninstall wireshark-dev on Ubuntu by running this command if you installed it using APT or Aptitude.

sudo apt remove --auto-remove wireshark-dev

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

sudo apt autoremove --purge wireshark-dev

Summary

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