How to install Balsamiq Mockups in Ubuntu?

Step 1 :

Copy the following code in a text file and save it as executable file. that is with .sh extension.
eg. balsamiq-installer.sh

#!/usr/bin/env bash
if [ $EUID != 0 ]; then
    “This script must be run with sudo”
    exit $?
fi

echo ”  Installing dependencies”
apt-get install ia32-libs -y # Note: This dep is a bit overkill but it’s useful anyway
ln -s /usr/lib/i386-linux-gnu/libgnome-keyring.so.0 /usr/lib/libgnome-keyring.so.0

echo ”  Downloading installers”
wget -P /tmp/ http://airdownload.adobe.com/air/lin/download/2.6/AdobeAIRInstaller.bin
wget -P /tmp/ http://builds.balsamiq.com/b/mockups-desktop/MockupsForDesktop32bit.deb

echo ”  Installing AIR”
chmod +x /tmp/AdobeAIRInstaller.bin
/tmp/AdobeAIRInstaller.bin -silent -eulaAccepted
echo ”  Installing Balsamiq”
dpkg -i /tmp/MockupsForDesktop32bit.deb

Step 2 :
Give chmod 777 permission to the file.

*** For 64 bit machine, change the mockup deb file name from 32 to 64.