How To Install scalapack-doc on Ubuntu 18.04

In this tutorial we learn how to install scalapack-doc on Ubuntu 18.04. scalapack-doc is Scalable Linear Algebra Package Documentation

Introduction

In this tutorial we learn how to install scalapack-doc on Ubuntu 18.04.

What is scalapack-doc

scalapack-doc is:

ScaLAPACK is the parallel version of LAPACK. It depends on PVM or MPI.

This package provides the man pages for the routines in the ScaLAPACK library (see package scalapack1-pvm, scalapack1-mpich or scalapack1-lam) and a quick reference for PBLAS and ScaLAPACK. PBLAS is the library for Parallel Basic Linear Algebra Subprograms included in ScaLAPACK.

Also included: ScaLAPACK Users’ Guide (SLUG) and the FAQ on ScaLAPACK.

There are three methods to install scalapack-doc on Ubuntu 18.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 scalapack-doc Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install scalapack-doc

Install scalapack-doc Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install scalapack-doc

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

sudo aptitude -y install scalapack-doc

How To Uninstall scalapack-doc on Ubuntu 18.04

To uninstall only the scalapack-doc package we can use the following command:

sudo apt-get remove scalapack-doc

Uninstall scalapack-doc And Its Dependencies

To uninstall scalapack-doc and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove scalapack-doc

Remove scalapack-doc Configurations and Data

To remove scalapack-doc configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge scalapack-doc

Remove scalapack-doc configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge scalapack-doc

References

Summary

In this tutorial we learn how to install scalapack-doc package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.