[[Property:title|FreeBSD]]
[[Property:weight|0]]
[[Property:uuid|b26ddd99-521b-6a10-79e6-e2a5d30f907c]]
==Requirements==
{| class="doctable"
|-
| '''Computer/Processor'''
| x86 or x86-64
|-
| '''Operating System'''
| FreeBSD 11 with GTK+ 2.4 or greater
|-
| '''C compiler'''
| gcc
|-
| '''Memory'''
| 4GB of RAM
|-
| '''Hard Disk'''
| 1GB of free space
|-
| '''ISE_PLATFORM'''
| '''freebsd-x86''' for x86 based CPU and '''freebsd-x86-64''' for x64 based CPU.
|}
==Checking your environment==
EiffelStudio requires GTK+ 2.4.0 or above to function properly. You can check that you have this installed correctly by typing the following command:
pkg-config --modversion gtk+-2.0
The command should succeed and the version number of GTK+ should appear. If it is not 2.4.0 or above then you cannot continue the installation of EiffelStudio. You first need to install GTK+ 2.4.0.
==Installing EiffelStudio from the Web==
After downloading the installation package, you should manually extract its contents to your hard drive. For example, you can extract it into /usr/local using the following commands (assuming that you have permission to /usr/local and that the installation package was saved in /tmp/EiffelXX.tar.bz2, where XX corresponds to the EiffelStudio version number):
cd /usr/local
tar xvfj /tmp/EiffelXX.tar.bz2
This will install EiffelStudio files into /usr/local/EiffelXX. Once this is done, jump to the [[#Setting up EiffelStudio|Setting up EiffelStudio]] section in order to complete the installation of EiffelStudio.
==Installing EiffelStudio from a CD-ROM==
Insert the CD into your CD-ROM drive. You should manually extract its contents to your hard drive. For example you can extract it in /usr/local using the following commands (assuming that you have permission to /usr/local and that the CD is mounted on /mnt/cdrom):
cd /usr/local
cp -r /mnt/cdrom/EiffelXX .
This will install the EiffelStudio files into /usr/local/EiffelXX. To complete the installation of EiffelStudio, jump to the next section, [[#Setting up EiffelStudio|Setting up EiffelStudio]].
==Setting up EiffelStudio==
Once the files have been installed, you should define the following environment variables in order to run EiffelStudio:
* '''ISE_EIFFEL''' to /usr/local/EiffelXX
* '''ISE_PLATFORM''' to freebsd-x86.
and add $'''ISE_EIFFEL'''/studio/spec/$'''ISE_PLATFORM'''/bin to your '''PATH''' environment variable.
Using sh or bash as a shell, it suffices to type the following commands:
export ISE_EIFFEL=/usr/local/EiffelXX
export ISE_PLATFORM=freebsd-x86
export PATH=$PATH:$ISE_EIFFEL/studio/spec/$ISE_PLATFORM/bin
Using csh or tcsh as a shell, it suffices to type the following commands:
setenv ISE_EIFFEL /usr/local/EiffelXX
setenv ISE_PLATFORM freebsd-x86
set path = ($path $ISE_EIFFEL/studio/spec/$ISE_PLATFORM/bin)
If you are using the Enterprise edition, please follow the instructions of the next section, [[#Registering the Enterprise Edition|Registering the Enterprise Edition]], otherwise jump to the [[#Using EiffelStudio|Using EiffelStudio]] section at the end of this document.
==Registering the Enterprise Edition==
This step assumes you have followed the instructions in the [[#Setting up EiffelStudio|Setting up EiffelStudio]] section. Perform the following commands to start the registration process:
cd $ISE_EIFFEL
./register
A dialog asking for your '''Username''' and '''CD Key''' should appear as it does below: