Let’s say you want to install TRENS version 1.14 on Win32:
unzip the file trens-1.14.zip
then, copy the resulting folder trens-1.14 inside the directory c:\erl5.9.1\lib
c:\> erl -noshell -eval 'io:format("~s~n", [trens:version()]), halt().'This command should print 1.14
You’re done!
This step is optional, only for Windows users.
$ escript ./trens_cmd.escript --help
$ ./trens_cmd.escript --help
c:\erl5.9.1\lib\trens-1.14> escript trens_cmd.escript bind_win
c:\> trens_cmd.escript --help
Let’s say you want to install the 64-bit TRENS version 1.14:
download the right TRENS version for your architecture (32/64-bit):
$ wget http://webarchivingbucket.com/trens/linux/64bit/trens-1.14.tgz
extract and copy the directory under /usr/local/lib/erlang/lib
$ su
# tar xzvf trens-1.14.tgz -C /usr/local/lib/erlang/lib
# exit
$ erl -noshell -eval 'io:format("~s~n", [trens:version()]), halt().'This command should print 1.14
Done!
Let’s say you want to install the 32-bit TRENS version 1.14:
download the right TRENS version your architecture (32/64-bit):
$ wget http://webarchivingbucket.com/trens/osx/32bit/trens-1.14.tgz
change to root, extract and copy the directory under /usr/local/lib/erlang/lib
$ su
# tar xzvf trens-1.14.tgz -C /usr/local/lib/erlang/lib
# exit
$ erl -noshell -eval 'io:format("~s~n", [trens:version()]), halt().'This command should print 1.14
Done!