How To Install r-base-core-dbg on Ubuntu 20.04

In this tutorial we learn how to install r-base-core-dbg on Ubuntu 20.04. r-base-core-dbg is GNU R debug symbols for statistical comp. language and environment

Introduction

In this tutorial we learn how to install r-base-core-dbg on Ubuntu 20.04.

What is r-base-core-dbg

r-base-core-dbg is:

R is a system for statistical computation and graphics. It consists of a language plus a run-time environment with graphics, a debugger, access to certain system functions, and the ability to run programs stored in script files.

The design of R has been heavily influenced by two existing languages: Becker, Chambers & Wilks’ S and Sussman’s Scheme. Whereas the resulting language is very similar in appearance to S, the underlying implementation and semantics are derived from Scheme.

The core of R is an interpreted computer language which allows branching and looping as well as modular programming using functions. Most of the user-visible functions in R are written in R. It is possible for the user to interface to procedures written in the C, C++, or FORTRAN languages for efficiency, and many of R’s core functions do so. The R distribution contains functionality for a large number of statistical procedures and underlying applied math computations. There is also a large set of functions which provide a flexible graphical environment for creating various kinds of data presentations.

Additionally, several thousand extension “packages” are available from CRAN, the Comprehensive R Archive Network, many also as Debian packages, named ‘r-cran-’.

This package contains debugging symbol tables for the binaries and dynamic libraries in the r-base-core package. Build-Ids: 1e4183f8e4cf091df94141fc99373b7c65284c8a 2e9ec7c89eee84f0fa14b74c9e01068784d2fe95 41453d7ca2d8556b1f77b3ce87e3b961fd00d10c 45cf584274610d0fdc3ae80fed6e122568e0e0a5 4b219bb915d9f3306be0b183bf78e52c3b50a5d8 579b441a2152aafae41cf6876d314001f6c57dfc 58c34967332e626602955fd6eb11922487303453 659915c67c8c6c4f7e8444705338f6578f2b8393 69f7213c74f1f4661124912e95db480f8867d9d2 6c2ca85334205409b7d39f3293b722bd37f5192c 737ece46bf4eac18e806d3d8ae04f31c035c1cc0 96519c3a800f5eb19f0d5a0b15ab0b237f07d3d7 a36320f9385139a025c90d1aa580941e5f3b49d5 afe82d120aa9bf380a72c470e2301865e6ed9917 b9c31d65ceb1cc731bdb8ce5b57969ba557ae428 c5c73512a6cd4ef686e04239451308b6fe260164 d337767f6ab73cba24f259676e1ec506ceb57fe8 dc491e9e9876d10590ccd1ad530cb8e906ce1a61 ee69bfbaa1df7946781a781e8e8952b53279bd0c

There are three methods to install r-base-core-dbg on Ubuntu 20.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 r-base-core-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 r-base-core-dbg using apt-get by running the following command:

sudo apt-get -y install r-base-core-dbg

Install r-base-core-dbg Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install r-base-core-dbg

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

sudo aptitude -y install r-base-core-dbg

How To Uninstall r-base-core-dbg on Ubuntu 20.04

To uninstall only the r-base-core-dbg package we can use the following command:

sudo apt-get remove r-base-core-dbg

Uninstall r-base-core-dbg And Its Dependencies

To uninstall r-base-core-dbg and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove r-base-core-dbg

Remove r-base-core-dbg Configurations and Data

To remove r-base-core-dbg configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge r-base-core-dbg

Remove r-base-core-dbg configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge r-base-core-dbg

References

Summary

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