How To Install conserver-server on Ubuntu 20.04

In this tutorial we learn how to install conserver-server on Ubuntu 20.04. conserver-server is connect multiple user to a serial console with logging connect multiple user to a serial console with logging

Introduction

In this tutorial we learn how to install conserver-server on Ubuntu 20.04.

What is conserver-server

conserver-server is:

Conserver is an application that allows multiple users to watch a serial console at the same time. It can log the data, allows users to take write-access of a console (one at a time), and has a variety of bells and whistles to accentuate that basic functionality. The idea is that conserver will log all your serial traffic so you can go back and review why something crashed, look at changes (if done on the console), or tie the console logs into a monitoring system (just watch the logfiles it creates). With multi-user capabilities you can work on equipment with others, mentor, train, etc. It also does all that client-server stuff so that, assuming you have a network connection, you can interact with any of the equipment from home or wherever.

This is the server part of the conserver system.

Package: conserver-server Architecture: amd64 Version: 8.2.4-2 Priority: optional Section: multiverse/comm Source: conserver Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Conserver Maintainers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 440 Depends: adduser, lsb-base (>= 3.0-6), debconf (>= 0.5) | debconf-2.0, libc6 (>= 2.15), libpam0g (>= 0.99.7.1), libssl1.1 (>= 1.1.0), libwrap0 (>= 7.6-4~) Filename: pool/multiverse/c/conserver/conserver-server_8.2.4-2_amd64.deb Size: 159428 MD5sum: 7dc590021e230b869caeb7661a3b4e80 SHA1: 0067013ed6e24fdbaa2da86a405ce563dac3bb78 SHA256: c6056b95391b054e4ecd7b9f721df90ded74c33c19d2bc6377a4ede0785f8d52 Homepage: http://www.conserver.com/ Description-en: connect multiple user to a serial console with logging Conserver is an application that allows multiple users to watch a serial console at the same time. It can log the data, allows users to take write-access of a console (one at a time), and has a variety of bells and whistles to accentuate that basic functionality. The idea is that conserver will log all your serial traffic so you can go back and review why something crashed, look at changes (if done on the console), or tie the console logs into a monitoring system (just watch the logfiles it creates). With multi-user capabilities you can work on equipment with others, mentor, train, etc. It also does all that client-server stuff so that, assuming you have a network connection, you can interact with any of the equipment from home or wherever.

This is the server part of the conserver system.

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

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

sudo apt-get update

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

sudo apt-get -y install conserver-server

Install conserver-server Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install conserver-server

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

sudo aptitude -y install conserver-server

How To Uninstall conserver-server on Ubuntu 20.04

To uninstall only the conserver-server package we can use the following command:

sudo apt-get remove conserver-server

Uninstall conserver-server And Its Dependencies

To uninstall conserver-server and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove conserver-server

Remove conserver-server Configurations and Data

To remove conserver-server configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge conserver-server

Remove conserver-server configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge conserver-server

References

Summary

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