Ways to Install and Uninstall gallery-dl Ubuntu 22.04

Updated: October 8, 2022

gallery-dl is a command-line program to download image-galleries and -collections from several image hosting sites. It is a cross-platform tool with many configuration options and powerful filenaming capabilities. I will show you how to install gallery-dl on Ubuntu 22.04 in this tutorial.

Prerequisites

  • Operating system: gallery-dl needs Ubuntu 22.04 to work
  • Privileges: Check that you can run sudo commands.

Prerequisites to install gallery-dl on Ubuntu 22.04

gallery-dl is one of the popular ways on Ubuntu now so that this tutorial will show you some ways to install it. Choose the one that you think is easy and you can follow.

This is one of the popular ways to install any Ubuntu packages because it’s easy to follow, even if you are a newbie in Linux. Following these steps to get gallery-dl on your Ubuntu.

Step 1: The APT package repository cache needs to be updated before you try to install, update, or remove any packages. Update the APT database to fetch new packages from Ubuntu. Launching the terminal and entering the following Linux command:

sudo apt update

Step 2: Start installing the packages on Ubuntu 22.04. You can now install gallery-dl Ubuntu by executing this command in the terminal.

sudo apt -y install gallery-dl

If you haven’t already installed Aptitude on Ubuntu, run this command to do so.

sudo apt-get -y install aptitude

After that, you can now install gallery-dl, just following these steps:

Step 1: You must update the APT package repository cache before attempting to install, update, or remove any packages. Update the APT database to download new packages from Ubuntu. Opening the terminal and executing the following Linux command:

sudo apt-get update

Step 2: Start installing the packages on Ubuntu 22.04. You can now install gallery-dl Ubuntu by executing this command in the terminal.

sudo aptitude -y install gallery-dl

Have you ever thought about how difficult it is to uninstall an application from Ubuntu? You are mistaken; anyone can easily uninstall any program, not just a package.

If you installed gallery-dl using APT or Aptitude, you could uninstall gallery-dl on Ubuntu by running this command

sudo apt remove --auto-remove gallery-dl

If you want to uninstall gallery-dl and remove its data and dependencies, you can also run the following command:

sudo apt autoremove --purge gallery-dl

Ending

In this tutorial, I showed you ways to install gallery-dl on Ubuntu 22.04 and ways to uninstall gallery-dl too. If you need any help, don’t hesitate to contact me. I’m very glad to answer them.