Sidef can be installed automatically from the CPAN, by invoking the following command:

$ cpan Sidef

When 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.

To install Sidef manually, download the latest version, unzip it and follow the installation steps:

$ perl Build.PL
# ./Build installdeps
# ./Build install

When Module::Build is not installed, try:

$ perl Makefile.PL
$ make test
# make install

If the installation succeeded, you should be able to run the sidef command:

$ sidef -h