Where Is Gcc Located Ubuntu?
Contents

You need to use the which command to locate c compiler binary called gcc. Usually, it is installed in /usr/bin directory.

Where is gcc located?

Run echo $PATH to find out what is your current $PATH . You could either type exactly /usr/bin/gcc , or add some alias to your interactive shell configuration (often ~/.

How do I know if gcc is installed on Ubuntu?

2 Answers. Very simple. and that will indicate that gcc is installed on your computer. In the Command Prompt window type “gcc” and hit enter.

James H. Sterling

James H. Sterling

Environmental Science & Climate Journalist

James Sterling reports on renewable energy developments, climate policy, ecological conservation, and green tech innovations around the globe.

Share this article
Twitter Facebook Pinterest