PHASE_MESSAGE="installing perl file and diff modules"
-# ubuntu or debian or other apt-based OSes...
if whichable apt; then
+ # ubuntu or debian or other apt-based OSes...
sudo apt install libfile-which-perl libtext-diff-perl
exit_on_error $PHASE_MESSAGE
-# rpm based with yum available...
elif whichable yum; then
+ # rpm based with yum available...
sudo yum install perl-File-Which perl-Text-Diff
exit_on_error $PHASE_MESSAGE
-# macos based...
elif [ ! -z "$IS_DARWIN" ]; then
-
-#hmmm: not quite right yet...
- brew install blah blah? lots?
+ # macos based...
+ brew install dos2unix openssl
exit_on_error $PHASE_MESSAGE
-
-# windows-based with cygwin (or we'll fail out).
elif [ "$OS" == "Windows_NT" ]; then
+ # windows-based with cygwin (or we'll fail out).
#hmmm: install apt-cyg!
# we need this to do the following step, so why not automate that?
PHASE_MESSAGE="installing code builder packages"
-# ubuntu or debian or other apt-based OSes...
if whichable apt; then
- sudo apt install build-essential librtmp-dev libcurl4-gnutls-dev libssl-dev
+ # ubuntu or debian or other apt-based OSes...
+ sudo apt install mawk build-essential librtmp-dev libcurl4-gnutls-dev libssl-dev
exit_on_error $PHASE_MESSAGE
-# rpm based with yum available...
elif whichable yum; then
- sudo yum install gcc gcc-c++ openssl-devel.x86_64 curl-devel
+ # rpm based with yum available...
+ sudo yum install mawk gcc gcc-c++ openssl-devel.x86_64 curl-devel
exit_on_error $PHASE_MESSAGE
-# macos based...
elif [ ! -z "$IS_DARWIN" ]; then
-
-#hmmm: not quite right yet...
- brew install blork blork? lots?
+ # macos based...
+#hmmm: still working on these...
+ brew install mawk gpg meld openjdk
exit_on_error $PHASE_MESSAGE
-
-# windows-based with cygwin (or we'll fail out).
elif [ "$OS" == "Windows_NT" ]; then
+ # windows-based with cygwin (or we'll fail out).
+echo need to fix apt cyg install list.
#hmmm: unknown list needed still...
- apt-cyg install fugazi combustinatorinibasil scampnific
+# actually it's not unknown; it's in our docs as a separate file for cygwin.
+# plug those packages into here please.
+ apt-cyg install mawk
exit_on_error $PHASE_MESSAGE
fi