Step-by-Step Guide to Install Microsoft Edge and Visual Studio Code on Fedora
Step 1: Import Microsoft GPG Key
To ensure the packages you download are authentic, you need to import Microsoft's GPG key. Open your terminal and execute the following command:
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
Step 2: Enable and add the Microsoft Edge and Visual Studio Code Repositories
You need to add the repositories for both Microsoft Edge and Visual Studio Code. Execute the following commands to add these repositories:
Add Microsoft Edge repository:
sudo dnf config-manager --add-repo https://packages.microsoft.com/yumrepos/edge/
Add Visual Studio Code repository:
sudo dnf config-manager --add-repo https://packages.microsoft.com/yumrepos/vscode/
Step 3: Refresh the Metadata Cache
After adding the repositories, refresh the metadata cache to ensure that your system is aware of the new packages available. Run the following command:
sudo dnf update --refresh
Step 4: Install Microsoft Edge
Now that the repository has been added and the cache is refreshed, you can install Microsoft Edge. Use the following command to install Microsoft Edge Stable:
sudo dnf install microsoft-edge-stable
Step 5: Install Visual Studio Code
Similarly, install Visual Studio Code by running the following command:
sudo dnf install code
Conclusion
You've successfully installed Microsoft Edge and Visual Studio Code on Fedora! You can launch these applications from your applications menu or by typing microsoft-edge
or code
in the terminal.
Feel free to reach out if you have any questions or need further assistance! Happy coding! 🎉
This guide should help you get started with using Microsoft Edge and Visual Studio Code on your Fedora system. Enjoy!