Package Repository
Brian Elliott Finley edited this page Apr 6, 2020
·
11 revisions
Note: This page is only for SystemImager stable and unstable releases (none yet released) To play with developer builds, just follow the Quick start guide
Add the repo to your system
Simple style -- just copy, paste, and execute either one of these two one-liners to install the repo config file:
# If you already have curl installed (typically Red Hat based distros) curl -s http://download.systemimager.org/install-repo.sh | sudo sh # If you already have wget installed (typically Debian based distros) wget http://download.systemimager.org/install-repo.sh -O - | sudo sh
Alternate Method
Choose the appropriate chunk below, then scrape and paste the entire chunk at once. No need to do one line at a time.
Ubuntu and Debian
REPO=stable REPOFILE=systemimager.org-$REPO.list TARGET=/etc/apt/sources.list.d/$REPOFILE echo "deb https://dl.bintray.com/systemimager/debian stable main" > $TARGET echo "# deb-src https://dl.bintray.com/systemimager/debian stable main" >> $TARGET # Add Brian's signing key and the Bintray signing key # (Bintray is the world-wide distribution service for our package repos) wget http://download.systemimager.org/pub/brian@thefinleys.com.gpg.key -O - | sudo apt-key add - wget https://bintray.com/user/downloadSubjectPublicKey\?username\=bintray -O - | sudo apt-key add -
Red Hat, CentOS, and friends
REPO=stable
REPOFILE=systemimager.org-${REPO}.repo
OS_RELEASE=$(rpm -q rpm | sed -r -e 's/.*((el|fc)[0-9]+).*/\1/')
TARGET=/etc/yum.repos.d/$REPOFILE
echo "[systemimager-${REPO}]" > $TARGET
echo "name=SystemImager (${REPO})" >> $TARGET
echo "baseurl=https://dl.bintray.com/systemimager/rpms/${OS_RELEASE}/\$basearch/" >> $TARGET
echo "gpgcheck=0" >> $TARGET
echo "enabled=1" >> $TARGET
rpm --import http://download.systemimager.org/pub/brian@thefinleys.com.gpg.key
