How To Install peek on Ubuntu 22.04

In this tutorial we learn how to install peek on Ubuntu 22.04. peek is Simple animated GIF screen recorder with GUI

Introduction

In this tutorial we learn how to install peek on Ubuntu 22.04.

What is peek

peek is:

Peek is a simple screen recorder. It is optimized for generating animated GIFs but you can also directly record to WebM or MP4 if you prefer.

There are three methods to install peek on Ubuntu 22.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 peek Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install peek

Install peek Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install peek

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

sudo aptitude -y install peek

How To Uninstall peek on Ubuntu 22.04

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

sudo apt-get remove peek

Uninstall peek And Its Dependencies

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

sudo apt-get -y autoremove peek

Remove peek Configurations and Data

To remove peek configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge peek

Remove peek configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge peek

References

Summary

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