How To Install 9base on Debian 10

Learn how to install 9base on Debian 10 with this tutorial. 9base is Plan 9 userland tools

Introduction

In this tutorial we learn how to install 9base on Debian 10.

What is 9base

9base is:

9base is a port of following original Plan 9 userland tools to Unix: awk, basename, bc, cat, cleanname, date, dc, echo, grep, mk, rc, sed, seq, sleep, sort, strings, tee, test, touch, tr, uniq, and yacc.

There are three methods to install 9base on Debian 10. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install 9base Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install 9base

Install 9base Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install 9base

Install 9base 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install 9base using aptitude by running the following command:

sudo aptitude -y install 9base

How To Uninstall 9base on Debian 10

To uninstall only the 9base package we can use the following command:

sudo apt-get remove 9base

Uninstall 9base And Its Dependencies

To uninstall 9base and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove 9base

Remove 9base Configurations and Data

To remove 9base configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge 9base

Remove 9base configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge 9base

Dependencies

9base have the following dependencies:

References

Summary

In this tutorial we learn how to install 9base package on Debian 10 using different package management tools: apt, apt-get and aptitude.