How to Install binfmtc in Ubuntu 18.04

Install binfmtc by entering the following commands in the terminal:

sudo apt update
sudo apt install binfmtc


Execute C program as script

Linux binfmt_misc handler for C, C++, Assembly languages, Pascal, Fortran, Java(GCJ). . Using the binfmt_misc interface, binfmtc allows users to seamlessly execute C source code as if they were scripts. . Includes example utilities realcsh.c, realksh.c, which are for your real C scripting pleasures.

Version: 0.17-2

Section: universe/utils