-------------------------------------------------------------------------------------------- ___ _ ___ _ ___ ___ _ / _ (_)_ __ ___ / _ \ |__ ___ _ __ ___ /\ /\ / __\ / _ \___ _ __| |_ ___ / /_)/ | '_ \ / _ \/ /_)/ '_ \ / _ \| '_ \ / _ \ / / \ \/__\// / /_)/ _ \| '__| __/ __| / ___/| | | | | __/ ___/| | | | (_) | | | | __/ \ \_/ / \/ \/ ___/ (_) | | | |_\__ \ \/ |_|_| |_|\___\/ |_| |_|\___/|_| |_|\___| \___/\_____/\/ \___/|_| \__|___/ -------------------------------------------------------------------------------------------- Why pkgsrc on the Pinephone UBPorts you may ask ? - It can live independently along the native system and does not affect system libraries in any way You can remove pkgsrc on on command and the system wont be affected in any way - more @ https://en.wikipedia.org/wiki/Pkgsrc pkg-basic.tar.gz is a full binary pkgsrc-2020Q4 bootstrap for the Pinephone Ubports (Ubuntu 16.04.7 aarch64 based) All packages were compiled under qemu-system-aarch64 on the Apple M1 Macbook Air HOWTO: ------ The pkgsrc is bootstrapped against /mnt/disk/pkg becasue of the diskspace on the PinePhone Best is to use a micro SD card (format with ext4 filesystem and mount it) Download the pkg-basic.tar.gz to the /mnt/disk (mountpoint of the microsd card) Pinephone UBPorts sees the MicroSD card as /dev/mmcblk0 and you should mount is as /dev/mmcblk0p1 and save under /mnt/disk (sorry I chose this location :P) wget http://45.76.81.249/pkgsrc/pinephone/ubports/pkg-basic.tar.gz Extract the bootrstrap gunzip pkg-basic.tar.gz tar-xvf pkg-basic.tar The resulting layout should be like this .. /mnt/disk/pkg Adjust your paths to add the pkgsrc binaries export PATH=/mnt/disk/pkg/bin:/mnt/disk/pkg/sbin Refresh the pkgin database root@ubuntu-phablet:/mnt/disk# /mnt/disk/pkg/bin/pkgin update reading local summary... processing local summary... processing remote summary (http://45.76.81.249/pkgsrc/pinephone/ubports/All)... pkg_summary.gz 100% 44KB 44.0KB/s 00:00 You can now add new packages via /mnt/disk/pkg/bin/pkgin install