How to install for a normal user? - adjust/elastex GitHub Wiki
Of course as with Perl in general, TIMTOWDI, but these are the recommended steps to install elastex for your current user without needing superuser privileges.
On Mac OS X, the following two preparation steps are needed:
- install homebrew:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- install cpanm with homebrew:
brew install cpanm
From this point, these are the general installation steps:
- run
cpanm --local-lib=~/perl5 local::lib && eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib)
- add
eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib)
to your shell's automatically sourced file:
- detect your shell with:
echo $SHELL
, then:- if BASH:
echo "$(perl -I ~/perl5/lib/perl5/ -Mlocal::lib)" >> ~/.bashrc
- if ZSH:
echo "$(perl -I ~/perl5/lib/perl5/ -Mlocal::lib)" >> ~/.zshrc
- if BASH:
- install elastex and its dependencies:
cpanm https://github.com/adjust/elastex.git