Sometimes the software installer doesn’t work very well on Ubuntu but the deb file can be installed using the terminal:
CD [the directory the deb file is in]
sudo dpkg -i xojo2018r3.deb
The “unpacking” stage takes a while but dpkg seems like the more reliable way to go.