How To Install criu.x86_64 on Amazon Linux 2

In this tutorial we learn how to install criu.x86_64 in Amazon Linux 2. criu.x86_64 is Tool for Checkpoint/Restore in User-space

Introduction

In this tutorial we learn how to install criu.x86_64 on Amazon Linux 2.

What is criu.x86_64

criu is the user-space part of Checkpoint/Restore in User-space (CRIU), a project to implement checkpoint/restore functionality for Linux in user-space.

We can use yum to install criu.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install criu.x86_64.

Install criu.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install criu.x86_64 using yum by running the following command:

sudo yum -y install criu.x86_64

How To Uninstall criu.x86_64 on Amazon Linux 2

To uninstall only the criu.x86_64 package we can use the following command:

sudo yum remove criu.x86_64

criu.x86_64 Package Contents on Amazon Linux 2

/run/criu
/usr/lib/tmpfiles.d/criu.conf
/usr/sbin/criu
/usr/share/doc/criu-3.5
/usr/share/doc/criu-3.5/COPYING
/usr/share/doc/criu-3.5/README.md
/usr/share/man/man8/criu.8.gz

References

Summary

In this tutorial we learn how to install criu.x86_64 on Amazon Linux 2 using yum.