Created
April 28, 2022 05:56
-
-
Save itapai/a18e58c04c5b67e936c8ad6fc374eb14 to your computer and use it in GitHub Desktop.
omxplayer-rpi-bullseye
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
[[ $EUID -ne 0 ]] && echo "This script must be run as root." && exit 1 | |
wget -P /tmp https://archive.raspberrypi.org/debian/pool/main/o/omxplayer/omxplayer_20190723+gitf543a0d-1+bullseye_armhf.deb | |
dpkg -i /tmp/omxplayer_20190723+gitf543a0d-1+bullseye_armhf.deb | |
apt install -y --fix-broken | |
cd /usr/lib/arm-linux-gnueabihf | |
ln -s libmmal_core.so.0 libmmal_core.so | |
ln -s libmmal_util.so.0 libmmal_util.so | |
ln -s libmmal_vc_client.so.0 libmmal_vc_client.so | |
ln -s libbcm_host.so.0 libbcm_host.so | |
ln -s libvcsm.so.0 libvcsm.so | |
ln -s libvchiq_arm.so.0 libvchiq_arm.so | |
ln -s libvcos.so.0 libvcos.so | |
curl -sSfLO 'https://raw.githubusercontent.com/raspberrypi/firmware/master/opt/vc/lib/libbrcmEGL.so' | |
curl -sSfLO 'https://raw.githubusercontent.com/raspberrypi/firmware/master/opt/vc/lib/libbrcmGLESv2.so' | |
curl -sSfLO 'https://raw.githubusercontent.com/raspberrypi/firmware/master/opt/vc/lib/libopenmaxil.so' |
Worked for me
404?
works like a charm
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
wget https://github.com/raspberrypi/firmware/raw/stable/opt/vc/lib/libbrcmEGL.so
wget https://github.com/raspberrypi/firmware/raw/stable/opt/vc/lib/libbrcmGLESv2.so
wget https://github.com/raspberrypi/firmware/raw/stable/opt/vc/lib/libopenmaxil.so