How To Install surf-display on Ubuntu 18.04

In this tutorial we learn how to install surf-display on Ubuntu 18.04. surf-display is Kiosk browser session manager based on the surf browser

Introduction

In this tutorial we learn how to install surf-display on Ubuntu 18.04.

What is surf-display

surf-display is:

Provide an X11 session manager script that launches a minimal window manager and then opens an entry web page via the surf web browser in kiosk mode. The web page can be consumed “read-only” or in interactive mode.

In combination with the nodm display manager you can provide an easy-to-setup html’ish display screen or a web terminal.

If URL/domain filtering is needed, combine surf-display with a local instance of tinyproxy.

After a configurable idle time, the browser session is fully reset and started anew.

There are three methods to install surf-display 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 surf-display Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install surf-display

Install surf-display Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install surf-display

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

sudo aptitude -y install surf-display

How To Uninstall surf-display on Ubuntu 18.04

To uninstall only the surf-display package we can use the following command:

sudo apt-get remove surf-display

Uninstall surf-display And Its Dependencies

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

sudo apt-get -y autoremove surf-display

Remove surf-display Configurations and Data

To remove surf-display configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge surf-display

Remove surf-display configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge surf-display

References

Summary

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