How To Install makedumpfile on Ubuntu 20.04

In this tutorial we learn how to install makedumpfile on Ubuntu 20.04. makedumpfile is VMcore extraction tool VMcore extraction tool

Introduction

In this tutorial we learn how to install makedumpfile on Ubuntu 20.04.

What is makedumpfile

makedumpfile is:

This program is used to extract a subset of the memory available either via /dev/mem or /proc/vmcore (for crashdumps). It is used to get memory images without extra unneeded information (zero pages, userspace programs, etc).

Package: makedumpfile Architecture: amd64 Version: 1:1.6.7-1ubuntu2 Priority: optional Section: devel Origin: Ubuntu Maintainer: Louis Bouchard [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 452 Depends: libc6 (>= 2.17), libdw1 (>= 0.143), libelf1 (>= 0.142), liblzo2-2 (>= 2.02), zlib1g (>= 1:1.2.0), perl:any Recommends: crash, kexec-tools Replaces: kdump-tools (« 1.3.4-1~) Filename: pool/main/m/makedumpfile/makedumpfile_1.6.7-1ubuntu2_amd64.deb Size: 166316 MD5sum: 9804df691cc5b7dae0b6b7d3fa80af9a SHA1: a5e4c5bbeaf55812edd57c9f6397c71a8bf45bd1 SHA256: c186ce5e7db3011ed0044b78770548df4bb16508e3a35cd15120efa370c81bd8 Description-en: VMcore extraction tool This program is used to extract a subset of the memory available either via /dev/mem or /proc/vmcore (for crashdumps). It is used to get memory images without extra unneeded information (zero pages, userspace programs, etc).

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

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

sudo apt-get update

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

sudo apt-get -y install makedumpfile

Install makedumpfile Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install makedumpfile using apt by running the following command:

sudo apt -y install makedumpfile

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

sudo aptitude -y install makedumpfile

How To Uninstall makedumpfile on Ubuntu 20.04

To uninstall only the makedumpfile package we can use the following command:

sudo apt-get remove makedumpfile

Uninstall makedumpfile And Its Dependencies

To uninstall makedumpfile and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove makedumpfile

Remove makedumpfile Configurations and Data

To remove makedumpfile configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge makedumpfile

Remove makedumpfile configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge makedumpfile

References

Summary

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