当前位置: 首页>>技术教程>>正文


如何安装 Code::Blocks IDE?

问题描述

我正在使用 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

参考资料

本文由Ubuntu问答整理, 博文地址: https://ubuntuqa.com/article/13305.html,未经允许,请勿转载。