Installing Microsoft Edge on Ubuntu without an internet connection lets you use this popular web browser in environments with limited or no connectivity. This guide explains how to download the necessary files on a connected machine and then transfer and install them on your offline Ubuntu system, ensuring you get a fully functional Edge browser without needing to connect directly to the web during installation.
What You’ll Need
- A separate computer with internet access (to download the installation files).
- A USB drive or other removable media to transfer files.
- An Ubuntu machine where you want to install Microsoft Edge offline.
- Basic familiarity with terminal commands on Ubuntu.
Step-by-Step
- Download the Microsoft Edge Debian Package: On your internet-connected computer, go to the official Microsoft Edge download page for Linux: https://www.microsoft.com/edge. Select the Linux version and download the
.debpackage suitable for Ubuntu (usually labeled as “64-bit .deb”). - Download Required Dependencies: Microsoft Edge depends on several libraries and packages. To ensure offline installation, you need these dependencies too. On the connected Ubuntu machine, run:
sudo apt-get install --download-only microsoft-edge-stable
This command downloads Edge and all dependencies to the APT cache, usually
/var/cache/apt/archives. If you don’t have an Ubuntu system online, you can manually download dependencies by checking Edge’s dependencies using:apt-cache depends microsoft-edge-stable
Then download each dependency’s
.debfile from a trusted Ubuntu package archive website matching your Ubuntu version. - Collect All .deb Files: Copy the downloaded
microsoft-edge-stable_*.debfile and all dependency.debfiles from/var/cache/apt/archives(or your download folder) onto your USB drive. - Transfer Files to Offline Ubuntu Machine: Plug the USB drive into the offline Ubuntu system and copy all the
.debfiles to a local directory, for example~/edge-install/. - Install Dependencies First: Open a terminal on the offline Ubuntu machine and navigate to the folder with the
.debfiles:cd ~/edge-install
Then install all dependency packages by running:
sudo dpkg -i *.deb
If any dependency errors appear, you may need to install missing dependencies manually or repeat the download step for those specific packages.
- Install Microsoft Edge: After dependencies are installed, run:
sudo dpkg -i microsoft-edge-stable_*.deb
Replace
microsoft-edge-stable_*.debwith the exact filename if needed. - Fix Broken Dependencies (if any): If the installation reports missing dependencies, fix them by running:
sudo apt-get install -f
This command attempts to resolve and install missing dependencies using any available local packages. Since the system is offline, it will only succeed if you have all required
.debfiles in the folder and have installed them. - Verify Installation: Once installed, you can launch Microsoft Edge from the terminal by typing:
microsoft-edge
Or find it in your applications menu under “Microsoft Edge.” Confirm it opens and runs correctly.
- Optional – Create a Desktop Shortcut: If Edge does not appear in your application launcher, create a shortcut by creating a file
~/.local/share/applications/microsoft-edge.desktopwith the following content:[Desktop Entry] Name=Microsoft Edge Exec=/usr/bin/microsoft-edge Type=Application Icon=microsoft-edge Categories=Network;WebBrowser;
Save and refresh your desktop environment.
Common Mistakes
- Missing Dependencies: Trying to install only the Edge
.debfile without its dependencies leads to errors and broken installs. - Wrong Package Version: Downloading Edge or dependencies for a different Ubuntu version or architecture (e.g., 32-bit) causes incompatibilities.
- Not Using sudo for Installation: Installing packages without root privileges will fail.
- Copying Files to Wrong Locations: Installing from directories without proper permissions or inconsistent paths can cause issues.
- Ignoring Error Messages: Overlooking important terminal output during installation prevents troubleshooting.
Tips
- Use apt-offline Tool: For easier handling of offline package management, consider using
apt-offlineto generate a signature file on the offline machine, download required packages on an online machine, and then install them offline. - Keep Edge Updated: Since offline updates are manual, periodically repeat the download and install process to stay current.
- Check Architecture: Verify your Ubuntu system is 64-bit by running
uname -mto ensure you download the correct Edge package. - Use Trusted Sources Only: Always download Microsoft Edge and dependencies from official Microsoft or Ubuntu repositories to avoid security risks.
- Backup Important Data: Before installing new software, especially offline, back up critical files in case of conflicts or errors.
Troubleshooting
If Microsoft Edge does not install or run correctly after following the steps above, try the following:
- Check for Missing Dependencies: Run
sudo dpkg -i *.debagain and note any missing package names. Download those packages on an internet-connected machine and transfer them as before. - Use
sudo apt-get install -fto Fix Broken Installs: This command attempts to fix broken dependencies. It only works if all required packages are available locally. - Verify File Integrity: Confirm that the downloaded
.debfiles are not corrupted by comparing checksums if available or re-downloading if in doubt. - Check Ubuntu Version Compatibility: Microsoft Edge supports Ubuntu 18.04 and later. Using an unsupported version may cause installation failures.
- Review Log Files: Check the output of
journalctl -xeor/var/log/dpkg.logfor detailed error messages. - Try Installing Dependencies Manually: If bulk installing fails, try installing each dependency
.debfile one by one to identify problematic packages. - Reboot After Installation: Sometimes restarting the system helps apply changes and resolve environment issues.
Frequently Asked Questions
- Q: Can I install Microsoft Edge offline without downloading dependencies?
A: No, Edge requires certain dependencies to function. Installing only the Edge package will result in errors. - Q: Where can I find the official Microsoft Edge Linux download?
A: From the official Microsoft Edge site at https://www.microsoft.com/edge, select the Linux version and download the .deb package. - Q: How do I know which dependencies Edge needs?
A: On an online Ubuntu machine, you can runapt-cache depends microsoft-edge-stableor useapt-get install --download-onlyto gather dependencies for offline use. - Q: Is Microsoft Edge supported on all Ubuntu versions?
A: Officially, Microsoft Edge supports Ubuntu 18.04 (Bionic Beaver) and later versions. - Q: How do I update Microsoft Edge offline?
A: You must manually download the latest .deb package and dependencies on an internet-connected machine and repeat the offline installation process. - Q: Can I install Edge offline on other Linux distros?
A: Microsoft Edge is primarily provided as a .deb package for Debian-based distros like Ubuntu. For other distros, such as Fedora or Arch, you need different package formats or methods.
By following this detailed offline installation guide, you can successfully set up Microsoft Edge on your Ubuntu system without internet access, ensuring you have access to a modern, secure browser in offline environments. Remember to keep your installation media and packages organized for future updates or reinstalls.
Related
- How to Use Linux Commands on Windows 11: A Complete Guide
- How to Avoid Losing Your Home Over HOA Fees: A Practical Guide
- How to Install In Ceiling Speakers Without Wiring Step-by-Step