CentOS Linux Install Core Development Tools Automake, Gcc (C/C++), Perl, Python & Debuggers
2012-07-20 11:26 周国选 阅读(863) 评论(0) 编辑 收藏 举报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 downloadsize: 127 M Is this ok [y/N]: yDownloading Packages: ....
Now you can compile and use any application on system.
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 如何编写易于单元测试的代码
· 10年+ .NET Coder 心语,封装的思维:从隐藏、稳定开始理解其本质意义
· .NET Core 中如何实现缓存的预热?
· 从 HTTP 原因短语缺失研究 HTTP/2 和 HTTP/3 的设计差异
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
· 周边上新:园子的第一款马克杯温暖上架
· Open-Sora 2.0 重磅开源!
· 分享 3 个 .NET 开源的文件压缩处理库,助力快速实现文件压缩解压功能!
· Ollama——大语言模型本地部署的极速利器
· [AI/GPT/综述] AI Agent的设计模式综述
2009-07-20 将试用版visual studio 2008升级为正式版