gallery-dl command not found

In this troubleshooting guide we learn how to fix gallery-dl command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

gallery-dl: command not found

or when using sudo you get the following error message

sudo: gallery-dl: command not found

In Ubuntu gallery-dl is provided by gallery-dl package.

gallery-dl is:

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.

To fix this problem, we can install more using the command below.

sudo apt-get -y install gallery-dl

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install gallery-dl.

sudo apt -y install gallery-dl

Or if you have aptitude installed you can use the following command.

sudo aptitude install gallery-dl

Summary

In this tutorial we learn how to fix gallery-dl command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.