Ubuntu版本:20.04
CodeTyphon版本:7.20
一,解壓縮CodeTyphon:
下載鏈接:https://www.pilotlogic.com/sitejoom/index.php/downloads.html?task=download.send&id=123&catid=14&m=0
把CodeTyphon下載到Ubuntu,解壓縮后打開終端窗口,輸入命令:
cd /home/sunylat/CodeTyphonIns
注意:第一條命令后面參數是CodeTyphon安裝文件目錄,應該替換為你的CodeTyphon安裝目錄!
二,安裝CodeTyphon:
sudo ./install.sh
隨后出現安裝選項菜單:
注意:初次安裝CodeTyphon菜單項目沒有這么多!!
==================================================== CodeTyphon Studio 7.20 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) Install System Libraries ,但是,即使選擇這個菜單項了,也有可能安裝失敗了!!
失敗原因:獲取必要的庫文件時候失敗了!!!!
解決方法:在執行此選項前,保證Ubuntu的下載源服務器正常連接!!
如果能夠保證Ubuntu下載源服務器連接正常,那么就應該可以下載和安裝System Libraries,假設已經開始正常下載和安裝了,那么這個過程需要一些時間,一直等就可以了!!當System Libraries下載和安裝結束后,就會出現上面的安裝選項菜單了,這個時候,選擇:
8) Remove and Build ALL , 隨后就會開始編譯和安裝CodeTyphon了,這個過程也需要一些時間,一直等就可以了,全部編譯安裝完畢后,會停留在上面安裝項目選擇界面,這個時候選擇:9) EXIT , 直接退出控制台窗口就可以了,到這里就安裝完畢了!!
總結:
在非OSX和Linux下安裝,首先應該安裝System Libraries,但是OSX下和Linux對比,有個區別,就是在安裝System Libraries之前,應該先安裝XQuartz !
OSX下的安裝:https://www.cnblogs.com/sunylat/p/13648266.html
參考:
https://pilotlogic.com/sitejoom/index.php/wiki?id=205