Ask Your Question
1

build-essentials

asked 2015-11-12 06:28:21 -0500

rinfinity gravatar image

updated 2015-11-12 17:00:10 -0500

I'm new to fedora but have been a bit familiar with debian based distributions and hence i'm going through a "culture-shock" right now.

For a certain device to work, i need to use backports from linux rc sources. On Ubuntu I did the following to get this device work:

sudo apt-get install build-essential linux-headers-$(uname -r) git
echo "options ath10k_core skip_otp=y" | sudo tee /etc/modprobe.d/ath10k_core.conf

wget http://filebin.ca/2LVgpjSgiT56/backports-ath-2015-11-05.tar.bz2
tar -vxf backports-ath-2015-11-05.tar.bz2
cd backports-ath10k-2015-11-05
make defconfig-ath10k
make
sudo make install

cd ..

git clone https://github.com/kvalo/ath10k-firmware.git
sudo cp -r ath10k-firmware/ath10k/ /lib/firmware/
sudo cp -r ath10k-firmware/QCA9377 /lib/firmware/ath10k/
sudo mv /lib/firmware/ath10k/QCA9377/hw1.0/firmware-5.bin_WLAN.TF.1.0-00267-1 /lib/firmware/ath10k/QCA9377/hw1.0/firmware-5.bin

On fedora I replaced apt-get with dnf, and to my amusement found

  1. there's no build-essential in fedora
  2. linux-headersxxxxxx are called kernel-headersxxxxxx in fedora.
  3. git is already installed.

So, the question is, without build-essential, how do i install the backport?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
5

answered 2015-11-12 08:34:37 -0500

aeperezt gravatar image

updated 2015-11-12 12:41:07 -0500

On Fedora goup names change, so lets familiarize with them:

sudo dnf grouplist

that will list all your groups there you will find a group like "Development Tools and Libraries" that has what you looking for you can install it by doing:

sudo dnf groupinstall "Development Tools and Libraries"

You can see group list here https://fedoraproject.org/wiki/RPMGroups

Good luck with it.

Advise learn to manage dnf groups.

edit flag offensive delete link more

Comments

1

There's a typo in your answer, sould be "...Development..."

HoboPrimate gravatar imageHoboPrimate ( 2015-11-12 11:56:03 -0500 )edit
1

Yeah, I would run sudo dnf grouplist first and see what's available for your release.

Nicholas gravatar imageNicholas ( 2015-11-12 13:20:14 -0500 )edit

Thanks for the answer. I'll follow your direction to learn. :) I delved into build-essential package (from Ubuntu Trusty) and found that it's just a meta-package composed of the following:

  1. dpkg-dev (>= 1.13.5)

  2. g++ (>= 4:4.4.3)

  3. gcc (>= 4:4.4.3)
  4. libc6-dev
  5. make

Which makes clear why the package is named build-essential. It saves the avg user from installing the whole "Development Tools and Libraries" group. I found this on Fedora forum:

yum install make automake gcc gcc-c++ kernel-devel

http://forums.fedoraforum.org/showpos...

rinfinity gravatar imagerinfinity ( 2015-11-12 17:20:24 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2015-11-12 06:28:21 -0500

Seen: 11,012 times

Last updated: Nov 12 '15