Quantcast
Channel: Active questions tagged 22.04 - Ask Ubuntu
Viewing all articles
Browse latest Browse all 4437

How can I install gcc-7 for Ubuntu 22.04?

$
0
0

I've just installed Ubuntu 22.04, and I'm struggling installing gcc-7. I've already tried with sudo apt install gcc-7 but it says there is no installation candidate. I tried to find a PPA for this version but apparently there is none yet.

The reason I need this specific version of gcc is that, according to https://www.tensorflow.org/install/source?hl=es-419#gpu , tensorflow-2.6.0 needs GCC 7.3.1 to be compiled (actually I'm not able to even install CUDA 11.2, the following error appears: Failed to verify gcc version. See log at /var/log/cuda-installer.log for details.).

Any help that you can give in this matter would be much appreciated.


Viewing all articles
Browse latest Browse all 4437

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>