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:
Debian / Ubuntu / Linux Mint
On Debian-based distributions, Sidef can be installed from the CPAN, by executing the following commands:
Android installation
It's also possible to install Sidef on Android, by installing Termux and executing the following commands:
If the installation succeeded, the sidef command should be available:
Last updated
Was this helpful?