How To Install procserv on Ubuntu 22.04

In this tutorial we learn how to install procserv on Ubuntu 22.04. procserv is Process server with telnet console and log access

Introduction

In this tutorial we learn how to install procserv on Ubuntu 22.04.

What is procserv

procserv is:

procServ is a wrapper that starts an arbitrary command as a child process in the background, connecting its standard input and output to a TCP port for telnet access. It supports logging, child restart (manual or automatic on exit), and more.

procServ does not have the rich feature set of the screen utility, but is intended to provide running a command in a system service style, in a small, robust way. Handling multiple users, authorization, authentication, central logging is done best on a higher level, using a package like conserver.

For security reasons, procServ only accepts connections from localhost.

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

Install procserv Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install procserv

Install procserv Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install procserv

Install procserv 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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install procserv

How To Uninstall procserv on Ubuntu 22.04

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

sudo apt-get remove procserv

Uninstall procserv And Its Dependencies

To uninstall procserv and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:

sudo apt-get -y autoremove procserv

Remove procserv Configurations and Data

To remove procserv configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge procserv

Remove procserv configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge procserv

References

Summary

In this tutorial we learn how to install procserv package on Ubuntu 22.04 using different package management tools: apt, apt-get and aptitude.