Any body know , where from i can download usb_modeswitch rpm by Rocky 10 ?
Thereβs a request to provide usb_modeswitch for EPEL:
But no one seems to be working on it.
The request for a Rocky Linux 10 usb_modeswitch package makes sense, especially with the EPEL tracking issue linked above. It would be useful to know whether the current EPEL10 build is blocked on a maintainer or just waiting for testing. In the meantime, are you looking for a package for a specific USB device or a general installation source?
Iβve just downloaded the Fedora Source rpms from here: Fedora Source rpms
Then we build with mock:
mock -r rocky+epel-10-x86_64 --installdeps usb_modeswitch-2.6.2-4.fc43.src.rpm
mock -r rocky+epel-10-x86_64 usb_modeswitch-2.6.2-4.fc43.src.rpm
then copy the rpms from /var/lib/mock/rocky+epel-10-x86_64/result/*.rpm to a safe place before we continue.
Then letβs build the usb_modeswitch-data rpms:
mock -r rocky+epel-10-x86_64 --installdeps usb_modeswitch-data-20191128-14.fc43.src.rpm
mock -r rocky+epel-10-x86_64 usb_modeswitch-data-20191128-14.fc43.src.rpm
Again, copy from the above location. I copied from the mock directory to /home/ian/usb_modeswitch, as shown below:
ian@rocky10:~$ tree usb_modeswitch
usb_modeswitch
βββ usb_modeswitch-2.6.2-4.el10.src.rpm
βββ usb_modeswitch-2.6.2-4.el10.x86_64.rpm
βββ usb_modeswitch-data-20191128-14.el10.noarch.rpm
βββ usb_modeswitch-data-20191128-14.el10.src.rpm
βββ usb_modeswitch-debuginfo-2.6.2-4.el10.x86_64.rpm
βββ usb_modeswitch-debugsource-2.6.2-4.el10.x86_64.rpm
The directory listing with date/timestamps just to prove Iβve done it now:
ian@rocky10:~$ ls -lha usb_modeswitch
total 412K
drwxr-xr-x. 2 ian ian 4.0K Aug 13 22:31 .
drwx------. 4 ian ian 4.0K Aug 13 22:29 ..
-rw-r--r--. 1 ian ian 86K Aug 13 22:29 usb_modeswitch-2.6.2-4.el10.src.rpm
-rw-r--r--. 1 ian ian 74K Aug 13 22:29 usb_modeswitch-2.6.2-4.el10.x86_64.rpm
-rw-r--r--. 1 ian ian 105K Aug 13 22:31 usb_modeswitch-data-20191128-14.el10.noarch.rpm
-rw-r--r--. 1 ian ian 53K Aug 13 22:31 usb_modeswitch-data-20191128-14.el10.src.rpm
-rw-r--r--. 1 ian ian 50K Aug 13 22:29 usb_modeswitch-debuginfo-2.6.2-4.el10.x86_64.rpm
-rw-r--r--. 1 ian ian 24K Aug 13 22:29 usb_modeswitch-debugsource-2.6.2-4.el10.x86_64.rpm
You can now install the usb_modeswitch and usb_modeswitch-data rpms.
root@rocky10:# dnf install ./usb_modeswitch-2.6.2-4.el10.x86_64.rpm ./usb_modeswitch-data-20191128-14.el10.noarch.rpm
Last metadata expiration check: 0:00:19 ago on Thu 13 Aug 2026 10:36:35 PM CEST.
Dependencies resolved.
========================================================================================================================
Package Architecture Version Repository Size
========================================================================================================================
Installing:
usb_modeswitch x86_64 2.6.2-4.el10 @commandline 74 k
usb_modeswitch-data noarch 20191128-14.el10 @commandline 104 k
Installing dependencies:
libusb1 x86_64 1.0.30-1.el10_2 baseos 77 k
tcl x86_64 1:8.6.13-4.el10 baseos 1.1 M
Transaction Summary
========================================================================================================================
Install 4 Packages
Total size: 1.4 M
Total download size: 1.2 M
Installed size: 4.7 M
Is this ok [y/N]: y
Downloading Packages:
(1/2): libusb1-1.0.30-1.el10_2.x86_64.rpm 170 kB/s | 77 kB 00:00
(2/2): tcl-8.6.13-4.el10.x86_64.rpm 1.5 MB/s | 1.1 MB 00:00
------------------------------------------------------------------------------------------------------------------------
Total 968 kB/s | 1.2 MB 00:01
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : tcl-1:8.6.13-4.el10.x86_64 1/4
Installing : libusb1-1.0.30-1.el10_2.x86_64 2/4
Installing : usb_modeswitch-data-20191128-14.el10.noarch 3/4
Running scriptlet: usb_modeswitch-data-20191128-14.el10.noarch 3/4
Installing : usb_modeswitch-2.6.2-4.el10.x86_64 4/4
Running scriptlet: usb_modeswitch-2.6.2-4.el10.x86_64 4/4
Installed:
libusb1-1.0.30-1.el10_2.x86_64 tcl-1:8.6.13-4.el10.x86_64 usb_modeswitch-2.6.2-4.el10.x86_64
usb_modeswitch-data-20191128-14.el10.noarch
Complete!