Add ‘buster-backports’ repositories to APT configuration:
Add the repository to APT configuration:
1
echo "deb https://basilgello.github.io/kodi-nightly-debian-repo buster-backports main" | tee /etc/apt/sources.list.d/kodi-nightly-debian-repo.list
Pin Kodi to the unofficial repository to ensure automatic updates:
1 2 3 4 5 6 7
echo 'Package: *' | sudo tee /etc/apt/preferences.d/01kodi-nightly-debian-repo echo 'Pin: release l=kodi-nightly-debian-repo' | sudo tee -a /etc/apt/preferences.d/01kodi-nightly-debian-repo echo 'Pin-Priority: 1' | sudo tee -a /etc/apt/preferences.d/01kodi-nightly-debian-repo echo '' | sudo tee -a /etc/apt/preferences.d/01kodi-nightly-debian-repo echo 'Package: kodi*' | sudo tee -a /etc/apt/preferences.d/01kodi-nightly-debian-repo echo 'Pin: release l=kodi-nightly-debian-repo' | sudo tee -a /etc/apt/preferences.d/01kodi-nightly-debian-repo echo 'Pin-Priority: 500' | sudo tee -a /etc/apt/preferences.d/01kodi-nightly-debian-repo
su kodi cd /homt/kodi/.kodi ##恢复整个.kodi目录## exit cd
编译遥控器驱动
区别就是需要安装pve的内核头文件pve-headers和gawk
1 2 3 4 5 6
apt install build-essential pve-headers gawk wget http://rtr.ca/sapphire_remote/sapphire-7.4.tar.gz tar xvf sapphire-7.4.tar.gz cd sapphire-7.4 make make install