From 9385560d2840f394d505418e034b8dae07f01d10 Mon Sep 17 00:00:00 2001 From: Jerry Vonau Date: Sun, 19 Nov 2017 12:42:47 -0600 Subject: [PATCH] calibre312 script --- scripts/calibre312.sh | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100755 scripts/calibre312.sh diff --git a/scripts/calibre312.sh b/scripts/calibre312.sh new file mode 100755 index 000000000..91c9efc60 --- /dev/null +++ b/scripts/calibre312.sh @@ -0,0 +1,27 @@ +#!/bin/bash +echo "install stock calibre-bin" +apt-get -y install calibre-bin dirmngr + +echo "installing debian key" +apt-key adv --recv-key --keyserver keyserver.ubuntu.com 7638D0442B90D010 + +echo "enabling testing" +echo "deb http://deb.debian.org/debian testing main" > /etc/apt/sources.list.d/debian-testing.list +apt-get update + +echo "updating dependencies" +apt-get -y install libqt5core5a python-lxml +rm /etc/apt/sources.list.d/debian-testing.list + +echo "enabling unstable" +echo "deb http://deb.debian.org/debian unstable main" > /etc/apt/sources.list.d/debian-unstable.list +apt-get update + +echo "installing calibre 3.12" +apt-get -y install calibre +rm /etc/apt/sources.list.d/debian-unstable.list + +echo "disabled testing and unstable repos" +apt-get update + +echo "DONE"