I'm new to Linux and I'm having a hard time with a package. I've been trying to run the ''cmake .'' and I can't because I don't have the libevdev package.
~/joycond$ cmake .
-- Checking for module 'libevdev'
-- No package 'libevdev' found
CMake Error at /snap/cmake/876/share/cmake-3.20/Modules/FindPkgConfig.cmake:556 (message):
A required package was not found
Call Stack (most recent call first):
/snap/cmake/876/share/cmake-3.20/Modules/FindPkgConfig.cmake:778 (_pkg_check_modules_internal)
CMakeLists.txt:10 (pkg_check_modules)
-- Configuring incomplete, errors occurred!
See also "/home/louis/joycond/CMakeFiles/CMakeOutput.log".
When I try to run sudo apt install libevdev
, it is unable to find it.
~$ sudo apt install libevdev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libevdev
I saw online that what I needed was libevdev-dev, but...
~$ sudo apt install libevdev-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libevdev-dev
If anyone could help it would be greatly appreciated since I am now completely lost.
sudo apt update
followed bysudo apt install libevdev-dev
? Welcome to Ask Ubuntu. – chili555 May 28 '21 at 21:20