how to install specific version of libusb on ubuntu

Asked by aiden barrett on 2019-03-19

Need help installing libusb 2:1.0.22-2 on ubuntu 18.04

Question information

English Edit question
Ubuntu libusb-1.0 Edit question
No assignee Edit question
Solved by:
aiden barrett
Last query:
Last reply:
Manfred Hampl (m-hampl) said : #1

libusb version 2:1.0.22-2 is available for Ubuntu 18.10 and 19.04 only, and not for Ubuntu 18.04.

There is no officially supported way to install that version on Ubuntu 18.04.

If you definitely need it, you can try manually installing the version for Ubuntu 18.10 on your Ubuntu 18.04 system.
As far as I can see, the dependencies are identical, so this should be possible without problems. In any case you still do this on your own risk.

aiden barrett (aiden101) said : #2

Thanks a lot for the info, this sounds worth trying. Do you know the steps required for me to try this? Could you explain how to do this, if so? Thanks.

Manfred Hampl (m-hampl) said : #3

As a prerequisite to provide the commands to install the version for cosmic/dingo, I need the output of the commands

uname -a
dpkg -l | grep libusb

aiden barrett (aiden101) said : #4

Thank you, much appreciated. Here is the output:

1) Linux AIDENX 4.15.0-47-generic #50-Ubuntu SMP Wed Mar 13 10:44:52 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

2) ii libgusb2:amd64 0.2.11-1 amd64 GLib wrapper around libusb1
ii libusb-0.1-4:amd64 2:0.1.12-31 amd64 userspace USB programming library
ii libusb-1.0-0:amd64 2:1.0.21-2 amd64 userspace USB programming library
ii libusb-1.0-0-dev:amd64 2:1.0.21-2 amd64 userspace USB programming library development files
ii libusb-1.0-doc 2:1.0.21-2 all documentation for userspace USB programming
ii libusb-dev 2:0.1.12-31 amd64 userspace USB programming library development files
ii libusbmuxd4:amd64 1.1.0~git20171206.c724e70f-0.1 amd64 USB multiplexor daemon for iPhone and iPod Touch devices - library

Manfred Hampl (m-hampl) said : #5

I suggest that you try the following commands (in a terminal window):

sudo dpkg --install libusb-1.0-*_1.0.22-2_*.deb

Just to repeat the disclaimer: This is a non-standard action, no warranty given.

aiden barrett (aiden101) said : #6

Thanks a lot. Much appreciated yet again. :)