|
|
We maintain a set of Linux packages for Ubuntu distributions, useful in various contexts, at [repos.emulab.net](repos.emulab.net). Here are some instructions for using them in Ubuntu.
|
|
|
|
|
|
General Instructions
|
|
|
====================
|
|
|
|
|
|
1. Import the Emulab signing pubkey:
|
|
|
|
|
|
wget -qO - http://repos.emulab.net/emulab.key | sudo apt-key add -
|
|
|
|
|
|
(or)
|
|
|
|
|
|
curl -so - http://repos.emulab.net/emulab.key | sudo apt-key add -
|
|
|
|
|
|
2. Add a sources file for the repository you're interested in; e.g.,
|
|
|
|
|
|
echo "deb http://repos.emulab.net/powder/ubuntu $(. /etc/os-release ; echo $UBUNTU_CODENAME) main" | sudo tee /etc/apt/sources.list.d/powder.list
|
|
|
apt-get update -y
|
|
|
|
|
|
(or, if you have `software-properties-common` installed)
|
|
|
|
|
|
sudo add-apt-repository -y http://repos.emulab.net/powder/ubuntu
|
|
|
|
|
|
3. Install packages you need:
|
|
|
|
|
|
sudo apt-get --no-install-recommends install python3-uhd uhd-host libuhd-dev libuhd4.0.0
|
|
|
sudo apt-get install gnuradio
|
|
|
|
|
|
Prioritizing this Repository
|
|
|
----------------------------
|
|
|
Some packages are nontrivial to meaningfully rename, like modern kernels. So you might need a preferences file:
|
|
|
|
|
|
cat <<EOF | sudo tee /etc/apt/preferences.d/emulab
|
|
|
Package: *
|
|
|
Pin: origin repos.emulab.net
|
|
|
Pin-Priority: 900
|
|
|
EOF |
|
|
\ No newline at end of file |