xavs2 command not found

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

Introduction

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

xavs2: command not found

or when using sudo you get the following error message

sudo: xavs2: command not found

Solutions to xavs2: command not found

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

In Ubuntu xavs2 is provided by xavs2 package.

xavs2 is:

xavs2 is an encoder for the AVS2-P2/IEEE1857.4 video codec.

Audio Video Coding Standard (AVS) is a standard for compression digital audio and digital, developed and widely used in China. The second generation AVS standard (AVS2) primarily targets Ultra HD (High Definition) video, with features comparable to MPEG H.265 (HEVC) and VC9.

This package provides the command-line tool xavs2.

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

sudo apt-get -y install xavs2

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

You can also use apt command to install xavs2.

sudo apt -y install xavs2

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

sudo aptitude install xavs2

Summary

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