How To Install utfout on Ubuntu 20.04
Introduction
In this tutorial we learn how to install utfout
on Ubuntu 20.04.
What is utfout
utfout is:
This package contains a command-line tool that can produce UTF-8 (Unicode) strings in various ways and direct them to standard output, standard error or direct to the terminal without the need for shell support. Strings can be repeated, delayed, randomly-generated, written to arbitrary file descriptors, interspersed with other characters and generated using ranges. Printf(1)-style escape sequences are supported along with extended escape sequences. utfout(1) Sits somewhere between echo(1) and printf(1).
There are three methods to install utfout
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 utfout Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install utfout
using apt-get
by running the following command:
sudo apt-get -y install utfout
Install utfout Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install utfout
using apt
by running the following command:
sudo apt -y install utfout
Install utfout 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 utfout
using aptitude
by running the following command:
sudo aptitude -y install utfout
How To Uninstall utfout on Ubuntu 20.04
To uninstall only the utfout
package we can use the following command:
sudo apt-get remove utfout
Uninstall utfout And Its Dependencies
To uninstall utfout
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove utfout
Remove utfout Configurations and Data
To remove utfout
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge utfout
Remove utfout configuration, data, and all of its dependencies
We can use the following command to remove utfout
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge utfout
References
Summary
In this tutorial we learn how to install utfout
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.