我正在尝试按照此处的说明安装 OpenCV4:https ://www.learnopencv.com/install-opencv-4-on-ubuntu-16-04/
当我到达
sudo apt -y install libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev
Run Code Online (Sandbox Code Playgroud)
我收到
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libgstreamer0.10-dev
E: Couldn't find any package by glob 'libgstreamer0.10-dev'
E: Couldn't find any package by regex 'libgstreamer0.10-dev'
E: Unable to locate package libgstreamer-plugins-base0.10-dev
E: Couldn't find any package by glob 'libgstreamer-plugins-base0.10-dev'
E: Couldn't find any package by regex 'libgstreamer-plugins-base0.10-dev'
Run Code Online (Sandbox Code Playgroud)
我在网上查了一下,这些包可以在https://packages.ubuntu.com/search?keywords=libgstreamer0.10-dev 找到
我尝试手动下载和安装
sudo apt install ./libgstreamer0.10-dev_0.10.36-1.5ubuntu1_amd64.deb
Run Code Online (Sandbox Code Playgroud)
这给了我
Note, selecting 'libgstreamer0.10-dev' instead …Run Code Online (Sandbox Code Playgroud)