Opera

Search the knowledge base

How do I install?

If you have not done so already, please read " Which package should I select?" first. Then read the section related to the package format you selected.

RPM (Red Hat Package Manager packages)

To install a RPM package you must have root access on your system. Either log in as root or suid into root. Example:

su

Move to the location you downloaded/saved the package to and type:

rpm -Uvh packagename

example:

rpm -Uvh opera-9.23-20070809.6-shared-qt.i386-en.rpm

deb (Debian package format)

To install a deb package you must have root access on you system. On some systems you can log in as root or suid into root, example:

su

On other systems, most notably Ubuntu, you can't log in as root, so you must type sudo in front of all commands that you need to run as root.

Move to the location you downloaded/saved the package to and type:

dpkg -i packagename

example:

dpkg -i opera-static_9.23-20070809.1-qt_en_i386.deb
(or sudo dpkg -i opera-static_9.23-20070809.1-qt_en_i386.deb if necessary)

tar.gz (tarred and gzipped packages)

This package format is mainly for power users, because it gives a lot of options. As a single user, you may simply extract the package like this:

tar -zxfv packagename

example:

tar -zxfv opera-9.22-20070716.6-shared-qt.i386-en.tar.gz

You can now either run Opera without installing it, or install it to a specified directory. To run it, run the opera script:

./opera

For a standard system wide access you should log in or suid to root and type:

./install.sh

If you are only logged on as a normal user, the script will detect this and give you a number of options.

You can also manually specify the directory where you want Opera to be installed:

./install.sh --prefix ~/

which installs the binary to your home/bin directory and documentation and opera shared files in similar fashion. Insert

export OPERADIR="~/share/opera"

into .bashrc or similar to set Opera's environment. You may also use some GNU prefixes.

./install.sh --help

gives you a short list.


Browse through articles in the same categories: installation