Disclaimer: I wrote this script for my own personal usage. It is not officially supported by Opera Software.
This script converts an Opera Debian package into standalone (portable) format. If you do not already have it, fetch it as follows:
git clone https://gist.github.com/8416e36372f1a976a713.git
Now use the script to convert an Opera package as follows:
sh standalone-opera.sh opera-developer_27.0.1670.0_amd64.deb
When the script is done you will have a suitably directory called. You can run the copy of Opera stored within it as follows:
Copy or move the directory wherever you like.
If you want you can avoid escalating to root for every extraction. You will need to have variable
OPERA_DEVEL_SANDBOXpredefined and pointing to a valid root-owned, setuid sandbox application. You can actually take an Opera sandbox from any recent Opera package. You should be able to continue to use it for multiple releases before needing to update it. To extract and configure the one from Opera 28.0.1719.0 developer for example, issue:
Then define the variable (
export OPERA_DEVEL_SANDBOX=/var/tmp/opera_sandbox) in your ~/.bashrc or somewhere else you feel is appropriate.