Instructions for Installing Rubi
The original implementation of Rubi used Mathematica as its host computer algebra system (CAS). The instructions below describe how to download and install the current Mathematica implementation of Rubi. Recently however, the integration rules on which Rubi is based have been incorporated into other systems. Currently these ports include:
- The SymJa (Symbolic Java) CAS incorporates Rubi’s rules into its default integration framework. SymJa is available online at https://symjaweb.appspot.com/. For example, to integrate sin(x^2) with respect to x enter the SymJa command Integrate[Sin[x^2],x]. The mobile app Calculator N+ also uses SymJa.
- The SymPy (Symbolic Python) CAS also intends to incorporate Rubi’s integration rules. The code for Rubi is in the sympy/integrals/rubi subdirectory of the SymPy source-code on GitHub.
- Expreduce is an experimental term-rewriting language with a syntax similar to Mathematica’s. Although its computer algebra capabilities are still quite limited, Expreduce also intends to incorporate Rubi’s integration rules.
These ports of Rubi were written independently and are still under development. Please address all questions and comments about them to their respective developers.
Mathematica version 7 or later is required to host the Mathematica implementation of Rubi. However, the procedure for downloading and installing Rubi is a little simpler for more recent versions of Mathematica. So the following provides installation instructions for the various versions of Mathematica capable of hosting Rubi:
Instructions for Mathematica 11.2 or later
Start Mathematica and issue the PacletInstall command
PacletInstall["https://rulebasedintegration.org/Rubi-4.16.1.0.paclet"]
This downloads the latest version of Rubi and installs it on your computer as a package in Mathematica’s Paclets repository for packages. Click on Using Rubi for instructions how to load and use Rubi to integrate expressions.
Use the command
First[PacletFind["Rubi"]]["Location"]
to see the full path name of the package.
Instructions for Mathematica 9 or later
Click on https://rulebasedintegration.org/Rubi-4.16.1.0.paclet to download the Rubi paclet file to the Downloads directory on your computer. Then start Mathematica and issue the PacletInstall command
PacletInstall[FileNameJoin[{path, "Rubi-4.16.1.0.paclet"}]
where path is the full path name of the Downloads directory on your computer. This installs the latest version of Rubi on your computer as a package in Mathematica’s Paclets repository for packages. Click on Using Rubi for instructions how to load and use Rubi to integrate expressions.
Use the command
First[PacletFind["Rubi"]]["Location"]
to see the full path name of the package.
Instructions for Mathematica 7 or later
Click on https://rulebasedintegration.org/Rubi-4.16.1.0.zip to download the Rubi zip file to the Downloads directory on your computer. Then extract from the zip file the Rubi folder with all its contents into the directory returned by the Mathematica commmand
FileNameJoin[{$UserBaseDirectory, "Applications"}]
This installs the latest version of Rubi on your computer in Mathematica’s Applications repository for packages. Click on Using Rubi for instructions how to load and use Rubi to integrate expressions.
Instructions for Uninstalling Rubi
To remove a paclet-based installation of Rubi for Mathematica version 9 or later, issue the Mathematica command
PacletUninstall["Rubi"]
To remove the Rubi package for Mathematica 7 or later, delete the Rubi folder from the directory returned by the Mathematica commmand
FileNameJoin[{$UserBaseDirectory, "Applications"}]