安装 CodeTyphon

一直想找个开源的可以商用的 Delphi 的替代品,能跨平台了最好。开始时试过 Lazarus,和 D7 还真是挺像的,不过用惯了 XE,还是想找个习惯相似的 IDE,扒拉下论坛后发现了 CodeTyphon,就想着试一下。

下载

下载就不多说了,网上很容易找到,而且官方 wiki 写得也很好,英文好的可以直接看,像我这样的英语渣渣,还是有必要慢慢去啃的。

CodeTyphon 下载后只有一个 CodeTyphonIns.zip 的压缩包,无论是 WindowsLinux 还是 MacOS,安装包都是它,因为不管在哪个平台上安装,都是要编译的。

安装

  1. 解压 CodeTyphonIns.zip 得到 CodeTyphonIns

  2. 在 Windows 平台,以管理员方式运行 install.bat;在类 unix 平台,先 cd CodeTyphonIns,再 sudo ./install.sh

  3. 出现以下界面,输入 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): 
  1. 等待执行完,出现以下界面,再次输入 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 也会下载安装系统所需要的包,这个过程是必须联网进行的。

  1. 安装完之后会回到上一步的界面,输入 8

  2. 等待安装结束,查看日志是否安装成功,最后输入 9 退出

以上是最基本的采用默认配置的安装步骤,以后摸索多了再更如何自定义配置的安装吧。

posted @ 2022-09-01 17:16  南国之恋  阅读(2410)  评论(0编辑  收藏  举报