smpq command not found

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

Introduction

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

smpq: command not found

or when using sudo you get the following error message

sudo: smpq: command not found

Solutions to smpq: command not found

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

In Ubuntu smpq is provided by smpq package.

smpq is:

SMPQ is StormLib MPQ archiving utility. This utility is designed for full manipulating with Blizzard MPQ archives. It supports extracting, appending, renaming and deleting files in MPQ archives. It also can create MPQ archives. SMPQ can access different types and versions of MPQ archives. It supports encrypted, compressed, partial and patched MPQ archives in version 1-4. SMPQ is free opensource command line utility written in C which uses multiplatform C++ StormLib library.

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

sudo apt-get -y install smpq

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

You can also use apt command to install smpq.

sudo apt -y install smpq

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

sudo aptitude install smpq

Summary

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