1.2 Installation procedure
Usually, you will need to be "administrator" to install Webots. Once installed, Webots can be used by a regular, unprivileged user. To install Webots, please follow this procedure:
-
Uninstall completely any old version of Webots that may have been installed on your computer previously.
-
Install the evaluation version of Webots for your operating system as explained below.
-
Setup your Webots USB dongle according the instructions described in the next section.
|
|
1.2.1 Linux
Webots will run on most recent Linux distributions running glibc2.3. This includes fairly recent Ubuntu, Debian, Fedora, SuSE, RedHat, etc. Webots comes in two different package types: .tar.bz2 (tarball) or .deb which are suitable for most Linux systems. These package are located on the Webots DVD in the linux/webots folder, or can be downloaded from our web site. Please select among the following ways to install Webots.
|
|
|
|
|
|
Using Advanced Packaging Tool (APT)
The advantage of this solution is that Webots will be updated with the system updates. This installation requires the root privileges.
First of all, you may want to configure your apt package manager by adding this line:
deb http://www.cyberbotics.com/debian/ binary-i386/ |
or
deb http://www.cyberbotics.com/debian/ binary-amd64/ |
in the /etc/apt/sources.list configuration file. Then update the APT packages by using
apt-get update |
Optionally, Webots can be autentified thanks to the Cyberbotics.asc signature file which can be downloaded here, using this command:
apt-key add /path/to/Cyberbotics.asc |
Then proceed to the installation of Webots using:
apt-get install webots |
|
|
From the tarball package
This procedure explains how to install Webots from the tarball package (having the .tar.bz2 extension). The tarball package can be installed without the root privileges. It can be uncompressed anywhere using the tar xjf command line. Once uncompressed, it is recommended to set the WEBOTS_HOME environment variable to point to the webots directory obtained from the uncompression of the tarball:
tar xjf webots-7.0.2-i386.tar.bz2 |
or
tar xjf webots-7.0.2-x86-64.tar.bz2 |
and
export WEBOTS_HOME=/home/username/webots |
The export line should however be included in a configuration script like /etc/profile, so that it is set properly for every session.
Some additional libraries are needed in order to properly run Webots. In particular libjpeg62 and mencoder have to be installed on the system.
From the DEB package
This procedure explains how to install Webots from the DEB package (having the .deb extension). This can be done using dpkg with the root privileges:
dpkg -i webots_7.0.2_i386.deb |
or
dpkg -i webots_7.0.2_amd64.deb |
1.2.2 Windows 7, Vista, XP
-
Uninstall any previous release of Webots from the Start menu, Control Panel, Add / Remove Programs. You may also use the Start menu, Cyberbotics, Uninstall Webots.
-
Get the webots-7.0.2_setup.exe installation file either from the Webots DVD (in the windows/webots folder) or from our web site.
-
Double click on this file.
-
Follow the installation instructions.
If you observe 3D rendering anomalies or Webots crashes, it is strongly recommend to upgrade your graphics driver. The safest way to update drivers is to uninstall the current drivers, reboot into VGA mode, install the new drivers, and reboot again.
1.2.3 Mac OS X
-
Get the webots-7.0.2.dmg installation file from the Webots DVD (in the mac/webots folder).
-
Double click on this file. This will mount on the desktop a volume named Webots containing the Webots folder.
-
Move this folder to your /Applications folder or wherever you would like to install Webots.
|
|