How To Install libccfits-doc on Ubuntu 18.04

In this tutorial we learn how to install libccfits-doc on Ubuntu 18.04. libccfits-doc is documentation for CCfits

Introduction

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

What is libccfits-doc

libccfits-doc is:

CCfits is an object oriented interface to the cfitsio library. It is designed to make the capabilities of cfitsio available to programmers working in C++. It is written in ANSI C++ and implemented using the C++ Standard Library with namespaces, exception handling, and member template functions.

This package contains the CCFits reference manual in html and PDF format.

There are three methods to install libccfits-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 libccfits-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 libccfits-doc using apt-get by running the following command:

sudo apt-get -y install libccfits-doc

Install libccfits-doc Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libccfits-doc

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

sudo aptitude -y install libccfits-doc

How To Uninstall libccfits-doc on Ubuntu 18.04

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

sudo apt-get remove libccfits-doc

Uninstall libccfits-doc And Its Dependencies

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

sudo apt-get -y autoremove libccfits-doc

Remove libccfits-doc Configurations and Data

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

sudo apt-get -y purge libccfits-doc

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

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

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

References

Summary

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