How To Install alpine-pico on Ubuntu 20.04

In this tutorial we learn how to install alpine-pico on Ubuntu 20.04. alpine-pico is Simple text editor from Alpine, a text-based email client

Introduction

In this tutorial we learn how to install alpine-pico on Ubuntu 20.04.

What is alpine-pico

alpine-pico is:

“pico” is a simple but powerful text editor. It was originally the pine composer, the editor used by the pine email client for writing email messages.

It has gained popularity since its initial use in that context and is now used as a stand-alone editor by many users.

It is similar to but less powerful than GNU Nano, an editor created with the pico interface when the pico license was non-free.

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

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

sudo apt-get update

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

sudo apt-get -y install alpine-pico

Install alpine-pico Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install alpine-pico

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

sudo aptitude -y install alpine-pico

How To Uninstall alpine-pico on Ubuntu 20.04

To uninstall only the alpine-pico package we can use the following command:

sudo apt-get remove alpine-pico

Uninstall alpine-pico And Its Dependencies

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

sudo apt-get -y autoremove alpine-pico

Remove alpine-pico Configurations and Data

To remove alpine-pico configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge alpine-pico

Remove alpine-pico configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge alpine-pico

References

Summary

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