Wiki Markup |
---|
Composition Setup |
These instructions were lasted tested on Ubuntu 12.04
...
on
...
December
...
29th,
...
2012.
...
Undoubtedly,
...
they
...
will
...
become
...
outdated,
...
so
...
use
...
them
...
with
...
caution
...
after
...
the
...
course
...
ends.
...
Determine if you have 32 bit or 64 bit Ubuntu
From the terminal type uname -m
. If the output is i686
or i386
, you have a 32 bit operating system. If the output is x86_64
you have a 64 bit operating system.
Alternatively, with the mouse, open the program System Monitor (in 12.04 with Unity, open the dashboard and type System Monitor), go to the System Tab, and the bit value for the operating system will be in the first line.
If you are unsure of what version of Ubuntu you have, the information is displayed in the same location in the System Monitor. Alternatively, type lsb_release -a
into the terminal.
Excerpt Include | ||||||
---|---|---|---|---|---|---|
|
Get Java
You have a variety of installation options as explained here. I would recommend installing something through the terminal, as then you don't have to worry about bits and your java will automatically update through the package manager. Make sure you get the Java Development Kit (JDK) for Java 6 or greater.
Excerpt Include | ||||||
---|---|---|---|---|---|---|
|
Get Eclipse
You can install Eclipse 3.7 through the package manager with the command sudo apt-get install eclipse
. In the past, there have been some advantages to using Sun's version on java instead of OpenJDK. Instructions to how to configure eclipse to use a certain version of Java can be found here, as well as instructions on how to do a user installation (not through the package manager). Again this is not recommended.
Excerpt Include | ||||||
---|---|---|---|---|---|---|
|
Get Cplex
Excerpt Include | ||||||
---|---|---|---|---|---|---|
|
For 32 bit Ubuntu, also select
IBM ILOG CPLEX Optimization Studio V12.5 for Linux x86-32 Multilingual (CIC4KML)
For 64 bit Ubuntu, instead select
IBM ILOG CPLEX Optimization Studio V12.5 for Linux x86-64 Multilingual (CIC4LML)
Scroll to the bottom and accept the licence agreement, then hit download. A java applet will pop up to manage the download. If you get an error in the applet saying your java is out of date and a second pop up, hit OK until the second pop up goes away then it Run anyway on the applet. Again, if you can't get the applet to work, just select Http Transfer instead of Download Director as the Download Method. The download could take as long as half an hour.
When the download has finished, run the .bin file from the download. The Download Director will indicate the directory where the final was downloaded. On my machine, the default location (I used Chrome and did not use the Download Director) was
/Home/ross/Downloads/cplex_studio125.linux-x86-64.bin
...
To
...
run
...
the
...
file,
...
you
...
first
...
must
...
make
...
it
...
executable.
...
With
...
a
...
mouse
...
,
...
from
...
the
...
file
...
browser,
...
right
...
click
...
on
...
the
...
file,
...
click
...
Properties
...
,
...
click
...
the
...
Permissions
...
tab,
...
then
...
check
...
the
...
Executable
...
checkbox.
...
From
...
a
...
terminal
...
,
...
simply
...
go
...
to
...
the
...
directory
...
where
...
the
...
file
...
is
...
located,
...
then
...
type
...
chmod
...
a+x
...
cplex_studio125.linux-x86-64.bin
...
.
...
To
...
run
...
the
...
file,
...
from
...
a
...
terminal
...
in
...
the
...
directory
...
of
...
the
...
file,
...
type
...
sudo
...
./cplex_studio125.linux-x86-64.bin
...
.
...
Be
...
sure
...
to
...
run
...
as
...
root,
...
otherwise
...
you
...
will
...
not
...
have
...
permission
...
to
...
install
...
in
...
the
...
default
...
directory.
...
Note
...
the
...
directory
...
of
...
installation.
...
The
...
default
...
on
...
my
...
machine
...
was:
...
/opt/ibm/ILOG/CPLEX_Studio125
...