In this brief tutorial, we will be discussing how to install development tools in popular Linux distributions like 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 softwares, 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

There are 25 members in the Arch Linux development tools group, such as,

  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.

2. Install Development Tools In RHEL, CentOS, Scientific Linux, Fedora

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:

  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

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.

  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.

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

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++

Verifying Installation

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!

That’s all for today! On behalf of OSTechNix, I wish you a very Happy New Year 2017. May the new year bring new hopes and opportunities for you!

Cheers!!

最新文章

  1. VS2010安装帮助文档出现错误
  2. OS X 10.10.5编译Android5.1.1源码
  3. Android基本认识
  4. Codeforces Round #349 (Div. 1) B. World Tour 最短路+暴力枚举
  5. 自定义input file 属性
  6. octopress添加回到顶部按钮
  7. C# 获取远程xml文件
  8. 剑指OFFER——顺时针打印矩阵
  9. leetCode之旅(14)-Number of 1 Bits
  10. [题解]小X的液体混合
  11. day13_DOM
  12. 部分用户访问Polycom视频会议时故障
  13. [转帖]Asp.Net MVC EF各版本区别
  14. C#高级编程9-第12章 动态语言扩展
  15. 【ZeroMQ】2、高性能的通讯库-zeroMQ
  16. SpringBoot 2.SpringBoot整合Mybatis
  17. Python Django 之 Template 模板语言简介
  18. part1:13-linux编译器GCC
  19. CF 577A 分解因数
  20. string的内存本质

热门文章

  1. Cache 工具类
  2. javascript数字转汉字中文数字
  3. Background Worker Component
  4. Scrum Planning Card
  5. WEB前端性能优化小结
  6. 惊叹jQuery(解决jQuery对象到DOM的转换)
  7. [Ramda] Filter, Reject and Partition
  8. jQuery 属性操作 - addClass() 方法
  9. python time模块详解(转)
  10. 【剑指offer】Q18:树的子结构