mari0s
Joined: 28 Apr 2022 Posts: 1
|
Posted: Thu Apr 28, 2022 11:34 pm Post subject: Kernel sources or kernel headers directory not found |
|
|
Hi,
I'm trying to install 'USB Redirector Client' on Centos 7 VPS
uname -r
Code: | 3.10.0-1127.19.1.el7.x86_64 |
ls -l /usr/src/kernels/
Code: | drwxr-xr-x 22 root root 4096 Apr 28 21:57 3.10.0-1127.19.1.el7.x86_64 |
ls -l /usr/src/kernels/3.10.0-1127.19.1.el7.x86_64/
Code: | total 4740
drwxr-xr-x 32 root root 4096 Apr 28 21:57 arch
drwxr-xr-x 3 root root 78 Apr 28 21:57 block
drwxr-xr-x 4 root root 76 Apr 28 21:57 crypto
drwxr-xr-x 120 root root 4096 Apr 28 21:57 drivers
drwxr-xr-x 2 root root 22 Apr 28 21:57 firmware
drwxr-xr-x 75 root root 4096 Apr 28 21:57 fs
drwxr-xr-x 28 root root 4096 Apr 28 21:57 include
drwxr-xr-x 2 root root 37 Apr 28 21:57 init
drwxr-xr-x 2 root root 22 Apr 28 21:57 ipc
-rw-r--r-- 1 root root 505 Aug 25 2020 Kconfig
drwxr-xr-x 13 root root 247 Apr 28 21:57 kernel
drwxr-xr-x 11 root root 236 Apr 28 21:57 lib
-rw-r--r-- 1 root root 51299 Aug 25 2020 Makefile
-rw-r--r-- 1 root root 2305 Aug 25 2020 Makefile.qlock
drwxr-xr-x 2 root root 58 Apr 28 21:57 mm
-rw-r--r-- 1 root root 1146467 Aug 25 2020 Module.symvers
drwxr-xr-x 61 root root 4096 Apr 28 21:57 net
drwxr-xr-x 15 root root 231 Apr 28 21:57 samples
drwxr-xr-x 13 root root 4096 Apr 28 21:57 scripts
drwxr-xr-x 9 root root 136 Apr 28 21:57 security
drwxr-xr-x 24 root root 301 Apr 28 21:57 sound
-rw-r--r-- 1 root root 3612420 Aug 25 2020 System.map
drwxr-xr-x 20 root root 254 Apr 28 21:57 tools
drwxr-xr-x 2 root root 37 Apr 28 21:57 usr
drwxr-xr-x 4 root root 44 Apr 28 21:57 virt
-rw-r--r-- 1 root root 41 Aug 25 2020 vmlinux.id |
but still when i run: sudo ./installer.sh install-client
Code: | *** Installing USB Redirector for Linux v3.9.9
*** Destination dir: /usr/local/usb-redirector
*** Checking installation...
*** Detecting system...
*** distribution: redhat
*** init: systemd
*** kernel: 3.10.0-1127.19.1.el7.x86_64
*** Cleaning up installation...
***
*** INSTALLATION FAILED!
??? Kernel sources or kernel headers directory not found. Please install the corresponding package first. |
Can you please help? |
|