How To Install alpine on CentOS 8

alpine is powerful, easy to use console email client

Introduction

In this tutorial we learn how to install alpine on CentOS 8.

What is alpine

Alpine – an Alternatively Licensed Program for Internet News & Email – is a tool for reading, sending, and managing electronic messages. Alpine is the successor to Pine and was developed by Computing & Communications at the University of Washington. Though originally designed for inexperienced email users, Alpine supports many advanced features, and an ever-growing number of configuration and personal-preference options. Changes and enhancements over pine * Released under the Apache Software License, Version 2.0. * Internationalization built around new internal Unicode support. * Ground-up reorganization of source code around new “pith/” core routine library. * Ground-up reorganization of build and install procedure based on GNU Build System’s autotools.

We can use yum or dnf to install alpine on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install alpine.

Install alpine on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install alpine using dnf by running the following command:

sudo dnf -y install alpine

Install alpine on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install alpine using yum by running the following command:

sudo yum -y install alpine

How To Uninstall alpine on CentOS 8

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

sudo dnf remove alpine

alpine Package Contents on CentOS 8

/etc/pine.conf
/etc/pine.conf.fixed
/usr/bin/alpine
/usr/bin/pico
/usr/bin/pilot
/usr/bin/rpdump
/usr/bin/rpload
/usr/lib/.build-id
/usr/lib/.build-id/09
/usr/lib/.build-id/09/7a4982dd046b85ae91e2f21f5c0a201d2e2bd3
/usr/lib/.build-id/25
/usr/lib/.build-id/25/9c8e07cb3bf4ebbdd1a172bac848990a3aa9a2
/usr/lib/.build-id/81
/usr/lib/.build-id/81/8f31f9cacda16cacbe626a7bf7094da5150734
/usr/lib/.build-id/86
/usr/lib/.build-id/86/fecf401f6b6d8e59dc418341fa248a9b878efb
/usr/lib/.build-id/b5
/usr/lib/.build-id/b5/bc242dcc4e2392fc09055b8366eb8a7fc2f04e
/usr/share/doc/alpine
/usr/share/doc/alpine/README
/usr/share/doc/alpine/README.fedora
/usr/share/licenses/alpine
/usr/share/licenses/alpine/LICENSE
/usr/share/man/man1/alpine.1.gz
/usr/share/man/man1/pico.1.gz
/usr/share/man/man1/pilot.1.gz
/usr/share/man/man1/rpdump.1.gz
/usr/share/man/man1/rpload.1.gz

References

Summary

In this tutorial we learn how to install alpine on CentOS 8 using yum and dnf.