Installing Opera Browser

Could anyone help me out with installing opera

Opera browser installation

  1. Open a terminal

  2. Run the following command to obtain root privileges

    sudo -s
    

    and type your admin password.

  3. Run the following commands, one by one:

    swupd bundle-add package-utils
    rpm --import https://rpm.opera.com/rpmrepo.key
    mkdir -p /etc/yum.repos.d
    tee /etc/yum.repos.d/opera.repo <<RPMREPO
    
  4. A > symbol should appear. Continue by typing (or pasting) this strings, one by one:

    [opera]
    name=Opera packages
    type=rpm-md
    baseurl=https://rpm.opera.com/rpm
    gpgcheck=1
    gpgkey=https://rpm.opera.com/rpmrepo.key
    enabled=1
    RPMREPO
    
  5. You should be back to standard terminal. Run:

    dnf download opera-stable 
    rpm -U --nodeps opera*x64*.rpm
    
  6. You can now delete the .rpm packages and, if you don’t need it, the package-utils bundle. To do this run the following commands, one by one:

    rm -f opera*.rpm
    swupd bundle-remove package-utils
    
  7. The following command will fix the font loading:

    f=/etc/environment; s='export FONTCONFIG_PATH=/usr/share/defaults/fonts'; touch $f; if ! grep -q "$s" $f ; then echo $s >> $f; fi
    
  8. Reboot your system.

Done! :smile:

3 Likes