How To Install pawserv on Ubuntu 18.04

In this tutorial we learn how to install pawserv on Ubuntu 18.04. pawserv is CERNLIB data analysis suite - distributed PAW and file transfer servers

Introduction

In this tutorial we learn how to install pawserv on Ubuntu 18.04.

What is pawserv

pawserv is:

CERNLIB is a suite of data analysis tools and libraries created for use in physics experiments, but also with applications to other fields such as the biological sciences.

This package contains the server daemon for remote PAW clients. PAW is the Physics Analysis Workstation, a graphical analysis program. Included in the same binary is zserv, the server daemon for the ZFTP protocol; zserv is a macro-extensible file transfer program which supports the transfer of formatted, unformatted and ZEBRA RZ files (CMZ, HBOOK, etc.). It is similar to a standard FTP daemon, although it listens on a different port. Both servers operate through inetd.

Since these servers accept passwords in clear text and do not support SSL or other encryption methods, you should probably only install this package within a trusted LAN. It should be seen as equivalent to vanilla telnetd in terms of security (or lack thereof).

There are three methods to install pawserv on Ubuntu 18.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 pawserv Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install pawserv

Install pawserv Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install pawserv

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

sudo aptitude -y install pawserv

How To Uninstall pawserv on Ubuntu 18.04

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

sudo apt-get remove pawserv

Uninstall pawserv And Its Dependencies

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

sudo apt-get -y autoremove pawserv

Remove pawserv Configurations and Data

To remove pawserv configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge pawserv

Remove pawserv configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge pawserv

References

Summary

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