How to install dolfinx_mpc in Google colab?

I was able to include dolfinx in my google colab by using these lines:

try:
    import dolfinx
except ImportError:
    !wget "https://fem-on-colab.github.io/releases/fenicsx-install-release-real.sh" -O "/tmp/fenicsx-install.sh" && bash "/tmp/fenicsx-install.sh"
    import dolfinx

I am unsure how to install dolfinx_mpc in google colab.

It only seem to be able to be done through conda. Has anyone figured a work around with this or a simple solution to do this?

As I don’t use collab myself, I would have to ask @francesco-ballarin for guidance on how to do this.

Dolfinx MPC is on apt, in a docker image, conda and soon on spack ( Dolfinx-mpc: new package (related to fenics-dolfinx) by jorgensd · Pull Request #877 · spack/spack-packages · GitHub ).

I