Introduction
In this tutorial we learn how to install 9base
on Ubuntu 22.04.
What is 9base
9base is:
9base is a port of following original Plan 9 userland tools to Unix:
ascii, awk, basename, bc, cal, cat, cleanname, cmp, date, dc, dd, diff, du,
echo, ed, factor, fmt, fortune, freq, getflags, grep, hoc, join, look, ls,
mk, mkdir, mtime, pbd, primes, rc, read, sam, sed, seq, sha1sum, sleep, sort,
split, strings, tail, tee, test, touch, tr, troff, unicode, uniq, unutf, yacc.
Plan 9 is a distributed Unix-like operational system created by Bell Labs in
the mid-1980s.
There are three methods to install 9base
on Ubuntu 22.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 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 Ubuntu. 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 Ubuntu 22.04
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 Ubuntu 22.04, we can use the command below:
sudo apt-get -y autoremove 9base
Remove 9base Configurations and Data
To remove 9base
configuration and data from Ubuntu 22.04 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
References
Summary
In this tutorial we learn how to install 9base
package on Ubuntu 22.04 using different package management tools: apt
, apt-get
and aptitude
.