PINE64

Full Version: Fedora 32 gcc or clang
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I installed Fedora 32 KDE Plasma today (Nov 29, 2020) from the Pine website. 
Used dnf to so some 424 updates and rebooted (so system was current).
Then tried to do:  
  dnf install gcc
  dnf install clang
Both failed due to missing kernel headers being filtered out.

I am now doing an upgrade from Fedora 32 to 33 as per
  https://docs.fedoraproject.org/en-US/qui...m-upgrade/
The 3172 actions are taking a while.  Once done, I will see if I can 
install either gcc or clang C compilers.

This system is running on a 64 GB uSD card.
The update to Fedora 33 went fine. After reboots, still can not install either gcc or clang.
Both still fail on missing kernel headers.
I am not using fedora now,  but seem to remember that you need to install the kernel-devel and kernel-headers packages  It seems that now you might only need to install  kernel-devel .  See:  https://docs.fedoraproject.org/en-US/Fed...07s08.html
Doing the command:
dnf install --disableexcludes=all gcc clang
worked and installed the two C compilers (along with their prereqs).

I see that there are "exclude=kernel*" in /etc/yum.repos.d/* (in three files).
Why? Will I cause problems by installing the kernel headers?
Just my guess. Kernel headers should match kernel version but there's no official kernel for pbp on fedora repos.
I think the one who did the pbp img did that to prevent people installing a generic kernel.