scrcpy: can not install with sudo apt install scrcpy
The documentation says that I can install scrcpy as a package like
sudo apt install scrcpy
jay@leny:~$ sudo apt install scrcpy
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package scrcpy
System:
Operating System: Kubuntu 19.10
KDE Plasma Version: 5.16.5
KDE Frameworks Version: 5.62.0
Qt Version: 5.12.4
Kernel Version: 5.3.0-46-generic
OS Type: 64-bit
Processors: 4 × Intel® Core™ i7-6500U CPU @ 2.50GHz
Memory: 15.5 GiB of RAM
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 21
It’s already up to date, it says that you can apt install since Ubuntu 20.04.
Update your distrib, or build from sources.
Your first problem is making your device detected by
adb devices
(independently of scrcpy).Just to be sure, I guess you correctly enabled USB debugging on the device?
Where does your
adb
come from (the distro or manually installed)? If your device is not detected, it’s probably due to missing udev rules, but in 20.04 with theadb
packet it should work out-of-the-box I guess.It’s in universe (
scrcpy
). You need to enable universe packages in Ubuntu.Why? What’s the problem and error message?