ctioga2
installation instructionsBefore installing ctioga2
proper, you need to install
After installing that, you probably need to reboot, then open a
windows terminal (Start → Run then cmd.exe
) and type in:
gem install ctioga2
If gem
complains that you didn’t install the developer kit while you
are positive that you’ve unpacked the developer kit where you should,
you can work around that problem by doing:
cd C:\Ruby193 devkitvars gem install ctioga2
Where we assumed that ruby was installed into the C:\Ruby193
directory. You will also have to do that for upgrading.
Alternatively, you can look at the proper installation instructions for the developer kit there.
Then, to make your life easier, it is recommanded to install the
following registry file that sets up the correct file
associations. In particular, if you now right-click on a .ct2
file,
you’ll have a “Compile to PDF” action available (as the default).
In principle, MacOS comes with a version of Ruby bundled in that
should be enough for running ctioga2
. Make sure you have a LaTeX
distribution installed, if not, install
MacTeX. Then, open up a terminal, and run
gem install ctioga2
You may not have the necessary right to do that, in which case you’ll have to run
sudo gem install ctioga2
And that’s it. Running ctioga2
from the terminal should be
painless. (there are no file associations at the moment).
For Debian-based distros, just run
apt-get install ctioga2
Make sure you have a TeXlive distribution and Ruby installed on your computer, then run
gem install ctioga2
Download the latest tarball of ctioga2
at the
download page, and extract
it this way:
tar xvjf ctioga2-0.14.tar.bz2
Then cd
to the directory created. ctioga2
uses
setup.rb
for handling its installation. To install for all users, run as root:
ruby setup.rb
Just get the repository at sourceforge:
git clone git://git.code.sf.net/p/ctioga2/code ctioga2
And then, install as above for the download from sources.
Alternatively, you can use the github mirror:
git clone git://github.com/fourmond/ctioga2.git
For those who installed using gem
(Windows, MacOS), the easiest way
to upgrade to the lastest ctioga2
release is to run:
gem update ctioga2
For the rest, you just install the newer version as if no previous version was installed.