curl https://ciao-lang.org/boot -sSfL | sh
Please report as issues any problems found during the installation process.
You can explore additional components at the bundle catalog (including links to documentation and source code repositories) and install them with the ciao get BUNDLENAME command (see also bundle management).
For customized installations or developer builds, please consult the manual installation from source instructions.
In any case, it is easy to use Ciao from a terminal and edit code with any editor of your choice. The top level includes some minimal editing facilities when rlwrap is available.
$ apt-get install build-essential $ apt-get install emacs # optional $ apt-get install rlwrap # optional $ apt-get install texlive texinfo imagemagick # optional
$ apt-get install gcc-multilib libc6-i386 libc6-dev-i386 g++-multilib
$ dnf install gcc make which kernel-headers kernel-devel $ dnf install emacs # optional $ dnf install rlwrap # optional $ dnf install texlive texinfo texinfo-tex ImageMagick # optional
$ dnf install glibc-devel.i686 glibc-devel libstdc++-devel.i686
$ pacman -Syu # optional, upgrade if needed $ pacman -S base-devel linux-headers $ pacman -S emacs # optional $ pacman -S rlwrap # optional $ pacman -S texlive-core texinfo imagemagick # optional
$ pacman -S lib32-glibc lib32-libstdc++5Remember to enable multilib (https://wiki.archlinux.org/index.php/Multilib).
$ brew install emacs-mac imagemagick
$ brew install rlwrap # optional
$ pkg install gmake $ pkg install emacs ImageMagick expat # optional $ pkg install rlwrap # optional $ pkg install texinfo texlive-full # optional
$ pkgin install gmake $ pkgin install emacs ImageMagick expat # optional $ pkgin install rlwrap # optional $ pkgin install tex-texinfo texlive-collection-latex # optional
pacman --noconfirm -S mingw-w64-x86_64-gcc
$ pkg install clang make binutils $ pkg install emacs # optional $ pkg install rlwrap # optional
guix shell gcc-toolchain make
E.g., uninstalling the development environment (if installed) requires:
ciao uninstall ciao_emacs; ciao rm ciao_emacs; ciao rm devenv
Once all bundles have been removed, the core Ciao system can be uninstalled running ./ciao-boot.sh uninstall from the source directory; then, remove the directory.
If installed using curl, the system is installed in a per-version subdirectory under ~/.ciaoroot, i.e., ~/.ciaoroot/<ciao_version>. The development version is installed at ~/.ciaoroot/master. Proper uninstallation requires first executing ./ciao-boot.sh uninstall inside that directory and then removing the whole ~/.ciaoroot/<ciao_version> directory.
This can be automated with a script such as (e.g., for master):
( cd ~/.ciaoroot/master; ./ciao-boot.sh uninstall )
rm -rf ~/.ciaoroot/master
rmdir ~/.ciaoroot > /dev/null 2>&1 || true