i have already installed gcc and its found in path(gcc: /usr/lib/gcc /usr/share/man/man1/gcc.1.gz). But when i want to use the gcc it says: Command 'gcc' not found, but can be installed with: sudo apt install gcc
and i try to install it but still its not working,,output after i install is: Reading package lists... Done
Building dependency tree
Reading state information... Done
gcc is already the newest version (4:7.3.0-3ubuntu2.1).
0 to upgrade, 0 to newly install, 0 to remove and 8 not to upgrade. if anybody know this please help
forexample If I run this command; gcc --version its output is
Command 'gcc' not found, but can be installed with: sudo apt install gcc why does this happen,since i have seen gcc in the path: gcc: /usr/lib/gcc /usr/share/man/man1/gcc.1.gz