# Gcc compiler from yay

**URL:** <https://forum.endeavouros.com/t/gcc-compiler-from-yay/40442>\
**Category:** EndeavourOS repo\
**Created:** [May 5, 2023, 1:56pm UTC](https://forum.endeavouros.com/t/gcc-compiler-from-yay/40442 "2023-05-05T13:56:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Flusso\_Canalizzatore](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/flusso_canalizzatore/32/77995_2.png) [@Flusso\_Canalizzatore](https://forum.endeavouros.com/u/Flusso_Canalizzatore)\
**Post date:** [May 5, 2023, 1:56pm UTC](https://forum.endeavouros.com/t/gcc-compiler-from-yay/40442/1 "2023-05-05T13:56:27Z")

</div>

Few days ago, I updated as usual and there was available a yay update for the gcc compiler.  
It takes very long time (more than two hours). While compiling, multiple “failed” came out but while it was still compiling, I had the necessity to plug-out the monitor to plug it to another device; than I switched to my pc again. After this, terminal was still opened (there was a little dot near the icon on the dock) but no windows of it was on screen. I kept on it for along but then I turned off the pc.  
Now, I would know if there’s a way to check if the compiler has been installed in the correct way (I don’t think so) or if I have to reinstall it.  
Any suggestion?  
Thanks in advance

---

<div class="post-metadata">

**Author:** ![anon11595408](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/a/f1d935/32.png) [@anon11595408](https://forum.endeavouros.com/u/anon11595408)\
**Post date:** [May 5, 2023, 2:05pm UTC](https://forum.endeavouros.com/t/gcc-compiler-from-yay/40442/2 "2023-05-05T14:05:42Z")

</div>

Just install the `base-devel` package via pacman or yay. It the easiest way, as that package already contains `gcc`, which can also be [installed selectively with pacman](https://archlinux.org/packages/core/x86_64/gcc/), and doesnt need to be built.

[https://wiki.archlinux.org/title/GNU#Toolchain](https://wiki.archlinux.org/title/GNU#Toolchain)
