🛠️ Already have OSCAR installed? Upgrade to the latest version here.
To install OSCAR v1.3.1, the latest stable release, follow the steps below.
The following instructions assume that you are at least somewhat familiar with using a terminal interface.
Having trouble? You can visit our Contact & Support page to get in touch — or check out the Frequently Asked Questions for quick tips and troubleshooting guidance.
Ensure your WSL subsystem has at least 6GB of free memory for the installation process, and ideally 16GB for optimal performance. The memory available to WSL is less than the total memory on your system.
You can adjust the memory allocation using the official WSL configuration instructions, typically via a .wslconfig
file (see an example).
💡 Tip: As suggested by Miķelis Emīls Miķelsons, instead of editing a
.wslconfig
file manually, you can use the “WSL Settings” app on Windows. This GUI tool allows you to set the amount of RAM, number of processors, and other resources for WSL more easily.
curl -fsSL https://install.julialang.org | sh
julia
using Pkg
Pkg.add("Oscar")
After the installation is complete, you can start using OSCAR by running using Oscar
in the Julia REPL:
julia> using Oscar
___ ____ ____ _ ____
/ _ \ / ___| / ___| / \ | _ \ | Combining ANTIC, GAP, Polymake, Singular
| | | |\___ \| | / _ \ | |_) | | Type "?Oscar" for more information
| |_| | ___) | |___ / ___ \| _ < | Manual: https://docs.oscar-system.org
\___/ |____/ \____/_/ \_\_| \_\ | Version 1.0.0
using Pkg; Pkg.add("IJulia")
For more details, refer to the installation guide. If you encounter issues, you may need to explicitly build IJulia. Troubleshooting info can be found on the IJulia troubleshooting page.
To run tutorial Jupyter notebooks locally, you will need a web browser available inside your WSL environment, which runs Linux Ubuntu.
By default, Ubuntu installs browsers using Snap, but Snap is disabled in WSL. Therefore, you may need to install a browser manually (e.g., Firefox). You can follow these instructions to install Firefox using the .deb
package method.
Note: As reported by Oliver Clarke, on Windows 11 with WSL version 2, this installation step may no longer be necessary. If you have a browser (e.g., Chrome) set as your default on Windows, Jupyter may automatically launch in that browser.
using IJulia; notebook()