DEV Community

Hunter Drum
Hunter Drum

Posted on

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

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

Top comments (2)

Collapse
 
theredspy15 profile image
Hunter Drum • Edited

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

That or my browser is doing something funny again

Collapse
 
theredspy15 profile image
Hunter Drum

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