psl command not found

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

Introduction

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

psl: command not found

or when using sudo you get the following error message

sudo: psl: command not found

Solutions to psl: command not found

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

In Ubuntu psl is provided by psl package.

psl is:

Libpsl allows checking domains against the Public Suffix List. It can be used to avoid privacy-leaking ‘super-cookies’, ‘super domain’ certificates, for domain highlighting purposes sorting domain lists by site and more.

Please see https://publicsuffix.org for more detailed information.

This package contains a commandline tool to explore the Public Suffix List.

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

sudo apt-get -y install psl

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

You can also use apt command to install psl.

sudo apt -y install psl

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

sudo aptitude install psl

Summary

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