You are on page 1of 3

STAR UML Installation:

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):

1. Download the latest StarUML .AppImage from the their website staruml.io

2. Then make the downloaded .AppImage executable by running sudo chmod +x


StarUML-3.0.2-x86_64.AppImage
3. Install npm using apt-get sudo apt install npm
4. Install asar npm package using sudo npm install -g asar
5. 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 adding export PATH="/home/$USER/.npm-global/bin:$PATH" (may differ
based on your config; refer to this SO answer) at the end of your .bashrc.
Then logout and login again.
6. Then extract .AppImage file using ./StarUML-3.0.2-x86_64.AppImage --appimage-
extract
7. cd squashfs-root/resources/
8. asar extract app.asar app
9. cd app/src/engine
10.Edit the license-manager.js file. Make the following changes:
//... existing code

checkLicenseValidity () {

this.validate().then(() => {

setStatus(this, true)

}, () => {

//setStatus(this,false) <-- comment this line

setStatus(this, true) //<-- add this line

//UnregisteredDialog.showDialog() <-- comment this line

})
}

//... rest of the code

11.cd ../../../
12.Pack the updated .AppImage using asar pack app app.asar
13.Remove the previously extracted app directory by running rm -rf
app/* followed by rmdir app
14.cd ../../
15.Download the appimagetool from here to your current directory
16.Run this ./appimagetool-x86_64.AppImage squashfs-root/ to generate the new
.AppImage file
17.Run the new .AppImage file by running ./StarUML-x86_64.AppImage
#Notepad ++ Installation
sudo apt list
sudo apt-get install snapd snapd-xdg-open
sudo snap install notepad-plus-plus

# XAMPP Installation
sudo wget https://www.apachefriends.org/xampp-files/7.1.10/xampp-linux-x64-7.1.10-0-installer.run
sudo chmod -R a+wx ./xampp-linux-x64-7.1.10-0-installer.run (Login to root)
./xampp-linux-x64-7.1.10-0-installer.run

chmod -R 777 /opt/lampp/htdocs


sudo /opt/lampp/lampp start
sudo /opt/lampp/lampp stop
sudo /opt/lampp/lampp restart

# XAMPP
sudo wget https://www.apachefriends.org/xampp-files/7.1.10/xampp-linux-x64-7.1.10-0-installer.run
sudo chmod -R a+wx ./xampp-linux-x64-7.1.10-0-installer.run (Login to root)
./xampp-linux-x64-7.1.10-0-installer.run

chmod -R 777 /opt/lampp/htdocs


sudo /opt/lampp/lampp start
sudo /opt/lampp/lampp stop
sudo /opt/lampp/lampp restart

# For JAVA & Netbeans


sudo apt-get install openjdk-8-jdk
java -version
sudo snap install netbeans –classic
#Uninstall jdk
#sudo apt-get purge openjdk*
#sudo apt-get purge java-11-openjdk-amd64

# Classic GNOME
sudo apt-get install gnome-session-flashback

sudo apt-get dist-upgrade


sudo apt-get update
sudo apt-get gcc
sudo apt-get install build-essential autoconf automake
sudo apt-get install tcl8.5-dev tk8.5-dev
sudo apt-get install ns2
sudo apt-get install nam
# for Xgraph
https://www.ubuntuupdates.org/package/core/xenial/universe/base/xgraph
#download and install

You might also like