My early Christmas present to Opera fans on RPM distros

Opera for Linux is now back on track with the latest releases coming out alongside Windows and Mac builds. Currently we only provide .deb packages, however don't let the lack of additional "official" Linux package formats fool you, we are increasingly interested in making Opera work correctly on a wider range of distros.

Several distros have already added us to their own repositories, including Arch, Gentoo, PCLinuxOS and Russian Fedora. I'm also maintaining my own openSUSE and Fedora repositories containing Opera packages.

Additionally, I have provided detailed instructions explaining various install options, along with a generic Opera install script that not only automates the process but allows you to auto-update.

The following is (yet another) option for those on rpm distros, which do not support yum repositories. Or even for those who could use them but would prefer handle the repacking locally.

RPM for Opera

Today I release a new script, called rpm4opera. It does two things:

  • Detect and (automatically) download the latest release for your chosen stream: stable, beta or developer
  • Repackage Opera .deb files into .rpm format

Usage

To use, first download the script and make it executable:

chmod +x rpm4opera

To fetch the latest stable, issue the following command:

./rpm4opera --stable

After a few minutes you will have the latest stable build repackaged into .rpm format. If you would prefer beta or developer, change --stable to --beta or --developer respectively. If a new release comes out, just reissue the command.

The script can also convert a specific local Opera .deb package, like so:

./rpm4opera opera-stable_26.0.1656.60_amd64.deb

Note: I have only done limited testing on the most recent versions of Fedora, OpenSUSE, PCLinuxOS and Mageia.

Prefer a .spec file?

If you want something less automated or would like to create your own rpms for contribution to your favourite distro repository, checkout my sample Opera .spec files. Feel free to use them as a basis for your own solution.

comments powered by Disqus