Geany¶
Geany 是一个轻量、便捷的编辑器,对于 Linux 环境下的初学者较为友好。
与 Dev-C++ 一样,它可以编译运行单个文件。
不过,它可以在 Linux/Windows/macOS 下运行。
其官网为: https://geany.org/
优缺点¶
优点¶
- 轻量;
- 可以编译运行单个文件;
- 不需要太多配置;
- 跨平台。
缺点¶
- 没有太多人使用;
- 在 macOS Catalina 下有一些权限问题;
- 新建文件时,默认不会有语法高亮,需要保存为 C++ 文件后才会有;
- 如果从模板新建 C++ 文件,后缀名为*.cxx,而不是我们所熟悉的*.cpp。
安装¶
Windows/macOS¶
在官网上下载安装包安装
Linux¶
方法一¶
使用 apt
等包管理器进行安装
方法二¶
- 从官网下载源码
- 终端下运行:
./configure
make
sudo make install
如遇到 No package 'gtk+-2.0' found
可能需要安装 libgtk2.0-dev
(使用 apt
等包管理器 即可)
常见问题¶
兼容深度终端:
在首选项→工具→虚拟终端,修改终端的命令为:
deepin-terminal -x "/bin/sh" %c
点击“应用”按钮后即可。
(来源:Deepin Wiki https://wiki.deepin.org/ )
buildLast update and/or translate time of this article2020/7/23 16:21:56,Check the history
editFound smelly bugs? Translation outdated? Wanna contribute with us? Edit this Page on Github
peopleContributor of this article ucSec, GekkaSaori, NachtgeistW
translateTranslator of this article Visit the original article!
copyrightThe article is available under CC BY-SA 4.0 & SATA ; additional terms may apply.