On Ubuntu and various other Linux platforms, you can also use the snap package (installation instructions for snap).
On the terminal, type:

$ sudo snap install --edge inkscape

If you already have the standard snap version of Inkscape installed, you can switch to the development version with:

$ sudo snap refresh --edge inkscape

You can then go back to the stable version with almost the same command:

$ sudo snap refresh --stable inkscape
 

Note that the Inkscape snap package comes with a couple of restrictions. Some of these can be solved, and some are unavoidable due to the safety level of the packaging format: