How To Install Development Tools In Linux
In this brief tutorial, we will be discussing how to install development tools in Linux distributions such as Arch Linux, CentOS, RHEL, Fedora, 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.
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.
Just hit ENTER to install all of them.
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 RHEL, CentOS
To install development tools in Fedora, RHEL and its clones such as CentOS, Scientific Linux, run the following commands as root user.
$ yum update
$ yum groupinstall "Development Tools"
The above command is going to install all necessary developer tools, such as:
3. Install Development Tools In Debian, Ubuntu and derivatives
To install required developer tools in DEB based systems, run:
$ sudo apt-get update
$ sudo apt-get install build-essential
This command will all necessary packages to setup the development environment in Debian, Ubuntu and its derivatives.
- and many.
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 root user:
$ zypper refresh
$ zypper update
$ zypper install -t pattern devel_C_C++
Now, Let us verify the develop tools have been installed or not. To do so, run:
$ gcc -v
$ make -v
As you see in the above output, the development tools have been successfully installed. Start developing your applications!