No package gcc-c++ available. Error: Nothing to do
2017-07-31 19:24
519 查看
No package gcc-c++ available. Error: Nothing to do
没有可用的软件包gcc-c + +。错误:无事可做
换源之后安装gcc-c++软件,换源转自http://blog.csdn.net/echocourage/article/details/76425210
之上是安装执行过程,,安装完成!!!
没有可用的软件包gcc-c + +。错误:无事可做
换源之后安装gcc-c++软件,换源转自http://blog.csdn.net/echocourage/article/details/76425210
**[root@localhost /]# yum install -y gcc-c++** Configuration file /etc/yum/pluginconf.d/product-id.conf not found Unable to find configuration file for plugin product-id Configuration file /etc/yum/pluginconf.d/subscription-manager.conf not found Unable to find configuration file for plugin subscription-manager Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package gcc-c++.x86_64 0:4.4.7-18.el6 will be installed --> Processing Dependency: libstdc++-devel = 4.4.7-18.el6 for package: gcc-c++-4.4.7-18.el6.x86_64 --> Processing Dependency: libstdc++ = 4.4.7-18.el6 for package: gcc-c++-4.4.7-18.el6.x86_64 --> Processing Dependency: gcc = 4.4.7-18.el6 for package: gcc-c++-4.4.7-18.el6.x86_64 --> Running transaction check ---> Package gcc.x86_64 0:4.4.7-4.el6 will be updated ---> Package gcc.x86_64 0:4.4.7-18.el6 will be an update --> Processing Dependency: libgomp = 4.4.7-18.el6 for package: gcc-4.4.7-18.el6.x86_64 --> Processing Dependency: cpp = 4.4.7-18.el6 for package: gcc-4.4.7-18.el6.x86_64 --> Processing Dependency: libgcc >= 4.4.7-18.el6 for package: gcc-4.4.7-18.el6.x86_64 ---> Package libstdc++.x86_64 0:4.4.7-4.el6 will be updated ---> Package libstdc++.x86_64 0:4.4.7-18.el6 will be an update ---> Package libstdc++-devel.x86_64 0:4.4.7-18.el6 will be installed --> Running transaction check ---> Package cpp.x86_64 0:4.4.7-4.el6 will be updated ---> Package cpp.x86_64 0:4.4.7-18.el6 will be an update ---> Package libgcc.x86_64 0:4.4.7-4.el6 will be updated ---> Package libgcc.x86_64 0:4.4.7-18.el6 will be an update ---> Package libgomp.x86_64 0:4.4.7-4.el6 will be updated ---> Package libgomp.x86_64 0:4.4.7-18.el6 will be an update --> Finished Dependency Resolution Dependencies Resolved ===================================================================================================================================== Package Arch Version Repository Size ===================================================================================================================================== Installing: gcc-c++ x86_64 4.4.7-18.el6 base 4.7 M Installing for dependencies: libstdc++-devel x86_64 4.4.7-18.el6 base 1.6 M Updating for dependencies: cpp x86_64 4.4.7-18.el6 base 3.7 M gcc x86_64 4.4.7-18.el6 base 10 M libgcc x86_64 4.4.7-18.el6 base 103 k libgomp x86_64 4.4.7-18.el6 base 134 k libstdc++ x86_64 4.4.7-18.el6 base 295 k Transaction Summary ===================================================================================================================================== Install 2 Package(s) Upgrade 5 Package(s) Total download size: 21 M Downloading Packages: (1/7): cpp-4.4.7-18.el6.x86_64.rpm | 3.7 MB 00:02 (2/7): gcc-4.4.7-18.el6.x86_64.rpm | 10 MB 00:05 (3/7): gcc-c++-4.4.7-18.el6.x86_64.rpm | 4.7 MB 00:02 (4/7): libgcc-4.4.7-18.el6.x86_64.rpm | 103 kB 00:00 (5/7): libgomp-4.4.7-18.el6.x86_64.rpm | 134 kB 00:00 (6/7): libstdc++-4.4.7-18.el6.x86_64.rpm | 295 kB 00:00 (7/7): libstdc++-devel-4.4.7-18.el6.x86_64.rpm | 1.6 MB 00:00 ------------------------------------------------------------------------------------------------------------------------------------- Total 1.7 MB/s | 21 MB 00:12 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Updating : libgcc-4.4.7-18.el6.x86_64 1/12 Updating : libstdc++-4.4.7-18.el6.x86_64 2/12 Installing : libstdc++-devel-4.4.7-18.el6.x86_64 3/12 Updating : cpp-4.4.7-18.el6.x86_64 4/12 Updating : libgomp-4.4.7-18.el6.x86_64 5/12 Updating : gcc-4.4.7-18.el6.x86_64 6/12 Installing : gcc-c++-4.4.7-18.el6.x86_64 7/12 Cleanup : gcc-4.4.7-4.el6.x86_64 8/12 Cleanup : libstdc++-4.4.7-4.el6.x86_64 9/12 Cleanup : libgcc-4.4.7-4.el6.x86_64 10/12 Cleanup : cpp-4.4.7-4.el6.x86_64 11/12 Cleanup : libgomp-4.4.7-4.el6.x86_64 12/12 Verifying : libstdc++-devel-4.4.7-18.el6.x86_64 1/12 Verifying : libgomp-4.4.7-18.el6.x86_64 2/12 Verifying : cpp-4.4.7-18.el6.x86_64 3/12 Verifying : gcc-4.4.7-18.el6.x86_64 4/12 Verifying : gcc-c++-4.4.7-18.el6.x86_64 5/12 Verifying : libgcc-4.4.7-18.el6.x86_64 6/12 Verifying : libstdc++-4.4.7-18.el6.x86_64 7/12 Verifying : cpp-4.4.7-4.el6.x86_64 8/12 Verifying : libgomp-4.4.7-4.el6.x86_64 9/12 Verifying : libgcc-4.4.7-4.el6.x86_64 10/12 Verifying : gcc-4.4.7-4.el6.x86_64 11/12 Verifying : libstdc++-4.4.7-4.el6.x86_64 12/12 Installed: gcc-c++.x86_64 0:4.4.7-18.el6 Dependency Installed: libstdc++-devel.x86_64 0:4.4.7-18.el6 Dependency Updated: cpp.x86_64 0:4.4.7-18.el6 gcc.x86_64 0:4.4.7-18.el6 libgcc.x86_64 0:4.4.7-18.el6 libgomp.x86_64 0:4.4.7-18.el6 libstdc++.x86_64 0:4.4.7-18.el6 Complete!
之上是安装执行过程,,安装完成!!!
相关文章推荐
- yum安装inxi,出现No package inxi available.Error: Nothing to do的解决方法
- Linux RedHat无法安装软件问题(No package gcc available. Nothing to do)
- Linux RedHat无法安装软件问题(No package gcc available. Nothing to do)
- 【CentOS6.5】安装nginx报错:No package nginx available. Error: Nothing to do
- 安装nginx时报错:No package nginx available. Error: Nothing to do
- 已解决:Linux安装FTP时报错,No package vsftp available. Error: Nothing to do
- linux下安装时报错 yum install No package dpkg available. Error: Nothing to do
- gcc: error trying to exec 'cc1': execvp: No such file or directory
- "package gcc-4.4 is not available, but is referred to by another package", 安装gcc时出错的解决方法
- gcc: error trying to exec 'as': execvp: No such file or directory
- CentOS:Error: Nothing to do
- gcc 错误:Fatal error error writing to tmp No space left on device
- arm-xilinx-linux-gnueabi-gcc: error trying to exec 'cc1': execvp: No such file or directory
- arm-linux-androideabi-gcc: error trying to exec 'cc1': execvp: No such file or directory
- gcc: error trying to exec 'as': execvp: No such file or directory
- Linux下configure出现No package C++ available.解决方法
- QT:make: Nothing to be done for `first'和error:QtSql:No such file or directory
- mac下安装mysql-python包报unable to execute llvm-gcc-4.2: No such file or directory error: command 'llvm-g
- Install wine (the Solution to "No package wine available" When "yum install wine")
- Linux使用错误小结(CentOS)- vim安装问题: Error: Nothing to do