How To Install screenbin on Ubuntu 18.04

In this tutorial we learn how to install screenbin on Ubuntu 18.04. screenbin is use Amazon EC2 to host a shared screen session

Introduction

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

What is screenbin

screenbin is:

screenbin uses Amazon’s EC2 cloud to dynamically instantiate an Ubuntu instance in the cloud, install a specified list of ssh keys, and launch a shared screen session as a guest user. In this manner, screenbin is a collaborative tool like pastebin, or gobby, but provides a shared shell environment.

This is particularly useful for synchronous code reviews, education, collaborative debugging, and demonstrations when a shared terminal between two or more people is required.

Amazon EC2 provides a central location accessible via ssh by all parties, such that no individual needs to modify local firewall settings to allow incoming ssh access. And the ’throw-away’ nature of EC2 instances allows the host to immediately destroy the instance should anything go wrong.

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

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

sudo apt-get update

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

sudo apt-get -y install screenbin

Install screenbin Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install screenbin

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

sudo aptitude -y install screenbin

How To Uninstall screenbin on Ubuntu 18.04

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

sudo apt-get remove screenbin

Uninstall screenbin And Its Dependencies

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

sudo apt-get -y autoremove screenbin

Remove screenbin Configurations and Data

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

sudo apt-get -y purge screenbin

Remove screenbin configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge screenbin

References

Summary

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