In short, you can't because dpkg (the thing that does the work when you double click the .deb file) does not have a silent switch or a -y to answer yes to all questionsas apt does. If you did have the repo installed beforehand, thus have opera as an available package, you could install it like so apt-get install opera-stable -y