F5F Stay Refreshed Software Operating Systems Saving the installation locally for offline use on Ubuntu 20.04 LTS

Saving the installation locally for offline use on Ubuntu 20.04 LTS

Saving the installation locally for offline use on Ubuntu 20.04 LTS

Pages (2): 1 2 Next
X
xvMAKSIOvx
Member
50
07-06-2016, 10:26 AM
#1
Hello everyone, I’m currently relocating and my internet isn’t working at the new location. My PC already has a WiFi card that I can use with my phone’s hotspot until the router is fixed. The issue is I don’t have the right drivers installed, and without them I can’t download the apt package via terminal (I’m using Ubuntu 20.04 LTS). I need to get the drivers from another PC with internet access, save the files on a USB drive, and then transfer it to my home PC for installation. Since I also have Ubuntu installed on my work machine, I could download everything there and move the needed files to my USB drive as well. The package I’m trying to install is broadcom-sta-dkms, a proprietary driver for Broadcom wireless adapters that should work with my BCM4352 AC card. In the GUI, I can’t see any option to connect to networks because the driver isn’t installed. I’ve noticed apt archives are stored in var/cache/apt/archives, but that folder doesn’t appear on my work PC even when showing hidden files. I’m also unsure if this package has extra dependencies I need to download, so I’d like a smooth, completely offline installation at home. Any advice would be greatly appreciated. Thanks!
X
xvMAKSIOvx
07-06-2016, 10:26 AM #1

Hello everyone, I’m currently relocating and my internet isn’t working at the new location. My PC already has a WiFi card that I can use with my phone’s hotspot until the router is fixed. The issue is I don’t have the right drivers installed, and without them I can’t download the apt package via terminal (I’m using Ubuntu 20.04 LTS). I need to get the drivers from another PC with internet access, save the files on a USB drive, and then transfer it to my home PC for installation. Since I also have Ubuntu installed on my work machine, I could download everything there and move the needed files to my USB drive as well. The package I’m trying to install is broadcom-sta-dkms, a proprietary driver for Broadcom wireless adapters that should work with my BCM4352 AC card. In the GUI, I can’t see any option to connect to networks because the driver isn’t installed. I’ve noticed apt archives are stored in var/cache/apt/archives, but that folder doesn’t appear on my work PC even when showing hidden files. I’m also unsure if this package has extra dependencies I need to download, so I’d like a smooth, completely offline installation at home. Any advice would be greatly appreciated. Thanks!

G
GosuApheroth
Junior Member
18
07-08-2016, 09:59 PM
#2
You can simply transfer the .deb file to your USB drive and plug it in. Once back home, navigate to the folder and run dpkg -i to install it. This package seems standalone, so no additional dependencies are required beyond what’s listed.
G
GosuApheroth
07-08-2016, 09:59 PM #2

You can simply transfer the .deb file to your USB drive and plug it in. Once back home, navigate to the folder and run dpkg -i to install it. This package seems standalone, so no additional dependencies are required beyond what’s listed.

C
Chiller9592
Senior Member
670
07-20-2016, 07:07 PM
#3
Current approach, if you want to verify the process: copy the .deb file from source to USB, move it to your home PC’s local folder, then navigate into that directory and run the commands in order. After that, install with sudo and check for any dependency fixes using dpkg. This should help ensure the WiFi card driver works properly without internet access.
C
Chiller9592
07-20-2016, 07:07 PM #3

Current approach, if you want to verify the process: copy the .deb file from source to USB, move it to your home PC’s local folder, then navigate into that directory and run the commands in order. After that, install with sudo and check for any dependency fixes using dpkg. This should help ensure the WiFi card driver works properly without internet access.

M
Merfilicious
Junior Member
11
08-11-2016, 11:50 AM
#4
Ensure dynamic module loading is activated in your kernel, which is typically the standard setting.
M
Merfilicious
08-11-2016, 11:50 AM #4

Ensure dynamic module loading is activated in your kernel, which is typically the standard setting.

P
Private_HAWK
Member
132
08-19-2016, 04:55 AM
#5
When stuck, simply link your phone to your computer using a USB cable, navigate to notifications on your phone, and switch the USB setting from the standard mode to "USB Teeth." This should generate a temporary internet connection for installing drivers and help bypass downloading packages directly.
P
Private_HAWK
08-19-2016, 04:55 AM #5

When stuck, simply link your phone to your computer using a USB cable, navigate to notifications on your phone, and switch the USB setting from the standard mode to "USB Teeth." This should generate a temporary internet connection for installing drivers and help bypass downloading packages directly.

T
TeekiBeats
Junior Member
11
09-05-2016, 06:49 PM
#6
Really, dkms comes with many dependencies, and trying to install them without internet has consistently been out of reach for me, especially on distributions that don’t include it by default—like Fedora (though I’m not sure about Ubuntu).
T
TeekiBeats
09-05-2016, 06:49 PM #6

Really, dkms comes with many dependencies, and trying to install them without internet has consistently been out of reach for me, especially on distributions that don’t include it by default—like Fedora (though I’m not sure about Ubuntu).

J
JewishJustin
Member
95
09-05-2016, 08:46 PM
#7
You're attempting to set up dpkg on Fedora? That's unusual since dpkg is specific to Debian-based systems. It manages Debian-style packages, but Fedora uses its own package manager, RPM. The issue arises because Fedora doesn't support Debian packages, making it hard to resolve dependencies. Fedora includes its own version of dpkg in the long-term release, known as rpm. Also, the person asking might be trying to install a Debian package from another machine, not dpkg itself.
J
JewishJustin
09-05-2016, 08:46 PM #7

You're attempting to set up dpkg on Fedora? That's unusual since dpkg is specific to Debian-based systems. It manages Debian-style packages, but Fedora uses its own package manager, RPM. The issue arises because Fedora doesn't support Debian packages, making it hard to resolve dependencies. Fedora includes its own version of dpkg in the long-term release, known as rpm. Also, the person asking might be trying to install a Debian package from another machine, not dpkg itself.

T
TeoSiddha27
Junior Member
20
09-06-2016, 04:05 AM
#8
I would handle this automatically, but my device is tied to a service that blocks USB connections even with a hotspot. If I had to bypass it on Linux, I’d need to jailbreak the phone to enable USB tethering.
T
TeoSiddha27
09-06-2016, 04:05 AM #8

I would handle this automatically, but my device is tied to a service that blocks USB connections even with a hotspot. If I had to bypass it on Linux, I’d need to jailbreak the phone to enable USB tethering.

L
Lover_Girl
Member
197
09-06-2016, 10:27 AM
#9
You could set up a local repo and stick with apt-get, but using dpkg in the terminal is simpler for just one .deb package. It should work fine.
L
Lover_Girl
09-06-2016, 10:27 AM #9

You could set up a local repo and stick with apt-get, but using dpkg in the terminal is simpler for just one .deb package. It should work fine.

J
Jostorak
Member
235
09-06-2016, 04:58 PM
#10
Apologies for the mistake, I intended to type dkms instead of dpkg.
J
Jostorak
09-06-2016, 04:58 PM #10

Apologies for the mistake, I intended to type dkms instead of dpkg.

Pages (2): 1 2 Next