als command not found

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

Introduction

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

als: command not found

or when using sudo you get the following error message

sudo: als: command not found

Solutions to als: command not found

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

In Ubuntu als is provided by atool package.

atool is:

atool is a script for managing file archives of various types (tar, tar+gzip, zip etc). The main command is probably aunpack, extracting files from an archive. It overcomes the dreaded “multiple files in archive root” problem by first extracting to a unique subdirectory, and then moving back the files if possible. aunpack also prevents local files from being overwritten by mistake.

Other commands provided are apack (create archives), als (list files in archives), and acat (extract files to standard out).

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

sudo apt-get -y install atool

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

You can also use apt command to install atool.

sudo apt -y install atool

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

sudo aptitude install atool

Summary

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