Installation
Sidef can be installed automatically from the CPAN, by invoking the following command:
$ cpan SidefIf the testing takes a long time, add the -T flag to build and install Sidef without testing:
$ cpan -T SidefWhen the cpan command is not available, try:
$ perl -MCPAN -e "CPAN::Shell->install(q{Sidef})"IMPORTANT: Sidef needs the GMP, MPFR and MPC C libraries.
Installing from git source
To install Sidef manually, download the latest version, unzip it and follow the installation steps:
$ perl Build.PL
# ./Build installdeps
# ./Build installWhen Module::Build is not installed, try:
$ perl Makefile.PL
$ make test
# make installLinux installation
Arch Linux
Sidef is available on the AUR and can be installed using an AUR helper, like trizen:
$ trizen -S sidefDebian / Ubuntu / Linux Mint
On Debian-based distributions, Sidef can be installed from the CPAN, by executing the following commands:
$ sudo apt install libgmp-dev libmpfr-dev libmpc-dev libc-dev cpanminus
$ sudo cpanm -n SidefAndroid installation
It's also possible to install Sidef on Android, by installing Termux and executing the following commands:
$ pkg install perl make clang libgmp libmpfr libmpc
$ cpan -T SidefIf the installation succeeded, the sidef command should be available:
$ sidef -hLast updated
Was this helpful?