How To Install r-bioc-basilisk on Debian 12

Learn how to install r-bioc-basilisk on Debian 12 with this tutorial. r-bioc-basilisk is freezing Python dependencies inside Bioconductor packages

Introduction

In this tutorial we learn how to install r-bioc-basilisk on Debian 12.

What is r-bioc-basilisk

r-bioc-basilisk is:

Installs a self-contained conda instance that is managed by the R/Bioconductor installation machinery. This aims to provide a consistent Python environment that can be used reliably by Bioconductor packages. Functions are also provided to enable smooth interoperability of multiple Python environments in a single R session.

The parallel installation of multiple versions of the same software is not supported in Debian - that is meant as a feature, not as a bug. Earlier versions of anything that has ever surfaced in Debian can be retrieved via snapshot.debian.org and integrated in a running system via a chroot directory or by creating a container. An increasing number of Python-R-interactions for machine learning however uses basilisk to help quick’n’easy reproducibility between installations.

There are three methods to install r-bioc-basilisk on Debian 12. 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-bioc-basilisk 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-bioc-basilisk using apt-get by running the following command:

sudo apt-get -y install r-bioc-basilisk

Install r-bioc-basilisk Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install r-bioc-basilisk using apt by running the following command:

sudo apt -y install r-bioc-basilisk

Install r-bioc-basilisk 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install r-bioc-basilisk using aptitude by running the following command:

sudo aptitude -y install r-bioc-basilisk

How To Uninstall r-bioc-basilisk on Debian 12

To uninstall only the r-bioc-basilisk package we can use the following command:

sudo apt-get remove r-bioc-basilisk

Uninstall r-bioc-basilisk And Its Dependencies

To uninstall r-bioc-basilisk and its dependencies that are no longer needed by Debian 12, we can use the command below:

sudo apt-get -y autoremove r-bioc-basilisk

Remove r-bioc-basilisk Configurations and Data

To remove r-bioc-basilisk configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge r-bioc-basilisk

Remove r-bioc-basilisk configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge r-bioc-basilisk

Dependencies

r-bioc-basilisk have the following dependencies:

References

Summary

In this tutorial we learn how to install r-bioc-basilisk package on Debian 12 using different package management tools: apt, apt-get and aptitude.