Installation

Sidef can be installed automatically from the CPANarrow-up-right, by invoking the following command:

$ cpan Sidef

If the testing takes a long time, add the -T flag to build and install Sidef without testing:

$ cpan -T Sidef

When the cpan command is not available, try:

$ perl -MCPAN -e "CPAN::Shell->install(q{Sidef})"

IMPORTANT: Sidef needs the GMParrow-up-right, MPFRarrow-up-right and MPCarrow-up-right C libraries.

Installing from git source

To install Sidef manually, download the latest versionarrow-up-right, unzip it and follow the installation steps:

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

When Module::Buildarrow-up-right is not installed, try:

$ perl Makefile.PL
$ make test
# make install

Linux installation

Arch Linux

Sidef is available on the AURarrow-up-right and can be installed using an AUR helper, like trizenarrow-up-right:

Debian / Ubuntu / Linux Mint

On Debian-based distributions, Sidef can be installed from the CPANarrow-up-right, by executing the following commands:

Android installation

It's also possible to install Sidef on Android, by installing Termuxarrow-up-right and executing the following commands:

If the installation succeeded, the sidef command should be available:

Last updated

Was this helpful?