How To Install libfile-stripnondeterminism-perl on Ubuntu 18.04

In this tutorial we learn how to install libfile-stripnondeterminism-perl on Ubuntu 18.04. libfile-stripnondeterminism-perl is file non-deterministic information stripper — Perl module

Introduction

In this tutorial we learn how to install libfile-stripnondeterminism-perl on Ubuntu 18.04.

What is libfile-stripnondeterminism-perl

libfile-stripnondeterminism-perl is:

StripNondeterminism is a library for stripping non-deterministic information such as timestamps and filesystem ordering from various file and archive formats.

This can be used as a post-processing step to improve the reproducibility of a build product, when the build process itself cannot be made deterministic.

It is used as part of the Reproducible Builds project, although it should be considered a temporary workaround which should not be needed in the long term; upstream software should be reproducible even without using such a tool.

This package installs the Perl module ‘File::StripNondeterminism’.

There are three methods to install libfile-stripnondeterminism-perl 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 libfile-stripnondeterminism-perl Using apt-get

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

sudo apt-get update

After updating apt database, We can install libfile-stripnondeterminism-perl using apt-get by running the following command:

sudo apt-get -y install libfile-stripnondeterminism-perl

Install libfile-stripnondeterminism-perl Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libfile-stripnondeterminism-perl using apt by running the following command:

sudo apt -y install libfile-stripnondeterminism-perl

Install libfile-stripnondeterminism-perl 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 libfile-stripnondeterminism-perl using aptitude by running the following command:

sudo aptitude -y install libfile-stripnondeterminism-perl

How To Uninstall libfile-stripnondeterminism-perl on Ubuntu 18.04

To uninstall only the libfile-stripnondeterminism-perl package we can use the following command:

sudo apt-get remove libfile-stripnondeterminism-perl

Uninstall libfile-stripnondeterminism-perl And Its Dependencies

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

sudo apt-get -y autoremove libfile-stripnondeterminism-perl

Remove libfile-stripnondeterminism-perl Configurations and Data

To remove libfile-stripnondeterminism-perl configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libfile-stripnondeterminism-perl

Remove libfile-stripnondeterminism-perl configuration, data, and all of its dependencies

We can use the following command to remove libfile-stripnondeterminism-perl configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libfile-stripnondeterminism-perl

References

Summary

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