Skip to main content
`Ctrl`+`K`

# Installation

SLEPc is available on some package managers. Select the tabs below to show the corresponding information. Note that some of them provide separate packages for the real and complex versions.

Archlinux

https://aur.archlinux.org/packages/slepc

Conda

https://anaconda.org/conda-forge/slepc

    $ conda install conda-forge::slepc

Debian

https://packages.debian.org/search?keywords=slepc-dev

    $ sudo apt install slepc-dev

E4S

https://e4s.io/download.html

Extreme-scale Scientific Software Stack (E4S) provides container images for docker and singularity.

E4S packages are available as pre-built Spack binaries.

Homebrew

https://formulae.brew.sh/formula/slepc

    $ brew install slepc

MacPorts

https://ports.macports.org/port/slepc/

    $ sudo port install slepc

MSYS2 (Windows)

https://packages.msys2.org/packages/mingw-w64-x86_64-slepc

    $ pacman -S mingw-w64-x86_64-slepc

openSUSE

https://software.opensuse.org/package/slepc

    $ sudo zypper install slepc

python

https://pypi.org/project/slepc/

release

    $ python -m pip install numpy mpi4py
    $ python -m pip install petsc petsc4py
    $ python -m pip install slepc slepc4py

development

    $ python -m pip install Cython numpy mpi4py
    $ python -m pip install --no-deps https://gitlab.com/petsc/petsc/-/archive/main/petsc-main.tar.gz
    $ python -m pip install --no-deps https://gitlab.com/slepc/slepc/-/archive/main/slepc-main.tar.gz

Spack

debug install

    $ spack install slepc +debug

list available variants (configurations)

    $ spack info

Ubuntu

https://packages.ubuntu.com/search?keywords=slepc-dev

    $ sudo apt install slepc-dev

Alternatively, you can download and install it from source code, according to the following instructions:

- Download
- Basic Installation Instructions