Wiki

Installation on MacOS

Contents[Hide]

 macosinstall-home

 

WARNING: On MacOS X , this installation request a user with sudo root privileges.
User name must have only English letters and without spaces.

 

 

1. Step : Preparation

a) Install Xcode from Apple Store
b) Install XQuartz    https://xquartz.macosforge.org/landing/
c) Install MacPorts  https://www.macports.org
d) Install command line developer tools
     Open a terminal and execute:

      xcode-select --install

 e) Accept Xcode license
      Open a terminal and execute:

      sudo xcodebuild -license

 

 
f) Give to installation user sudo root privileges.

What is sudo ?

Users in the sudoers list are allowed the privileges to run commands and open files as the root user.

How to add a user to the sudoers list:
Open the file “sudoers” located at /etc/sudoers using your favorite text editor.
You must have root permissions to be able to edit this file so you will want to open your editor from the command line.

 If you use nano editor you can simply enter the following into the Terminal:


sudo nano /etc/sudoers    

 macos-11


Once you have the sudoers file open, add as last line:

user    ALL=(ALL) NOPASSWD: ALL

macos-12

 

Ctrl+x to exit from nano and choose save (y/Y).
The new user has now been added to the “sudoers” file and can use the “sudo” command passwordless.

 

 

2. Step : Download

Download CodeTyphonIns.zip     to your /home directory

Extract CodeTyphonIns.zip contents

macos-2

 

macos-3

 

macos-4

 

 

3. Step : Install

Go to CodeTyphonIns directory and execute the "install.sh" (as "normal" user with "sudo" root privileges)

To execute from terminal install.sh script
   cd CodeTyphonIns                   (go to CodeTyphonIns folder)  
   sh ./install.sh                           (execute install.sh)  

Give zero "0" to Install CodeTyphon

macos-21

 

 

4. Step : Setup and Build

After install script CT automatic will start Setup script info20.

Only for the first time of CodeTyphon installation in your Computer,
From "Setup Script" Select option (0) "Install System Libraries", to install some System Libraries.
(2-5 minutes procedure)

From "Setup Script" info20 select option (8) "Remove and Build ALL" to Build Freepascal and Typhon IDE from source.
(10-20 minutes procedure)

macos-23

 

 

5. Step : Use CT

Run Typhon IDE or CodeTyphon Center

macos-30

Note: After installation you can remove "CodeTyphonIns”  folder