Installing Microsoft Edge on Debian without using Snap allows you to have the browser running as a native Debian package, avoiding Snap’s containerized environment. This approach is useful if you prefer traditional package management, want better integration with your system, or have concerns about Snap’s resource usage or security model. This guide will walk you through obtaining and installing Microsoft Edge as a .deb package directly from Microsoft’s official repository, ensuring you get updates and security patches seamlessly.
What You’ll Need
- A Debian system with sudo or root access
- Internet connection to download packages and repository keys
- Basic familiarity with terminal commands and package management
Step-by-Step
- Open a terminal. You can do this by searching for “Terminal” in your applications menu or pressing
Ctrl+Alt+T. - Update your package lists. Run:
sudo apt update
This ensures your package database is current.
- Install prerequisite packages. Microsoft Edge requires HTTPS transport and curl to fetch keys and packages:
sudo apt install -y software-properties-common apt-transport-https curl
- Download Microsoft’s GPG key. To verify package authenticity, import Microsoft’s signing key:
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
- Move the key to your trusted keys directory.
sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/
- Add the Microsoft Edge repository. Run:
sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/edge stable main" > /etc/apt/sources.list.d/microsoft-edge.list'
- Update your package lists again. This refreshes the package sources now including Edge:
sudo apt update
- Install Microsoft Edge Stable.
sudo apt install -y microsoft-edge-stable
This downloads and installs Edge as a Debian package.
- Launch Microsoft Edge. You can start it from your application menu or by typing:
microsoft-edge
in the terminal.
- Confirm the installation. Check the version:
microsoft-edge --version
It should display the installed Edge version.
Common Mistakes
- Skipping the GPG key import: Without the signing key, APT will refuse to install Edge due to untrusted packages.
- Incorrect repository URL or syntax: Double-check the repository line is exactly as shown; typos prevent package discovery.
- Forgetting to update package lists after adding the repo: You must run
sudo apt updateagain to refresh sources. - Trying to install on unsupported architectures: Microsoft Edge for Linux is only available for 64-bit (amd64) Debian systems.
- Attempting to install Edge with Snap commands: This guide avoids Snap entirely; mixing methods can cause conflicts.
Tips
- Keep your system updated: Regularly run
sudo apt update && sudo apt upgradeto receive the latest Edge security patches. - Use the Beta or Dev channels if you want early features: Replace
microsoft-edge-stablewithmicrosoft-edge-betaormicrosoft-edge-devin the install command and repository URL accordingly. - Pin the package version if needed: To avoid automatic upgrades, you can hold the Edge package using
sudo apt-mark hold microsoft-edge-stable. - Use Edge’s native Linux features: Microsoft Edge for Linux supports hardware acceleration and integration with Debian’s notification system.
- Check your firewall or proxy settings: If package downloads fail, confirm network settings allow HTTPS traffic to Microsoft’s servers.
Troubleshooting
If the installation does not go as planned, here are some common issues and fixes:
- APT errors about missing keys or untrusted sources: Ensure you imported the GPG key correctly; try re-downloading and moving it to
/etc/apt/trusted.gpg.d/. - Package not found after adding the repository: Run
sudo apt updateagain and verify the repository file content withcat /etc/apt/sources.list.d/microsoft-edge.list. - Edge won’t launch or crashes: Run
microsoft-edge --no-sandboxto test if sandboxing is the issue. If it runs, check for missing dependencies or permissions. - Wrong architecture errors: Confirm your system is 64-bit with
dpkg --print-architecture. Edge does not support 32-bit Debian. - Network download failures: Test your connection by downloading the key or package directly with curl or wget. Adjust proxy or firewall if needed.
- Conflicts with previously installed Edge versions or Snap: Remove Snap Edge with
sudo snap remove microsoft-edgebefore installing the native package.
Frequently Asked Questions
Can I install Microsoft Edge on Debian without Snap?
Yes, Microsoft provides official .deb packages and a repository for Debian that allow installation without Snap, as detailed in this guide.
Is Microsoft Edge available for 32-bit Debian?
No, Microsoft Edge for Linux is only distributed as a 64-bit (amd64) package. 32-bit systems are not supported.
Will Microsoft Edge update automatically after installation?
Yes, once the Microsoft repository is added, Edge will update through the standard apt upgrade process.
Can I install Beta or Dev versions without Snap?
Yes, Microsoft offers Beta and Dev channels as separate Debian packages and repositories. You can add their respective repos and install those versions instead.
Why does Edge require a GPG key?
The GPG key verifies that the packages come from Microsoft and have not been tampered with, ensuring secure installation.
What if I want to remove Microsoft Edge later?
You can uninstall Edge with sudo apt remove microsoft-edge-stable and optionally remove the repository and key files.
By following these steps, you can enjoy Microsoft Edge’s features on Debian with native packaging and without the need for Snap, providing better system integration and control over updates.
As Microsoft Edge continues to improve its Linux support, this installation method remains the most straightforward way to use the browser on Debian systems while maintaining traditional package management workflows.
Remember to keep an eye on official Microsoft documentation or Debian community resources for any future changes to repository URLs or package availability.
Related
- How to Avoid Losing Your Home Over HOA Fees: A Practical Guide
- How to Install In Ceiling Speakers Without Wiring Step-by-Step
- How to Catch a 50 Pound Tarpon Without a Boat: Step-by-Step Guide