During the installation, you will be prompted whether you want a new repository file to be created. When you’re done adding the GPG key and repository above, run the commands below to install Opera. Sudo add-apt-repository 'deb stable non-free'
After adding the GPG key above, run the commands below to add Opera’s official repository for Ubuntu.