安装 CodeTyphon
一直想找个开源的可以商用的 Delphi 的替代品,能跨平台了最好。开始时试过 Lazarus,和 D7 还真是挺像的,不过用惯了 XE,还是想找个习惯相似的 IDE,扒拉下论坛后发现了 CodeTyphon,就想着试一下。
下载
下载就不多说了,网上很容易找到,而且官方 wiki 写得也很好,英文好的可以直接看,像我这样的英语渣渣,还是有必要慢慢去啃的。
CodeTyphon 下载后只有一个 CodeTyphonIns.zip 的压缩包,无论是 Windows、Linux 还是 MacOS,安装包都是它,因为不管在哪个平台上安装,都是要编译的。
安装
-
解压
CodeTyphonIns.zip得到CodeTyphonIns -
在
Windows平台,以管理员方式运行install.bat;在类unix平台,先cd CodeTyphonIns,再sudo ./install.sh -
出现以下界面,输入
0
====================================================
CodeTyphon Studio
Version 7.30 (GEN 7)
Installation for Linux-Solaris-Openindiana-MacOS
FreeBSD-NetBSD-OpenBSD-DragonFly
====================================================
-----WARNING------ WARNING ----WARNING-------
You tryng to install CT as root
This is NOT the correct procedure.
You MUST start CodeTyphon Installation as normal user
with sudo root privileges
---------------------------------------------
0) Install CodeTyphon Studio (remove old first)
1) Update CodeTyphon Studio
2) Remove CodeTyphon Studio
9) Exit
>>> Select an action (press 0..9 key):
- 等待执行完,出现以下界面,再次输入
0(我就是这里漏掉了,折腾了 N 多遍)
====================================================
CodeTyphon Studio 7.30 Setup for Linux64
Settings: Platform=gtk2 Multiarch Mode=0
====================================================
0) Install System Libraries
1) Run CodeTyphon Center (CTC)
11) -- Platform (widget) Setup
12) -- Multi-Architecture Setup
3) Remove FreePascal
4) Remove and Build FreePascal
5) Remove Typhon IDE
6) Remove and Build Typhon IDE
7) Remove ALL
8) Remove and Build ALL
9) EXIT
>>> Select an action (press 0..9 key): 0
此时,Windows 平台会弹出下载安装 DirectX 的界面,Linux 也会下载安装系统所需要的包,这个过程是必须联网进行的。
-
安装完之后会回到上一步的界面,输入
8 -
等待安装结束,查看日志是否安装成功,最后输入
9退出
以上是最基本的采用默认配置的安装步骤,以后摸索多了再更如何自定义配置的安装吧。

浙公网安备 33010602011771号