This version is tested using Ubuntu 24.04 LTS
sudo apt-get update && sudo apt-get upgrade
sudo apt-get install git
Using HTTP
git clone https://github.com/ring-lang/ring.git
Or using SSH
git clone [email protected]:ring-lang/ring.git
cd ring/build
./installdepubuntu.sh
This will build everything (Also, will call ring/bin/install.sh)
cd ring/build
./buildgcc.sh
ringpm run ringnotepad
sudo ./buildgcc.sh
cd ring/tools/ring2exe
sudo ./build.sh
cd ring/extensions/ringconsolecolors
./gencode.sh
./buildgcc.sh
cd ring/extensions/ringinternet
./buildgcc.sh
cd ring/extensions/ringcurl
./gencode.sh
./buildgcc.sh
cd ring/extensions/ringzip
./gencode.sh
./buildgcc.sh
cd ring/tools/ringpm
sudo ./build.sh
cd ring/tools/ringrepl
sudo ./build.sh
cd ring/tools/folder2qrc
sudo ./build.sh
cd ring/extensions/ringodbc
./buildgcc.sh
cd ring/extensions/ringmysql
./buildgcc.sh
cd ring/extensions/ringsqlite
./buildgcc.sh
cd ring/extensions/ringpostgresql
./gencode.sh
./buildgcc.sh
cd ring/extensions/ringopenssl
./buildgcc.sh
cd ring/extensions/ringmurmurhash
./buildgcc.sh
cd ring/extensions/ringallegro
./gencode.sh
./buildgcc.sh
We will build Libuv first
cd ring/extensions/ringlibuv/libuv
sudo apt-get install libtool m4 automake
sh autogen.sh
./configure
make
make check
sudo make install
Then we will build RingLibuv
cd ring/extensions/ringlibuv
./gencode.sh
./buildgcc.sh
cd ring/extensions/ringfreeglut
./gencode.sh
./buildgcc.sh
The ringopengl folder contains many sub folders for different OpenGL versions Starting from OpenGL 1.1 to OpenGL 4.6
cd ring/extensions/ringopengl/opengl21
./gencode.sh
./buildgcc.sh
cd ring/extensions/ringqt
./gencode_light.sh
./buildgcc_light.sh
./gencode.sh
./buildgcc.sh
cd ring/bin
sudo ./install.sh
ringpm run ringnotepad
The previous steps demonstrates building Ring and some of the Ring extensions.
There are more extensions in ring/extensions folder like RingCJSON, RingHTTPLib, etc.