問題描述
我正在使用 64 位 Ubuntu,我想安裝 Code::Blocks IDE。有存儲庫嗎?
最佳方案
它在軟件中心可用。
隻需打開 Ubuntu 軟件中心並搜索其名稱即可。
或者通過終端安裝:
sudo apt-get install codeblocks
次佳方案
\\n
Note: damien-moore’s PPA mentioned in this answer has Code::Blocks version 16.01 and does not support releases after 16.04.
\\n
在 Code::Blocks 網站上,Linux 的下載頁麵指向 Code::Blocks Release Builds PPA ,這可能是安裝合理的 up-to-date 版本的 Code::Blocks 的最簡單方法。要從上述 PPA 安裝 Code::Blocks,請執行以下操作:
sudo add-apt-repository ppa:damien-moore/codeblocks-stable
sudo apt-get update
sudo apt-get install codeblocks codeblocks-contrib
第三種方案
\\n
Code::Blocks is a cross-platform Integrated Development Environment\\n(IDE). It is based on a self-developed plugin framework allowing\\nunlimited extensibility. Most of its functionality is already provided\\nby plugins. Plugins included in the base package are:
\\n
\\n
- Compiler frontend to many free compilers
\\n
- Debugger frontend for GDB (and CDB for windows platforms)
\\n
- Source formatter (based on AStyle)
\\n
- Wizard to create new C++ classes
\\n
- Code-completion / symbols-browser (work in progress)
\\n
- Default MIME handler
\\n
- Wizard to create new Code::Blocks plugins
\\n
- To-do list
\\n
- Extensible wizard based on scripts
\\n
- Autosave (saves your work in the unfortunate case of a crash)1
\\n
\\n
要下載並安裝,請單擊下圖。
1來源:Ubuntu 應用目錄
第四種方案
您可以使用以下命令安裝 CodeBlocks:
sudo apt-get install codeblocks