Home Linux Administration How To Install Development Tools In Linux

How To Install Development Tools In Linux

By sk
Published: Last Updated on 18.8K views

In this brief tutorial, we will be discussing how to install development tools in Linux distributions such as Arch Linux, CentOS, RHEL, Fedora, AlmaLinux, Rocky Linux, Debian, Ubuntu, and openSUSE etc.

These development tools includes all necessary applications, such as GNU GCC C/C++ compilers, make, debuggers, man pages and others which are needed to compile and build new software and packages.

Download - Free eBook: "Bootstrap Programming Cookbook"

Install Development Tools In Linux

The developer tools can be installed either individually one by one or all at once. We are going to install all at once to make things much easier.

1. Install Development Tools In Arch Linux And Derivatives

To install development tools in Arch Linux and its derivatives like Antergos, Manjaro Linux, just run:

$ sudo pacman -Syyu
$ sudo pacman -S base-devel

The above command will install the following package(s) in your Arch-based systems.

  1. autoconf
  2. automake
  3. binutils
  4. bison
  5. fakeroot
  6. file
  7. findutils
  8. flex
  9. gawk
  10. gcc
  11. gettext
  12. grep
  13. groff
  14. gzip
  15. libtool
  16. m4
  17. make
  18. pacman
  19. patch
  20. pkg-config
  21. sed
  22. sudo
  23. texinfo
  24. util-linux
  25. which

Just hit ENTER to install all of them.

Install Development Tools In Arch Linux
Install Development Tools In Arch Linux

If you want to install to a specific package group, just type its number and hit ENTER to continue installation.

2. Install Development Tools In Fedora, RHEL, CentOS, AlmaLinux, Rocky Linux

To install development tools in Fedora, RHEL and its clones such as CentOS, AlmaLinux and Rocky Linux, run the following commands as root user.

$ sudo dnf update
$ sudo dnf groupinstall "Development Tools"

On RHEL 7 and older versions, use the following commands:

$ sudo yum update
$ sudo yum groupinstall "Development Tools"

The above command is going to install all necessary developer tools, such as:

  1. autoconf
  2. automake
  3. bison
  4. byacc
  5. cscope
  6. ctags
  7. diffstat
  8. doxygen
  9. elfutils
  10. flex
  11. gcc/gcc-c++/gcc-gfortran
  12. git
  13. indent
  14. intltool
  15. libtool
  16. patch
  17. patchutils
  18. rcs
  19. subversion
  20. swig
Install Development Tools In RHEL, CentOS, AlmaLinux, Rocky Linux
Install Development Tools In RHEL, CentOS, AlmaLinux, Rocky Linux

3. Install Development Tools In Debian, Ubuntu And Derivatives

To install required developer tools in Debian-based systems, run:

$ sudo apt update
$ sudo apt install build-essential

This command will all necessary packages to setup the development environment in Debian, Ubuntu and its derivatives.

  1. binutils
  2. cpp
  3. gcc-5-locales
  4. g++-multilib
  5. g++-5-multilib
  6. gcc-5-doc
  7. gcc-multilib
  8. autoconf
  9. automake
  10. libtool
  11. flex
  12. bison
  13. gdb
  14. gcc-doc
  15. gcc-5-multilib
  16. and many.
Install Development Tools In Debian, Ubuntu
Install Development Tools In Debian, Ubuntu

You now have the necessary development tools to develop a software in your Linux box.

If you don't like this method to install the development tools, there is also a script named “mangi script” available to easily setup development environment in DEB based systems such as Ubuntu, Linux Mint and other Ubuntu derivatives. For more details, refer the following guide.

4. Install Development Tools In openSUSE/SUSE

To setup development environment in openSUSE and SUSE enterprise, run the following commands as sudo or root user:

$ sudo zypper refresh
$ sudo zypper update
$ sudo zypper install -t pattern devel_C_C++

Verifying Installation

Now, Let us verify the development tools have been installed or not. To do so, run:

$ gcc -v
$ make -v
Verify if the development tools are installed
Verify if the development tools are installed

As you see in the above output, the development tools have been successfully installed in Linux. Start developing your applications!

You May Also Like

Leave a Comment

* By using this form you agree with the storage and handling of your data by this website.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

This website uses cookies to improve your experience. By using this site, we will assume that you're OK with it. Accept Read More