dir2ogg command not found

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

Introduction

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

dir2ogg: command not found

or when using sudo you get the following error message

sudo: dir2ogg: command not found

Solutions to dir2ogg: command not found

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

In Ubuntu dir2ogg is provided by dir2ogg package.

dir2ogg is:

dir2ogg converts MP3, M4A, WMA, FLAC, and WAV files to the open-source OGG format.

It is a Python script that simply binds together the various decoders and oggenc making it easier for the user to convert his/her music files. It also supports ID3 tags.

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

sudo apt-get -y install dir2ogg

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

You can also use apt command to install dir2ogg.

sudo apt -y install dir2ogg

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

sudo aptitude install dir2ogg

Summary

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