How To Install blcr-util on Debian 9

In this tutorial we learn how to install blcr-util on Debian 9. blcr-util is Userspace tools to Checkpoint and Restart Linux processes

Introduction

In this tutorial we learn how to install blcr-util on Debian 9.

What is blcr-util

blcr-util is:

BLCR (Berkeley Lab Checkpoint/Restart) allows programs running on Linux to be “checkpointed” (written entirely to a file), and then later “restarted”.

BLCR can checkpoint both single- and multithreaded (pthreads) programs linked with the NPTL implementation of pthreads. BLCR is also able to save and restore groups of related processes together with the pipes that connect them.

This package contains utilities needed to launch and restart unmodified processes with checkpointing support.

There are three methods to install blcr-util on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install blcr-util Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install blcr-util

Install blcr-util Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install blcr-util

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

sudo aptitude -y install blcr-util

How To Uninstall blcr-util on Debian 9

To uninstall only the blcr-util package we can use the following command:

sudo apt-get remove blcr-util

Uninstall blcr-util And Its Dependencies

To uninstall blcr-util and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove blcr-util

Remove blcr-util Configurations and Data

To remove blcr-util configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge blcr-util

Remove blcr-util configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge blcr-util

Dependencies

blcr-util have the following dependencies:

References

Summary

In this tutorial we learn how to install blcr-util package on Debian 9 using different package management tools: apt, apt-get and aptitude.