ttt*_*ttt 7 cmake software-installation
当我跑
sudo apt-get install cmake
Run Code Online (Sandbox Code Playgroud)
我收到以下回复:
Package cmake is not available, but is referred to by another package.
This may mean the package is missing, has been obsoleted, or is only available from another source
E: Package 'cmake' has no installation candidate
Run Code Online (Sandbox Code Playgroud)
如何安装cmake?
小智 12
我遇到了同样的问题,在谷歌搜索了一下之后,我能够安装 cmake。我解决了我的问题如下:
sudo apt-get update -y
sudo apt-get update
sudo apt-get install cmake
Run Code Online (Sandbox Code Playgroud)
小智 0
您启用了 Universe 存储库吗?Ubuntu 哪个版本?
试试这个: https: //launchpad.net/~kalakris/+archive/cmake。
这是具有最新cmake. 我向您确认它cmake存在并且可以通过以下方式安装:
apt-get install cmake
Run Code Online (Sandbox Code Playgroud)