PYNQ: PYTHON PRODUCTIVITY

PYNQ v2.5 doesn't have /etc/apt/sources.list

Hi,

I would like to install packages from PPA or repository. However, after I re-install whole new PYNQ v2.5 on ZCU-104 FPGA, I don’t find the file /etc/apt/sources.list exists. But it has /etc/apt/sources.list.d/multistrap-bionic.list.

xilinx@pynq:~ ls /etc/apt/ apt.conf.d preferences.d sources.list.d trusted.gpg.d xilinx@pynq:~ ls /etc/apt/sources.list.d/
multistrap-bionic.list
xilinx@pynq:~ uname -a Linux pynq 4.19.0-xilinx-v2019.1 #1 SMP Thu Oct 3 17:08:03 UTC 2019 aarch64 aarch64 aarch64 GNU/Linux xilinx@pynq:~ cat /etc/apt/sources.list.d/multistrap-bionic.list
deb http://ports.ubuntu.com/ubuntu-ports bionic main universe
deb-src http://ports.ubuntu.com/ubuntu-ports bionic main universe
xilinx@pynq:~$

Does it mean if I would like to add extra PPA or repository such as the following two files and I need to modify the multi strap-bionic.list instead of the /etc/apt/sources.list? Thank you

deb http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu bionic main
deb-src http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu bionic main

Usually you don’t manually change that file. There should be command lines to add additional sources?

For the missing file, it may not be necessary if you have a /etc/apt/sources.list.d/multistrap-bionic.list file. As long as you can do apt-get update you should be fine.