Skip to content

Re-enabling g++ compiler on Ubuntu 18.04 (Fixed)

theredspy15 profile image Hunter Drum twitter logo github logo ・1 min read

So I disabled g++ compiler on Ubuntu 18.04 using a script to secure the system. But I need to re-enable the compiler in order to compile some stuff

However, where ever I look, I only see tutorials on how to install g++, nothing else.

The part of the script that disabled the compiler:

chmod 000 /usr/bin/*g++ >/dev/null 2>&1

twitter logo DISCUSS (2)
markdown guide

Fixed with "sudo chmod 755 /usr/bin/g++"


If anyone knows how to add tags like #help, it seems devs moved the box to put them in

That or my browser is doing something funny again

Classic DEV Post from Aug 4 '19

You're not worth hiring unless...

Hunter Drum profile image
On a mission to build simple versions, of complex things, and complex versions, of simple things