How To Install xjig on Debian 10

Learn how to install xjig on Debian 10 with this tutorial. xjig is X11 jigsaw puzzle

Introduction

In this tutorial we learn how to install xjig on Debian 10.

What is xjig

xjig is:

xjig is a puzzle that tries to replicate a jigsaw puzzle on the screen as closely as possible. Any GIF, JPEG or PPM image may be loaded and cut into pieces. The goal (as with any jigsaw puzzle) is to reassemble the original picture.

Tiles may be freely rotated by use of the mouse, flipped (for double-sided puzzles) and even shown as shaped windows on the desktop (fast machine/video card recommended for the latter!). An example image is provided in /usr/share/games/xjig .

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

Install xjig Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install xjig

Install xjig Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install xjig

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

sudo aptitude -y install xjig

How To Uninstall xjig on Debian 10

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

sudo apt-get remove xjig

Uninstall xjig And Its Dependencies

To uninstall xjig and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove xjig

Remove xjig Configurations and Data

To remove xjig configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge xjig

Remove xjig configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge xjig

Dependencies

xjig have the following dependencies:

References

Summary

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