How To Install gyoto-dbg on Ubuntu 18.04

In this tutorial we learn how to install gyoto-dbg on Ubuntu 18.04. gyoto-dbg is debugging symbols for the Gyoto framework

Introduction

In this tutorial we learn how to install gyoto-dbg on Ubuntu 18.04.

What is gyoto-dbg

gyoto-dbg is:

Gyoto aims at providing a framework for computing orbits and ray-traced images in General relativity. It consists in a shared library (this package), utility programs (in the gyoto package), and a plug-in for the Yorick and Python 2 and 3 programming language (in yorick-gyoto, python-gyoto and python3-gyoto).

This package contains the debugging symbols for the gyoto-bin, libgyoto6, yorick-gyoto, python-gyoto and python3-gyoto packages.

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

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

sudo apt-get update

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

sudo apt-get -y install gyoto-dbg

Install gyoto-dbg Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install gyoto-dbg

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

sudo aptitude -y install gyoto-dbg

How To Uninstall gyoto-dbg on Ubuntu 18.04

To uninstall only the gyoto-dbg package we can use the following command:

sudo apt-get remove gyoto-dbg

Uninstall gyoto-dbg And Its Dependencies

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

sudo apt-get -y autoremove gyoto-dbg

Remove gyoto-dbg Configurations and Data

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

sudo apt-get -y purge gyoto-dbg

Remove gyoto-dbg configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge gyoto-dbg

References

Summary

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