Vala

[Tutorial] How to install Vala Compiler in Ubuntu

Quick Read : Vala is an object-oriented programming language with a self-hosting compiler that generates C code and uses the GObject system. When it comes …

Quick Read : Vala is an object-oriented programming language with a self-hosting compiler that generates C code and uses the GObject system.

When it comes to compiling part, Vala doing something wonderfully different. The Vala source code is first translated to the equivalent C code, and then the resulting C code is compiled to an executable file using the standard C compiler.

Whether you are someone who works with C/C++ code or someone who works with C# and .NET languages, Vala is something you need to take a look at.

vala compiler

 

[gads]

 

To Install Vala Compiler in Ubuntu(Debian) :

Copy and Paste the below code in Terminal to install Vala Compiler.

sudo apt-get install valac libgtk-3-dev

 To Check whether Vala is Installed or Not :

Copy and Paste the below code in Terminal to check it.

vala --version

To Remove Vala Compiler completely from your Ubuntu System :

sudo apt-get purge valac libgtk-3-dev

 That’s all. Feel free to ask your queries & doubt in Comments.

1 thought on “[Tutorial] How to install Vala Compiler in Ubuntu”

  1. Hello, Bonjour,

    Probleme compilation….

    ……$ valac –pkg gtk+-3.0 test01.vala

    /home/rene/0-vala/brouillon/test01.vala.c:8:10: fatal error: gtk/gtk.h: Aucun fichier ou dossier de ce type
    #include
    ^~~~~~~~~~~
    compilation terminated.
    error: cc exited with status 256
    Compilation failed: 1 error(s), 0 warning(s)

    Reply

Leave a Comment