linux 安装 opera 说明
Posted 2 years, 5 months ago at 11:31 am. 0 comments
guoshuang2007-04-03+ubuntu 源内有 opera 了。直接 sudo apt-get install opera 即可。
来自:
http://www.opera.com/support/search/supsearch.dml?index=456
How do I install?
Platform: GNU/Linux
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 (RedHat Package Manager packages)
To install a RPM package you must have root access on your system. Either login 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-static-5.0b8-20010426.023.1.i386.rpm
Answer yes on the license question and you’re done.
DEB (Debian package format)
To install a DEB package you must have root access on you system. Either login as root or suid into root, example:
su
Move to the location you downloaded/saved the package to and type:
dpkg -i packagename
example:
dpkg -i opera-static_5.0-0beta7-20010426-023_i386.deb
TAR.GZ (the TAR.GZ package format)
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-5.0-b8-20010426.023-static.i386.tar.gz
You can now either run Opera without installing it, or install it to a specified directory. To run it, run the runme.sh script:
./runme.sh
For a standard system wide access you should login 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 do it in a more complicated way. Here’s an example:
./install.sh -f ~/bin ~/doc/opera ~/share/opera
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 enviroment. You may also use some GNU prefixes.
./install.sh –help
gives you a short list.
Using the dynamically linked version of Opera with Debian
Platform: GNU/Linux
If your installation of Debian does not come with Qt and you want to use the dynamically linked version of Opera, you can get it from kde.debian.net, or you can add the following line to your /etc/apt/sources.list:
deb http://kde.debian.net/ potato kde kde2 contrib
You can then do an apt-get update and apt-get install libqtX.Y (where X.Y is the version number) before you install Opera.
You can avoid all this by downloading the statically linked version of Opera instead. The static version is recommended to most people, although the dynamic version is about half the size.
Error in loading shared libraries message
Platform: GNU/Linux
This error message means that you have downloaded a package which is dynamically linked to Qt, and either your system lacks the correct Qt version, or you haven’t set the LD_LIBRARY_PATH environment variable correctly.
To set this path, use export LD_LIBRARY_PATH=[path]. The path depends on where libqt.so.3 resides on your system. Here is an example if you are using Opera 5.0, which requires Qt 2.2.4:
export LD_LIBRARY_PATH=/usr/local/qt-2.2.4/lib
This command can be entered in a terminal window.
Alternatively, if you download an Opera package with Qt statically linked instead, you won’t have to worry about this. We would recommend most users to download the static package, although the dynamic version is about half the size.
相关日志:
No Replies
Feel free to leave a reply using the form below!