Last active
January 7, 2021 12:41
-
-
Save capsulecorplab/3654d9148340e3e76bf4f94e1cd463db to your computer and use it in GitHub Desktop.
bash script for installing PlantUML
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
sudo apt update | |
sudo apt install -y default-jre graphviz | |
# plantuml | |
if [ ! -r ~/plantuml.jar ]; then | |
curl -L http://sourceforge.net/projects/plantuml/files/plantuml.1.2020.26.jar/download > ~/plantuml.1.2020.26.jar | |
ln -sv ~/plantuml.1.2020.26.jar ~/plantuml.jar | |
fi | |
printf "\n" | |
java -jar ~/plantuml.jar -testdot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment