General Category > General Discussion

Installation of REDUCE SUITE

(1/2) > >>

Dear Friends,
We have been trying to install REDUCE Suite in windows (Cygwin). We have gone toward step 4 in which, unfortunately, we receive the following error:
$ ./bin/REDUCE_Suite_setup
-bash: ./bin/REDUCE_Suite_setup: /usr/bin/perl: bad interpreter: No such file or directory

Could you please kindly give us advice on how to manage this problem?
Best Regards,

Hi Mina,

--- Quote ---/usr/bin/perl: bad interpreter: No such file or directory
--- End quote ---

The error message shows that you do not have Perl installed, at least it is not located at /usr/bin/perl.

If the error message or the instructions at "Set up the REDUCE Suite" does not make sense to you, please find a local expert for help.

Best regards,


Dear Xiang-Jun
I have this problem too during the REDUCE suite installation, I have installed Perl "This is Perl 5, version 12, subversion 3 (v5.12.3)" but I face with this error again "-bash: bin/REDUCE_Suite_setup: /usr/bin/perl: bad interpreter: No such file or directory"
I do not know what is the reason and What should I do? could you please kindly help me.


Hi Shirin,

Sorry to hear your difficult experience in installing the REDUCE Suite. To help fix the issues you have, could you please try the followings and report back what you get?

--- Code: ---which perl
--- End code ---

Within the REDUCE-Suite-v2.2/ directory as in step #2, type:

--- Code: ---perl ./bin/REDUCE_Suite_setup
--- End code ---



Hi Xiang-Jun
Many thanks for your quick reply. these are my results. What is your suggestion for me?

1- code "which Perl": the result was "/cygdrive/d/Strawberry/perl/bin/perl"

2- code "perl ./bin/REDUCE_Suite_setup": the result was

$ perl ./bin/REDUCE_Suite_setup
To install the REDUCE Suite, do as follows:
  (0) Download the Suite from
      Note that you *must* register and log in to see the download page.
      Assuming your downloaded tarball is on Mac OS X:

  (1) tar zxvf REDUCE-Suite-v2.2-macosx-intel.tar.gz
        This will create a directory named REDUCE-Suite-v2.2/

  (2) cd REDUCE-Suite-v2.2/
        You are now in the REDUCE-Suite-v2.2/ directory

  (3) cd src
     >>> [optional] ONLY IF you compile REDUCE Suite from source <<<
        (3a) make
        (3b) cd ../   # back to REDUCE-Suite-v2.2/, as with step (2)

  (4) bin/REDUCE_Suite_setup
        To run the REDUCE Suite, you need to set up the followings:
          o the environment variable REDUCE_SUITE
          o add $REDUCE_SUITE/bin to your command line search path

        for your 'bash' shell, please add the following into ~/.bashrc:
            export REDUCE_SUITE='C:/cygwin/home/USER/REDUCE-Suite-v2.2'
            export PATH='C:/cygwin/home/USER/REDUCE-Suite-v2.2/bin':$PATH

        and then *logout* and *login again* to see the effects.
        (alternatively, you may run the commoand: source ~/.bashrc)

  (5) type MatrixREDUCE -h
           LogoGenerator -h
           HTMLSummary -h
      etc. for command-line help and worked examples

  (6) Note: to use HTMLSummary for the summary page, you need to install
            GhostScript. See $REDUCE_SUITE/config/pkg_settings.cfg for
            setting path to the command 'gs'. LogoGenerator generates
            the logo image in EPS format, and uses 'gs' to convert EPS
            into PDF, PNG, or JPG. Additionally, with ImageMagick, you
            can also get the logo image in GIF.



[0] Message Index

[#] Next page

Go to full version