Could anyone help me out with installing opera
Opera browser installation
-
Open a terminal
-
Run the following command to obtain root privileges
sudo -s
and type your admin password.
-
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
-
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
-
You should be back to standard terminal. Run:
dnf download opera-stable rpm -U --nodeps opera*x64*.rpm
-
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
-
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
-
Reboot your system.
Done!
The above suggestion is great. It helped me a lot when I installed ClearLinux for the first time but I’ve found another way.
If you don’t want to use dnf/yum since they install the packages under /usr/lib64 which is not recommended and the OS updates may brake your browser you can:
- Create folder that will hold the custom libs. Check Ld not finding library installed in /usr/local/lib - #5 by ahkok
- Download opera rpm and extract it somewhere under your home dir
- Create symlinks of opera’s share files to /usr/local/share to make the icon visible.
I’ve created a simple script that downloads the latest opera version + it enables h.264 codec
The script is not perfect but it does the job
https://raw.githubusercontent.com/takov/bash-scripts/master/clearLinux/opera.sh
HTH,
Takov
How would you uninstall Opera when installed like this?
extract the rpm, see what’s installed, and then remove them
do not like opera browserso much. I prefer google chrome
After Opera came Vivaldi.