• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

CentOS Linux Install Core Development Tools Automake, Gcc (C/C++), Perl, Python ...

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

Q. How do I install all developer tools such as GNU GCC C/C++ compilers, make and others, after installing CentOS from a shell prompt?

A. You need to install 'Development Tools' group. These tools include core development tools such as automake, gcc, perl, python, and debuggers:
=> flex
=> gcc
=> redhat-rpm-config
=> strace
=> rpm-build
=> make
=> pkgconfig
=> gettext
=> automake
=> strace64
=> gdb
=> bison
=> libtool
=> autoconf
=> gcc-c++
=> binutils and all dependencies.

Open termianl or login over ssh session and type the following command as root user:
# yum groupinstall 'Development Tools'
Sample output:

Loading "fastestmirror" plugin Loading mirror speeds from cached hostfile  
* base: mirror.steadfast.net  
* updates: dist1.800hosting.com  
* addons: centos.mirrors.tds.net  
* extras: dist1.800hosting.com Setting up Group Process Loading mirror speeds from cached hostfile  
* base: mirror.steadfast.net  
* updates: dist1.800hosting.com  
* addons: centos.mirrors.tds.net  
* extras: dist1.800hosting.com Package make - 1:3.81-3.el5.i386 already installed and latest version Package gettext - 0.14.6-4.el5.i386 already installed and latest version Package binutils - 2.17.50.0.6-6.el5.i386 already installed and latest version Resolving Dependencies --> Running transaction check 
---> Package automake.noarch 0:1.9.6-2.1 set to be updated 
---> Package frysk.i686 0:0.0.1.2008.03.19.rh1-1.el5 set to be updated 
--> Processing Dependency: libgcj.so.7rh for package: frysk 
--> Processing Dependency: glib-java >= 0.2.6 for package: frysk 
---> Package autoconf.noarch 0:2.59-12 set to be updated 
--> Processing Dependency: imake for package: autoconf 
---> Package rcs.i386 0:5.7-30.1 set to be updated 
---> Package strace.i386 0:4.5.16-1.el5.1 set to be updated 
---> Package redhat-rpm-config.noarch 0:8.0.45-24.el5 set to be updated 
---> Package elfutils.i386 0:0.125-3.el5 set to be updated 
--> Processing Dependency: libdw.so.1 for package: elfutils 
........... .... .. 
Transaction Summary ============================================================================= 
Install    
105 Package(s) Update       0 Package(s) Remove       0 Package(s) Total download 


size: 127 M Is this ok [y/N]: y 
Downloading Packages: ....

Now you can compile and use any application on system.


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
热门话题
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap