Re: Compile broken after upgrading to Ubuntu 18.04 LTS
- Posted by ghaberek (admin) Aug 27, 2019
- 2151 views
https://askubuntu.com/questions/1080043/how-to-install-gcc-in-ubuntu-18-04
It's not that complicated, once you discover that to install gcc, you don't. You install build-essential.
@Videonauth In Ubuntu 18.04 gcc is not installed by default – Arun Oct 1 '18 at 16:04
You should first run sudo apt update then sudo apt install build-essential – Arun Oct 1 '18 at 16:02
I can see how they got here. A typical desktop environment doesn't really need to come with development tools out of the box.
I've become so accustomed to installing build-essential instead of just gcc and other packages, that I often try it on other distros and am disappointed when it doesn't exist.
https://askubuntu.com/questions/tagged/file-association
Plenty of questions going back several years. That indicates that Ubuntu intends for it to work that way.
Sadly, many of the methods suggested to fix this just don't work. Pretty frustrating, when Mint does it correctly, out of the box.
While I can see needing this for documents and other data, I don't really see the appeal for program files. Wouldn't adding a shebang and exec rights be a better approach?
-Greg