树莓派Raspberry Pi 3B+安装OpenCL:树莓派Raspberry Pi 3B+安装OpenCL_小锋学长生活大爆炸-CSDN博客
如果你喜欢自己一步步安装:在Raspberry Pi 4上安装Vulkan - Q-engineering (qengineering.eu)
快速极简安装:
# install PiKISS
sudo apt-get install curl
curl -sSL https://git.io/JfAPE | bash
# 上面的指令可以用这个替换:
# wget https://raw.githubusercontent.com/jmcerrejon/PiKISS/master/res/install.sh
# sudo bash install.sh
# 官网:https://github.com/jmcerrejon/PiKISS
# or update PiKISS once installed
cd ~/piKiss
git pull
install.sh的内容,访问不到就复制下来,地址替换为了加速版的:
#!/bin/bash
#
# Description : Easy install PiKISS
# Author : Jose Cerrejon Gonzalez (ulysess@gmail_dot._com)
# Version : 1.0.4 (24/Sep/21)
#
clear
readonly INSTALL_DIR="$HOME"
# readonly PIKISS_URL="https://github.com/jmcerrejon/PiKISS.git"
readonly PIKISS_URL="https://hub.fastgit.org/jmcerrejon/PiKISS.git" # 加速版
make_desktop_entry() {
if [[ ! -e "$HOME"/.local/share/applications/pikiss.desktop ]]; then
echo -e "[Desktop Entry]\nName=PiKISS\nComment=A bunch of scripts with menu to make your life easier\nExec=${PWD}/piKiss.sh\nIcon=${PWD}/icons/pikiss_32.png\nTerminal=true\nType=Application\nCategories=ConsoleOnly;Utility;System;\nPath=${PWD}/" >"$HOME"/.local/share/applications/pikiss.desktop
lxpanelctl restart
fi
}
if [[ -d "$INSTALL_DIR/piKiss" ]]; then
cd "$INSTALL_DIR/piKiss" && ./piKiss.sh
exit 0
fi
install() {
local IS_RASPBERRYPI
IS_RASPBERRYPI=$(grep </proc/cpuinfo 'BCM2708\|BCM2709\|BCM2835\|BCM2711')
cd "$INSTALL_DIR" || exit 1
if [[ -z $IS_RASPBERRYPI ]]; then
echo "Sorry. PiKISS is only available for Raspberry Pi 1-4 boards."
exit
fi
echo -e "\nPiKISS\n======\n\nInstalling at ${INSTALL_DIR}/piKiss. Please wait...\n"
sudo apt install -y dialog
git clone -b master "$PIKISS_URL" piKiss && cd "$_" || exit 1
}
install
make_desktop_entry
sleep 2
echo "
PiKISS installed!
=================
cd ${HOME}/piKiss, type or click ./piKiss.sh. You have an Menu shortcut, too!. Go to:
· Raspberry Pi OS: Menu > System Tools > PiKISS
· Twister OS: Menu > Accesories > PiKISS
"
read -p "Press ENTER to exit."
exit
重启再执行一次
sudo reboot
sudo bash install.sh
然后按图来:
输入 y 后等。
扫码关注腾讯云开发者
领取腾讯云代金券
Copyright © 2013 - 2025 Tencent Cloud. All Rights Reserved. 腾讯云 版权所有
深圳市腾讯计算机系统有限公司 ICP备案/许可证号:粤B2-20090059 深公网安备号 44030502008569
腾讯云计算(北京)有限责任公司 京ICP证150476号 | 京ICP备11018762号 | 京公网安备号11010802020287
Copyright © 2013 - 2025 Tencent Cloud.
All Rights Reserved. 腾讯云 版权所有