How To Install jigdo-file on Ubuntu 20.04

In this tutorial we learn how to install jigdo-file on Ubuntu 20.04. jigdo-file is Download Debian CD/DVD/USB images from any Debian mirror

Introduction

In this tutorial we learn how to install jigdo-file on Ubuntu 20.04.

What is jigdo-file

jigdo-file is:

Using the jigdo-lite script contained in this package, you can use your nearest “regular” Debian mirror to download Debian images, instead of having to use one of the few, slow, overloaded mirrors that offer the images as direct HTTP or FTP downloads. See http://www.debian.org/CD/jigdo-cd/ for details.

Jigsaw Download (for short jigdo) is a scheme developed primarily to make it easy to distribute huge filesystem images (e.g. CD (ISO9660) or DVD (UDF) images) over the internet, but it could also be used for other data which is awkward to handle due to its size, like audio/video files or large software packages.

jigdo tries to ensure that the large file is downloaded in small parts which can be stored on different servers. People who want to download the image do so by telling the jigdo download tool to process one “.jigdo” file; using it, jigdo downloads the parts and reassembles the image. jigdo-file is used to prepare the files for download.

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

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

sudo apt-get update

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

sudo apt-get -y install jigdo-file

Install jigdo-file Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install jigdo-file

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

sudo aptitude -y install jigdo-file

How To Uninstall jigdo-file on Ubuntu 20.04

To uninstall only the jigdo-file package we can use the following command:

sudo apt-get remove jigdo-file

Uninstall jigdo-file And Its Dependencies

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

sudo apt-get -y autoremove jigdo-file

Remove jigdo-file Configurations and Data

To remove jigdo-file configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge jigdo-file

Remove jigdo-file configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge jigdo-file

References

Summary

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