diff --git a/Divorce-Your-Linux-Admin.rst b/Divorce-Your-Linux-Admin.rst index f4b9bf7..e89f954 100644 --- a/Divorce-Your-Linux-Admin.rst +++ b/Divorce-Your-Linux-Admin.rst @@ -275,21 +275,18 @@ yum -y groupinstall "Development Tools" + 2) Now login or revert back to being an unprivileged user. Then:: git clone https://github.com/Linuxbrew/brew.git /opt/TundraWare/tools - 3) Update the path to search our new tools tree for things first. - It's a good idea to also put this into ``.bashrc`` and then copy it - to ``/shared`` for future use:: - - export PATH="/opt/TundraWare/tools/bin:/opt/TundraWare/tools/sbin:$PATH" + 3) Do *not* include the tools directories we're about to build in ``$PATH``. + We only want to use system tools in this phase of the build. 4) Now, bootstrap the environment using the native OS compiler tools:: - brew install git # This also conveniently installs gcc and the supporting cast - brew install make file-formula perl + brew install gcc git make file-formula 5) Tidy up:: @@ -317,19 +314,20 @@ tar -xzvf /shared/bootstrap-linuxbrew.tar.gz -C / - 3) Fixup the path as in step 3) above. + 3) Update the path to search our new tools tree for things first. + It's a good idea to also put this into ``.bashrc`` and then copy it + to ``/shared`` for future use:: + export PATH="/opt/TundraWare/tools/bin:/opt/TundraWare/tools/sbin:$PATH" 4) Now we can start installing our desired packages. Note that we are now using *the* ``linuxbrew`` *compiler chain*, NOT the system tools:: - brew install coreutils bash bc gnu-sed awk flex bison tree htop the_silver_searcher gnu-which less # also installs python2 + brew install perl python emacs joe htop nload nmap screen the_silver_searcher tree vim ln -s /opt/TundraWare/tools/bin/python2 /opt/TundraWare/tools/bin/python ln -s /opt/TundraWare/tools/bin/pip2 /opt/TundraWare/tools/bin/pip - brew install go screen tmux - brew install emacs joe vim - brew install nmap nload + pip install ansible pew pew[pythonz] -U --ignore-installed ... and so on. 5) Save the results::