How To Install librep-dbg on Ubuntu 18.04

In this tutorial we learn how to install librep-dbg on Ubuntu 18.04. librep-dbg is debug symbols for librep

Introduction

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

What is librep-dbg

librep-dbg is:

rep is a dialect of Lisp, designed to be used both as an extension language for applications and as a general purpose programming language.

This package contains the debug symbols for the interpreter and the embedded library. They are only required for debugging.

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

sudo apt-get -y install librep-dbg

Install librep-dbg Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install librep-dbg

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

sudo aptitude -y install librep-dbg

How To Uninstall librep-dbg on Ubuntu 18.04

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

sudo apt-get remove librep-dbg

Uninstall librep-dbg And Its Dependencies

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

sudo apt-get -y autoremove librep-dbg

Remove librep-dbg Configurations and Data

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

sudo apt-get -y purge librep-dbg

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

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

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

References

Summary

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