Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
@andersonFaro9

This comment has been minimized.

Copy link

andersonFaro9 commented Apr 18, 2013

Valew!

@FirstDagger

This comment has been minimized.

Copy link

FirstDagger commented Jul 10, 2014

Worked very nice on Linux Mint 17 XFCE, thank you.

@lucas1

This comment has been minimized.

Copy link

lucas1 commented Jan 28, 2015

Thanks 😄

@alexbaron

This comment has been minimized.

Copy link

alexbaron commented Feb 24, 2016

thanks 👌

@maincircuit

This comment has been minimized.

Copy link

maincircuit commented Oct 18, 2016

Thanks

@takede-nappster

This comment has been minimized.

Copy link

takede-nappster commented May 31, 2017

is cool

@tandavala

This comment has been minimized.

Copy link

tandavala commented Jul 19, 2017

Muito bom!

@JonMadVal

This comment has been minimized.

Copy link

JonMadVal commented Sep 16, 2017

Like a charm in Fedora23

@mrcretu

This comment has been minimized.

Copy link

mrcretu commented Feb 28, 2018

Very nice! Thank you. It worked perfectly on Linux 17.10!

@gustavofq

This comment has been minimized.

Copy link

gustavofq commented May 9, 2018

Anda excelente! gracias. (ubuntu 16.04)

@BalaWxd

This comment has been minimized.

Copy link

BalaWxd commented Aug 10, 2018

Nice! Thank you for sharing. It worked on ubuntu 18.04.

@korbe-diallo

This comment has been minimized.

Copy link

korbe-diallo commented Aug 28, 2018

it works perfectly on debian 9. Thanks.

@chancelier147

This comment has been minimized.

Copy link

chancelier147 commented Jan 11, 2019

Cool ! Thanks ! It worked on ubuntu 18.04.

@mhthabib

This comment has been minimized.

Copy link

mhthabib commented Oct 5, 2019

Thanks You

@hamidgasmi

This comment has been minimized.

Copy link

hamidgasmi commented Nov 25, 2019

Thanks 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.