How to fix Ubuntu No such file or directory: 'avifenc'

If you see an error message such as

how-to-fix-ubuntu-no-such-file-or-directory-avifenc_block1.txt
No such file or directory: 'avifenc'
```plaintext {filename="install_libavif_bin.sh"}

on Ubuntu or similar Linux distributions, you need to install the `libavif-bin` package. This package provides the `avifenc` tool.

To install it, run

```shell {filename="install_libavif_bin.sh"}
sudo apt install libavif-bin
```plaintext {filename="install_libavif_bin.sh"}

Check out similar posts by category: Linux