Install Edge

I downloaded Edge from https://www.microsoft.com/en-us/edge?form=MA13FJ#evergreen.

How do I install this on Fedora?

1 Like

confirm that you have .rpm file downloaded
cd into the directory where the app is maybe Downloads and then open console/terminal by pressing rightclick and open in
press this commands
make the file executable

usermod u+x appname.rpm

and Then
installation can be done 2ways such as
with rpm

sudo rpm -i appname.rpm

or with dnf

sudo dnf localinstall appname.rpm

else you can inatall it from flathub which is easy to just go to softwarecenter search for edge or brave chromium whatever you want and press install.

usermod u+x ./microsoft-edge-stable_107.0.1418.24-1_amd64.deb
Usage: usermod [options] LOGIN

Options:
-b, --badnames allow bad names
-c, --comment COMMENT new value of the GECOS field
-d, --home HOME_DIR new home directory for the user account
-e, --expiredate EXPIRE_DATE set account expiration date to EXPIRE_DATE
-f, --inactive INACTIVE set password inactive after expiration
to INACTIVE
-g, --gid GROUP force use GROUP as new primary group
-G, --groups GROUPS new list of supplementary GROUPS
-a, --append append the user to the supplemental GROUPS
mentioned by the -G option without removing
the user from other groups
-r, --remove remove the user from only the supplemental GROUPS
mentioned by the -G option without removing
the user from other groups
-h, --help display this help message and exit
-l, --login NEW_LOGIN new value of the login name
-L, --lock lock the user account
-m, --move-home move contents of the home directory to the
new location (use only with -d)
-o, --non-unique allow using duplicate (non-unique) UID
-p, --password PASSWORD use encrypted password for the new password
-R, --root CHROOT_DIR directory to chroot into
-P, --prefix PREFIX_DIR prefix directory where are located the /etc/* files
-s, --shell SHELL new login shell for the user account
-u, --uid UID new UID for the user account
-U, --unlock unlock the user account
-v, --add-subuids FIRST-LAST add range of subordinate uids
-V, --del-subuids FIRST-LAST remove range of subordinate uids
-w, --add-subgids FIRST-LAST add range of subordinate gids
-W, --del-subgids FIRST-LAST remove range of subordinate gids
-Z, --selinux-user SEUSER new SELinux user mapping for the user account

You’re installing the .deb you need the .rpm one

Import the key

  1. sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc

Add the repo

  1. for DNF4
sudo dnf config-manager --add-repo https://packages.microsoft.com/yumrepos/edge
  1. For DN5 → Fedora 41 and beyond
sudo dnf config-manager addrepo --from-repofile='https://packages.microsoft.com/yumrepos/edge/config.repo'

Refresh meta cache

  1. sudo dnf update --refresh

Install Software

  1. sudo dnf install microsoft-edge-stable

Regards.,

8 Likes

running the command given in step 2 gives this error:

Unknown argument “–add-repo” for command “config-manager”. Add “–help” for more information about the argume
nts.

This looks like it’d work:

sudo dnf config-manager addrepo --from-repofile='https://packages.microsoft.com/yumrepos/edge/config.repo'
2 Likes

yeah, thanks a lot, it worked :slight_smile:

1 Like