Usbutils install offline

Probably a stupid question, but how do I install usbutils offline? I want to be able to run lsusb. Which version do I need and how to do it offline (I have no possibility of getting it online).
afaik, running on osmc Kodi 17.6

PRETTY_NAME=“Open Source Media Center”
NAME=“OSMC”
VERSION=“October 2018”
VERSION_ID=“2018.10-1”
ID=osmc
ID_LIKE=debian

Download these files to your sd-card, from what ever ftp that suits you:

https://packages.debian.org/stretch/armhf/usbutils/download

https://packages.debian.org/stretch/armhf/libusb-1.0-0/download

https://packages.debian.org/stretch/armhf/libudev1/download

I saved them in the Filesystem on your card that you see from windows (/boot in osmc)

then in shell:
cd /boot
sudo dpkg -i libudev1_232-25+deb9u11_armhf.deb
sudo dpkg -i libusb-1.0-0_1.0.21-1_armhf.deb
sudo dpkg -i usbutils_007-4+b1_armhf.deb

then you should be able to run lsusb

ps. Did this yesterday, that’s why i’m so fast in replying

2 Likes