lspst command not found

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

Introduction

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

lspst: command not found

or when using sudo you get the following error message

sudo: lspst: command not found

Solutions to lspst: command not found

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

In Ubuntu lspst is provided by pst-utils package.

pst-utils is:

This package contains tools based on libpst to read data from Microsoft Outlook PST files.

  • readpst - export data from PST files to a variety of formats, including mbox, MH and KMail. Other packages like mb2md are available for subsequent conversions to Maildir and other formats.
  • lspst - list data in PST files.
  • pst2ldif - extract contacts from a PST file and prepare them for input in LDAP
  • pst2dii - export data from PST files to Summation dii load file format

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

sudo apt-get -y install pst-utils

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

You can also use apt command to install pst-utils.

sudo apt -y install pst-utils

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

sudo aptitude install pst-utils

Summary

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