「PlantUML」- 安装

  CREATE BY JENKINSBOT

PlantUML 1.2018.13 on Debian 10

apt-get install -y plantuml

直接现在安装

发行版的软件通常较旧,Debian 10,plantuml.1.2018.13,现在都 plantuml.1.2021.1 版本,因此我们进行手动安装。

mkdir -pv /opt/plantuml/

wget -P /opt/plantuml/ \
    https://phoenixnap.dl.sourceforge.net/project/plantuml/1.2021.1/plantuml.1.2021.1.jar
    
cat > /opt/plantuml/plantuml.sh <<EOF
#!/bin/sh
dirname=$(dirname $(readlink -f $0))
java -jar $dirname/plantuml.jar ${@
EOF

ln -snf /opt/plantuml/plantuml.sh /usr/local/bin/plantuml

参考文献

Download page