【发布时间】:2014-10-13 11:06:24
【问题描述】:
我正在尝试在 Ubuntu 14.04 sudo apt-get install gcc-4.5 g++-4.5 gcc-multilib g++-multilib 上安装 gcc-4.5 和 g++-4.5 但出现以下错误:
Package gcc-4.5 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
Package g++-4.5 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'gcc-4.5' has no installation candidate
E: Package 'g++-4.5' has no installation candidate
谁能告诉我我需要做什么?
【问题讨论】:
-
从较旧的 ubuntu 发行版中获取它。为什么你需要那个版本?
-
您能详细说明一下吗?因为有些模块比如llvm可以用这个版本编译,但是gcc-4.6不行。 link
-
访问 askubuntu.com 了解更多关于如何使用包管理器做奇怪事情的详细信息。
标签: gcc g++ installation ubuntu-14.04