vala command not found

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

Introduction

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

vala: command not found

or when using sudo you get the following error message

sudo: vala: command not found

Solutions to vala: command not found

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

In Ubuntu vala is provided by valac-bin package.

valac-bin is:

Vala is a new programming language that aims to bring modern programming language features to GNOME developers without imposing any additional runtime requirements and without using a different ABI compared to applications and libraries written in C.

This particular package is an implementation detail of the vala packaging. It should not be installed directly and there should be no dependencies on it. Refer to the valac package instead.

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

sudo apt-get -y install valac-bin

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

You can also use apt command to install valac-bin.

sudo apt -y install valac-bin

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

sudo aptitude install valac-bin

Summary

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