How To Install wireshark-doc on Debian 9

In this tutorial we learn how to install wireshark-doc on Debian 9. wireshark-doc is network traffic analyzer - documentation

Introduction

In this tutorial we learn how to install wireshark-doc on Debian 9.

What is wireshark-doc

wireshark-doc is:

Wireshark is a network “sniffer” - a tool that captures and analyzes packets off the wire. Wireshark can decode too many protocols to list here.

This package contains Wireshark User’s guide, Wireshark Developer’s Guide and the Lua Reference.

There are three methods to install wireshark-doc on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install wireshark-doc Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install wireshark-doc using apt-get by running the following command:

sudo apt-get -y install wireshark-doc

Install wireshark-doc Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install wireshark-doc using apt by running the following command:

sudo apt -y install wireshark-doc

Install wireshark-doc Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install wireshark-doc using aptitude by running the following command:

sudo aptitude -y install wireshark-doc

How To Uninstall wireshark-doc on Debian 9

To uninstall only the wireshark-doc package we can use the following command:

sudo apt-get remove wireshark-doc

Uninstall wireshark-doc And Its Dependencies

To uninstall wireshark-doc and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove wireshark-doc

Remove wireshark-doc Configurations and Data

To remove wireshark-doc configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge wireshark-doc

Remove wireshark-doc configuration, data, and all of its dependencies

We can use the following command to remove wireshark-doc configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge wireshark-doc

Dependencies

wireshark-doc have the following dependencies:

References

Summary

In this tutorial we learn how to install wireshark-doc package on Debian 9 using different package management tools: apt, apt-get and aptitude.