How To Install bwbasic on Ubuntu 20.04

In this tutorial we learn how to install bwbasic on Ubuntu 20.04. bwbasic is Bywater BASIC Interpreter

Introduction

In this tutorial we learn how to install bwbasic on Ubuntu 20.04.

What is bwbasic

bwbasic is:

The Bywater BASIC Interpreter (bwBASIC) implements a large superset of the ANSI Standard for Minimal BASIC (X3.60-1978) and a significant subset of the ANSI Standard for Full BASIC (X3.113-1987) in C. It also offers shell programming facilities as an extension of BASIC. bwBASIC seeks to be as portable as possible.

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

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

sudo apt-get update

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

sudo apt-get -y install bwbasic

Install bwbasic Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install bwbasic

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

sudo aptitude -y install bwbasic

How To Uninstall bwbasic on Ubuntu 20.04

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

sudo apt-get remove bwbasic

Uninstall bwbasic And Its Dependencies

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

sudo apt-get -y autoremove bwbasic

Remove bwbasic Configurations and Data

To remove bwbasic configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge bwbasic

Remove bwbasic configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge bwbasic

References

Summary

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