Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Steps for RODA_SCAPE_DEMO_20140925 to RODA_SCAPE_DEMO_20140926
# Make /home/roda/plato/fits-0.8.0/fits.sh executable
# Add OPF key
wget -O - http://ubapt.opf-labs.org/scape-components.gpg.key | sudo apt-key add -
# Add OPF to /etc/apt/sources.list.d/opf.list
deb http://ubapt.opf-labs.org precise-staging main
deb http://ubapt.opf-labs.org precise main
# Add Handbrake key
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 816950D8
# Add HandBrake to/etc/apt/sources.list.d/handbrake.list
deb http://ppa.launchpad.net/stebbins/handbrake-releases/ubuntu precise main
deb-src http://ppa.launchpad.net/stebbins/handbrake-releases/ubuntu precise main
# Add proposed to/etc/apt/sources.list.d/proposed.list
deb http://archive.ubuntu.com/ubuntu/ precise-proposed main restricted
# Apt-get Update
sudo apt-get update
# Install SCAPE packages
sudo su
apt-cache search -n 'digital-preservation.+' | grep -Po 'digital-preservation-.+(?= - )' | grep -v sanselan | grep -v digital-preservation-migration-office-jodconverter-doc2pdf | xargs apt-get install -y --force-yes
# Install Photohawk (though it looks like the package has a dependency problem, depends on default-jdk which is available in debian but not ubuntu)
apt-get install dcraw
wget -P '/tmp' 'datascience.github.io/photohawk/releases/debian/photohawk-commandline_0.0.2-26-g4b98e54.deb'
dpkg -i /tmp/photohawk-commandline_0.0.2-26-g4b98e54.deb
rm /tmp/photohawk-commandline_0.0.2-26-g4b98e54.deb
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.