If your Ubuntu version or derivative has not packaged Inkscape 1.2.1 for you yet, you can install the current version from our ppa for Ubuntu 22.04, 20.04 and 22.10 (Ubuntu development version):
ppa:inkscape.dev/stable
sudo add-apt-repository ppa:inkscape.dev/stable sudo apt update sudo apt install inkscape
Inkscape je svobodný a otevřený software licencovaný pod licencí GPL.