Install ArgoUML on linux
#!/bin/sh | |
if [ "root" != "$(whoami)" ]; then | |
echo "You must run this command as root" 1>&2 | |
exit 1 | |
fi | |
set -x | |
# Download and extract | |
if [ ! -z "${1}" ]; then | |
VERSION="${1}" | |
else | |
VERSION="0.34" | |
fi | |
TARBALL="/usr/src/ArgoUML-${VERSION}.tar.gz" | |
if [ ! -f "${TARBALL}" ]; then | |
curl -L "http://argouml-downloads.tigris.org/nonav/argouml-${VERSION}/ArgoUML-${VERSION}.tar.gz" -o "${TARBALL}" | |
fi | |
tar -xzf "${TARBALL}" -C /usr/src | |
# Move and create a valid symlink | |
mv "/usr/src/argouml-${VERSION}" "/usr/local/argouml-${VERSION}" | |
ln -s "/usr/local/argouml-${VERSION}/argouml.sh" "/usr/local/bin/argouml" | |
# Desktop shortcut | |
SHORTCUT="[Desktop Entry] | |
Name=ArgoUML ${VERSION} | |
Exec=/usr/local/argouml-${VERSION}/argouml.sh | |
Icon=/usr/local/argouml-${VERSION}/icon/ArgoIcon128x128.png | |
Terminal=false | |
Type=Application | |
Encoding=UTF-8 | |
Categories=Utility;Java;Development;UML" | |
echo "${SHORTCUT}" > "/usr/share/applications/argouml-${VERSION}.desktop" | |
set +x | |
echo "Finish!" | |
exit 0 |
This comment has been minimized.
This comment has been minimized.
FirstDagger
commented
Jul 10, 2014
Worked very nice on Linux Mint 17 XFCE, thank you. |
This comment has been minimized.
This comment has been minimized.
lucas1
commented
Jan 28, 2015
Thanks |
This comment has been minimized.
This comment has been minimized.
alexbaron
commented
Feb 24, 2016
thanks |
This comment has been minimized.
This comment has been minimized.
maincircuit
commented
Oct 18, 2016
Thanks |
This comment has been minimized.
This comment has been minimized.
takede-nappster
commented
May 31, 2017
is cool |
This comment has been minimized.
This comment has been minimized.
tandavala
commented
Jul 19, 2017
Muito bom! |
This comment has been minimized.
This comment has been minimized.
JonMadVal
commented
Sep 16, 2017
Like a charm in Fedora23 |
This comment has been minimized.
This comment has been minimized.
mrcretu
commented
Feb 28, 2018
Very nice! Thank you. It worked perfectly on Linux 17.10! |
This comment has been minimized.
This comment has been minimized.
gustavofq
commented
May 9, 2018
Anda excelente! gracias. (ubuntu 16.04) |
This comment has been minimized.
This comment has been minimized.
BalaWxd
commented
Aug 10, 2018
Nice! Thank you for sharing. It worked on ubuntu 18.04. |
This comment has been minimized.
This comment has been minimized.
korbe-diallo
commented
Aug 28, 2018
it works perfectly on debian 9. Thanks. |
This comment has been minimized.
This comment has been minimized.
chancelier147
commented
Jan 11, 2019
Cool ! Thanks ! It worked on ubuntu 18.04. |
This comment has been minimized.
This comment has been minimized.
mhthabib
commented
Oct 5, 2019
Thanks You |
This comment has been minimized.
This comment has been minimized.
hamidgasmi
commented
Nov 25, 2019
Thanks |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This comment has been minimized.
andersonFaro9 commentedApr 18, 2013
Valew!