我是 kali linux 初学者,所以安装后我按照教程进行操作,我需要在 root 用户上执行 sudo apt-get install scrcpy 。我收到错误:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package scrcpy
我也尝试过此链接来解决我的问题,但没有帮助。https://ftlinuxcourse.com/e-unable-to-locate-package-kali-linux-2020-problem-solved
我正在使用:kali linux 4Virtual Box,i386 2020 Virtual box 6.1 KALI LINUX
问候,萨阿德
答案1
该软件包仅适用于 debian Sid 和 Ubuntu 20.04 至apt
.
你可以scrcpy
通过以下方式在kali linux上安装snap
:
sudo apt update
sudo apt install snapd
sudo snap install core
sudo systemctl unmask snapd
sudo systemctl enable --now snapd
sudo snap install scrcpy
将以下行添加到您的~/.zshrc
:
echo "alias scrcpy='/snap/bin/scrcpy'" >> ~/.zshrc
然后:
source ~/.zshrc
scrcpy