/cairo-installer

Cairo 1.0 Installer

Primary LanguageShell

Cairo 1.0 Installer (DEPRECATED)

This project (no official) install a versión of Cairo 1.0 (the versions are specified below).

Warning ⚠️

This project was only tested on Ubuntu 20.04, so it is highly recommended to only use it on these distributions, please make a restore point before trying this (nothing should happen but you never know). Use it at your own risk :P

This script is not a definitive way to install Cairo 1.0, as there is currently no documentation source I tried to save people a few steps in the way that worked for me. NO need to run with sudo.

Note that this does not remove any previous Cairo versions, but if you have one currently installed, it may cause conflicts.

How to use

Install

  1. Clone the repo
git clone https://github.com/sdgalvan/cairo-installer.git
  1. Go to the installer.sh folder
cd cairo-installer
  1. Run installer.sh with cairo version

3.a Install the latest version (branch main from starkware/cairo) by simply running

chmod +x ./installer.sh
./installer.sh

3.b Optionally, you can choose one of the available versions in the following table:

Cairo Releases Parameter
v1.0.0-alpha-2 1.0.0-alpha-2
chmod +x ./installer.sh
./installer.sh 1.0.0-alpha-2
  1. If everything went well, you should see something like this: image

Change version (WIP)

  1. Clone the repo
git clone https://github.com/sdgalvan/cairo-installer.git
  1. Go to the version-manager.sh folder
cd cairo-installer
  1. Run version-manager.sh with cairo version
Cairo Releases Parameter
v1.0.0-alpha-2 1.0.0-alpha-2
./version-manager.sh 1.0.0-alpha-2
  1. If everything went well, you should see something like this: image

Video

cairo-installer-demo.mp4

Special Thanks ✨

dpinones
@dpinoness

  • dpinoness: for showing me how the installation process was, I simply based myself on those steps to automate this, the credit belongs to him. Also the base project is from their Exploring Cairo 1.0 repository 🤣 (next step if you want to learn more about syntax).