23.5 C
Texas
angeloma
Senior Writer and partner

How to install the Development and build tools on Fedora 34 / 33?

In this very short post, you will learn how to install a series of development and build tools on Fedora 34 / 33. These tools are essential to perform tasks like installing packages from the source code. Or some programming tasks such as package creation.

If you are an application developer and need to package it for a distribution like Fedora, Debian or Ubuntu, you need some tools. Some of these tools are considered to be essential for the process.

So, all these tools are contained in the package "Development Tools“. Other important packages will be installed there. Some of them are:

  • GCC the GNU C language compiler which is a mainstay for developing various languages and installing programs.
  • make which allows us to compile programs from source code.
  • G++ the GNU compiler for the C++ language which is widely used in QT applications.

And many more.

Install the Development and build tools on Fedora 34/ 33

- Advertisement -

These packages are not the dependencies of any program so you can install them from the source code or create new RPM packages. These packages are the basic tools that allow these operations. However, the libraries and the rest of the tools depend on each package you need to compile or create.

So, open a terminal and update the distribution:

sudo dnf update

And it carries out the installation by running:

sudo dnf groupinstall "Development Tools" "Development Libraries"
1.- Install build packages Fedora 34 / 33
1.- Install build packages Fedora 34 / 33

And you will see a long list of packages to be installed. All are libraries and some tools for it. But the installation doesn’t have to take that long either.

In the end, it is possible to show the versions of the most popular tools like GCC, G++, or make.

make --version

Output:

GNU Make 4.3
 Built for x86_64-redhat-linux-gnu
 Copyright (C) 1988-2020 Free Software Foundation, Inc.
 License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
 This is free software: you are free to change and redistribute it.
 There is NO WARRANTY, to the extent permitted by law.
gcc --version

Sample Output

gcc (GCC) 11.0.1 20210324 (Red Hat 11.0.1-0)
 Copyright (C) 2021 Free Software Foundation, Inc.
 This is free software; see the source for copying conditions.  There is NO
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
g++ --version

Output

g++ (GCC) 11.1.1 20210428 (Red Hat 11.1.1-1)
 Copyright (C) 2021 Free Software Foundation, Inc.
 This is free software; see the source for copying conditions.  There is NO
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

And now you have at least the basic packages to start the work.

Conclusion

The development and package building tools are very important in Fedora 34. Since many programs that are in the repositories depend on them and installing them can save us time.

On the other hand, they become quite necessary if we are developers or application packagers.

- Advertisement -
Everything Linux, A.I, IT News, DataOps, Open Source and more delivered right to you.
Subscribe
"The best Linux newsletter on the web"

1 COMMENT

LEAVE A REPLY

Please enter your comment!
Please enter your name here



Latest article