Could solve the problem. After the following command the installation was working.
$ sudo apt install build-essential
Could solve the problem. After the following command the installation was working.
$ sudo apt install build-essential