pwget command not found

In this troubleshooting guide we learn how to fix pwget command not found error message

Introduction

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

pwget: command not found

or when using sudo you get the following error message

sudo: pwget: command not found

Solutions to pwget: command not found

How To Fix pwget: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu pwget is provided by pwget package.

pwget is:

Pwget is similar to wget(1) but it can use categorized configuration files, analyze Web pages, and “search” for download links as instructed. Instead of absolute links, it contains heuristics to track newer versions of files.

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

sudo apt-get -y install pwget

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

You can also use apt command to install pwget.

sudo apt -y install pwget

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

sudo aptitude install pwget

Summary

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