Credits to kharek for his answer here. But his answer was for an older version (2.8). There are some minor tweaks for getting it to work on the latest version (StarUML-3.0.2-x86_64.AppImage).
Here's a complete guide (for newbies) (it worked for me on Ubuntu 18.04.1 LTS):
- Download the latest StarUML .AppImage from the their website staruml.io
- Then make the downloaded .AppImage executable by running
sudo chmod +x StarUML-3.0.2-x86_64.AppImage
- Install npm using apt-get
sudo apt install npm
- Install asar npm package using
sudo npm install -g asar
- If you're using npm for the first time, then you can't directly call
asar
from the terminal. You need to update your$PATH
variable to include the.npm-global
directory to directly call globally installed npm packages. This can be done by addingexport PATH="/home/$USER/.npm-global/bin:$PATH"
(may