Do more on the web, with a fast and secure browser!

Download Opera browser with:

  • built-in ad blocker
  • battery saver
  • free VPN
Download Opera

Install Opera without confirmation

  • Install Opera without confirmation to update with system. I am trying to do unattended installs of Opera and it sits there for confirmation of yes to update with system repos. I have tried many things to accomplish this.

    This is currently what I am using to install the package using dpkg

    echo PASSWORD | sudo -S dpkg -i /home/user/System/Packages/Opera/opera-stable_56.0.3051.52_amd64.deb

    I have tried many things, but the latest answer I can find is this however it does not work for some reason.

    echo yes Y | sudo -S dpkg -i /home/user/System/Packages/Opera/opera-stable_56.0.3051.52_amd64.deb

    Any help with this is greatly appreciated.

  • @dttauzin Only use sudo dpkg -i /home/user/System/Packages/Opera/opera-stable_56.0.3051.52_amd64.deb
    Then answer the prompt yes once. That adds the repo to /etc/apt/sources.list.d.
    It is then updated automatically after that 1st install. Am I missing something?

  • but see also here, to simulate a keypress for default choice, on a first time install.