diff --git a/Divorce-Your-Linux-Admin.rst b/Divorce-Your-Linux-Admin.rst index 6afdc90..a20eb4b 100644 --- a/Divorce-Your-Linux-Admin.rst +++ b/Divorce-Your-Linux-Admin.rst @@ -110,7 +110,7 @@ themselves having embedded assumptions about where they can find tools during the compilation phase. That's right, the *source code and configurations* have hardwired assumptions about where they would find -things like ``perl`` and ``make``. +things like ``perl``. At this point, the whole process had taken me a few dozen hours and I was sufficiently enraged that I just *had* to figure out. As we'll @@ -173,10 +173,10 @@ of the installations from there. It's "almost" because - due to the aforementioned dain bramaged - open source packages, You *have* to have the OS copies of - ``autoconfig``, ``automake``, ``perl``, and ``make`` installed on - your build machine. These open source packages just *insist* that - ``perl`` is always to be found under ``/usr/bin``, for example. + open source packages, For example, you *have* to have the OS copy + of ``perl`` installed on your build machine. Many open source + packages just *insist* that ``perl`` is always to be found under + ``/usr/bin``. 4) When you're all done installing and configuring your ``linuxbrew`` environment, you just ``tar`` it off somewhere @@ -279,9 +279,16 @@ 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 + brew install make file-formula perl - 5) Save the result:: + 5) Tidy up:: + + brew config # Check the environment + brew prune # Tidy up from the bootstrap build + brew cleanup # Get rid of old build artifacts + brew doctor # Check to make sure things look OK + + 6) Save the result:: tar -czvf /shared/bootstrap-linuxbrew.tar.gz /opt/TundraWare/tools @@ -292,7 +299,7 @@ the minimal set of tools required to accommodate the previously described package build silliness:: - yum -y install perl autoconf automake make + yum -y install perl *Make sure the native development tools are NOT otherwise installed in this instance.* @@ -300,18 +307,10 @@ tar -xzvf /shared/bootstrap-linuxbrew.tar.gz -C / - 3) Fixup the path as in step 3) above. - 4) Do some housekeeping:: - - brew config # Check the environment - brew prune # Tidy up from the bootstrap build - brew cleanup # Get rid of old build artifacts - brew doctor # Check to make sure things look OK - - 5) Now we can start installing our desired packages. Note that + 4) Now we can start installing our desired packages. Note that we are now using *the* ``linuxbrew`` *compiler chain*, NOT the system tools:: @@ -324,7 +323,7 @@ brew install nmap nload ... and so on. - 6) Save the results:: + 5) Save the results:: tar -czvf /shared/full-linuxbrew.tar.gz /opt/TundraWare/tools