Attempting to install USB/IP on Ubuntu 22.04 per the Microsoft docs:
On Ubuntu, run this command:
sudo apt install linux-tools-5.4.0-77-generic hwdata sudo update-alternatives --install /usr/local/bin/usbip usbip /usr/lib/linux-tools/5.4.0-77-generic/usbip 20
But running that results in:
E: Unable to locate package linux-tools-5.4.0-77-generic
E: Couldn't find any package by glob 'linux-tools-5.4.0-77-generic'
How do I install USB/IP on Ubuntu 22.04 on WSL?
Fairly easy to figure out (especially if you are using a shell that autocompletes
apt
package names), but you'll need to modify the command for the current kernel versionlinux-tools
package for 22.04 as follows: