Debian/Ubuntu下關於編譯環境 make cmake 等的安裝


提示找不到make命令:

The program 'make' is currently not installed.  You can install it by typing:
apt-get install make

我嘗試apt-get install make進行安裝,可是提示:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package make 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 'make' has no installation candidate

嘗試通過關鍵詞:

The program 'make' is currently not installed

Package make is not available, but is referred to by another package

最后通過載入光盤文件搞定

1、先放入Debian/UBUNTU安裝盤到光盤中;

2、再按順序執行以下的命令:

sudo apt-cdrom add

sudo apt-get update

sudo apt-get install build-essential libtool

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM