Flathub offers a Flatpak version for Inkscape. You need to have the distribution-independent Flatpak sandbox environment software installed to be able to run this version of Inkscape.

To add Inkscape to your user Flatpak sources, enter the following in the command line:

flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

To then install Inkscape, enter:

flatpak install --user flathub org.inkscape.Inkscape

To run it, enter:

flatpak run org.inkscape.Inkscape