| I would be fine with "just" static "HTML"|
Then, as said before, there should be no
need to resort to C/C++ programming.
...unless this is for your own education and you want to learn how to implement a simple web-server in C/C++. But, then again, you would be re-inventing the wheel! Also, using a "home-grown" web-server implementation is nothing
you would use in a "production" environment – except for very special uses-cases maybe.
If your goal is to just "run" a web-site:
Install a web-server, such as Apache HTTP
– usually via the package manager of your distribution
– and that's it! I have already given links to tutorials, that do exactly this, in my previous post.
, maybe have a look at Visual Studio Code
, but there really is a zillion of suitable "code editors" out there:
... they require "CMake".
The CMake, GNU Build System, QMake, etc generate "Makefile" from more generic instruction for make so that the Makefile is appropriate for current system. Very convenient.
It should be noted that you only
need Makefiles (and thus tools like CMake, which generate
the Makefile), if you actually want/need to build
the software yourself, from the source codes
But: That is not
normally required. Instead, you can just install
the software, as pre-compiled binaries
, from the package manager
of your distribution. If the specific software you want to install is "missing" in the package repository of your distribution, maybe that software has a PPA
or is offering .deb
packages for download.
(Nowadays, more and more software is also provided as "containers" via Flatpak
, etc. pp.)