Skip to content

Instantly share code, notes, and snippets.

@metasoarous
Last active October 22, 2015 21:56
Show Gist options
  • Save metasoarous/11328060 to your computer and use it in GitHub Desktop.
Save metasoarous/11328060 to your computer and use it in GitHub Desktop.
Install packages needed to run Nitro todo list app in Ubuntu Trusty Tahr (14.04)
#!/usr/bin/env bash
# make sure curl is installed - I don't think this is default on Ubuntu anymore
apt-get install curl
# Create a tmp dir for housing our debs while we do our business
tmpdir=`mktemp -d`
cd $tmpdir
# Install all of the debs
for d in http://archive.ubuntu.com/ubuntu/pool/main/l/launchpad-integration/liblaunchpad-integration-common_0.1.56.1_all.deb \
http://archive.ubuntu.com/ubuntu/pool/universe/l/launchpad-integration/liblaunchpad-integration-3.0-1_0.1.56.2_i386.deb \
http://archive.ubuntu.com/ubuntu/pool/main/l/launchpad-integration/gir1.2-launchpad-integration-3.0_0.1.56_amd64.deb;
do
curl $d > the.deb
dpkg -i the.deb
done
# Clean up
cd /
rm -r $tmpdir
#!/usr/bin/env bash
# make sure curl is installed - I don't think this is default on Ubuntu anymore
apt-get install curl
# Create a tmp dir for housing our debs while we do our business
tmpdir=`mktemp -d`
cd $tmpdir
# Install all of the debs
for d in http://archive.ubuntu.com/ubuntu/pool/main/l/launchpad-integration/liblaunchpad-integration-common_0.1.56.1_all.deb \
http://archive.ubuntu.com/ubuntu/pool/universe/l/launchpad-integration/liblaunchpad-integration-3.0-1_0.1.56.2_amd64.deb \
http://archive.ubuntu.com/ubuntu/pool/main/l/launchpad-integration/gir1.2-launchpad-integration-3.0_0.1.56_amd64.deb;
do
curl $d > the.deb
dpkg -i the.deb
done
# Clean up
cd /
rm -r $tmpdir
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment