CEITEC MU/NCBR WSL
How to activate access to the package repository
Download the activation script either by the wget command in a terminal or using a web link provided:
$ wget https://wolf.ncbr.muni.cz/whitezone/packages/wsl/22.04/initialize-repos -O initialize-repos
Execute the activation script as root in terminal:
$ sudo bash ./initialize-repos
The script must finished with '>>> Repository initialization finished sucessfully!. If not then examine carefully the whole output printed to the terminal!'
Note: '$' character represents a terminal prompt of an ordinary user thus this character is not ment to be typed to the terminal!'
How to install a package from the package repository
Select a package from Packages and read carefully the Description section of the package for special comments or instructions.
Install the selected package:
$ sudo apt-get install package-name
Contents of the activation code
#!/bin/bash
LOC="https://wolf.ncbr.muni.cz/whitezone/packages/wsl/22.04"
umask 022
# install prerequisities
apt-get -y install software-properties-common || exit 1
# install repository keys
# add NCBR repository key
wget -q $LOC/ncbr-packages-pub-key.asc -O - | apt-key add - || exit 1
# initialize repositories
# NCBR
# ----------------------------
cat << EOF > /etc/apt/sources.list.d/ncbr-repo.list
# NCBR repository
deb $LOC jammy ncbr
EOF
# ----------------------------
# ----------------------------
# remove old
rm -f /etc/apt/sources.list.d/meta-repo-stretch.list
rm -f /etc/apt/preferences.d/meta-repo-stretch.pref
rm -f /etc/apt/sources.list.d/meta-repo.list
# ----------------------------
# update repositories
apt-get update
# termination
echo ""
echo ">>> Repository initialization finished sucessfully!"
echo ""
exit 0