How To Install pygopherd on Debian 10

Learn how to install pygopherd on Debian 10 with this tutorial. pygopherd is Modular Multiprotocol Gopher/HTTP/WAP Server in Python

Introduction

In this tutorial we learn how to install pygopherd on Debian 10.

What is pygopherd

pygopherd is:

This is an all-new, modern Gopher server. It can serve documents with Gopher+, standard Gopher (RFC1436), HTTP, and WAP – all on the same port. Pygopherd features a modular extension system as well as loadable scripts and much more. It contains full support for UMN gopherd systems – including .Links, .names, .cap, searches, etc. Pygopherd also supports Bucktooth features such as gophermap files and executables. In addition to all this, there are Pygopherd’s own extra features. All features are fully customizable and can be enabled or disabled by editing /etc/pygopherd/pygopherd.conf.

This version of PyGopherd introduces WAP support.

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

Install pygopherd Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install pygopherd

Install pygopherd Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install pygopherd using apt by running the following command:

sudo apt -y install pygopherd

Install pygopherd 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 pygopherd using aptitude by running the following command:

sudo aptitude -y install pygopherd

How To Uninstall pygopherd on Debian 10

To uninstall only the pygopherd package we can use the following command:

sudo apt-get remove pygopherd

Uninstall pygopherd And Its Dependencies

To uninstall pygopherd and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove pygopherd

Remove pygopherd Configurations and Data

To remove pygopherd configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge pygopherd

Remove pygopherd configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge pygopherd

Dependencies

pygopherd have the following dependencies:

References

Summary

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