afio command not found

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

Introduction

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

afio: command not found

or when using sudo you get the following error message

sudo: afio: command not found

Solutions to afio: command not found

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

In Ubuntu afio is provided by afio package.

afio is:

Afio manipulates groups of files, copying them within or between filesystems and an afio archive.

Afio archives are portable as they contain only ASCII-formatted header information. Afio makes cpio-format archives. Afio deals somewhat gracefully with input data corruption. Afio supports multi-volume archives during interactive operation. Afio can make compressed archives that are much safer than compressed tar or cpio archives.

Afio is best used as an `archive engine’ in a backup script.

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

sudo apt-get -y install afio

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

You can also use apt command to install afio.

sudo apt -y install afio

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

sudo aptitude install afio

Summary

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