https://github.com/kilobyte/colorized-logs tools for logs with ANSI color Development dependencies: tce-load -i compiletc cmake bash yasm gettext-dev coreutils groff git clone https://github.com/kilobyte/colorized-logs.git this is a cmake project mkdir build && cd build cmake .. -LAH # review the _INSTALL_ DIRs rm -f CMakeCache.txt # as needed to completely rebuild the CMAke cache cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local/ \ -DCMAKE_INSTALL_LIBDIR=lib \ -DCMAKE_BUILD_TYPE=Release \ -DBUILD_TESTING=OFF \ -Wno-dev \ -DCMAKE_C_FLAGS_RELEASE="-flto -mtune=generic -Os -pipe" \ -DCMAKE_CXX_FLAGS_RELEASE="-flto -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" # I tried but didn't compile with -DCMAKE_CXX_FLAGS_RELEASE="-flto -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" cmake --build . -- help cmake --build . -- -B install/strip DESTDIR=/tmp/my_colorized-logs br (or tree) /tmp/my_colorized-logs/ # confirm no usage of lib64 ag lib64 /tmp/my_colorized-logs # confirm no usage of lib64 test with base norestore Runtime dependencies: colorized-logs.tcz.dep ???? find ./squashfs-root -exec touch -m --reference=./squashfs-root/usr/local/bin/ansi2html {} + mksquashfs ./squashfs-root ./colorized-logs.tcz -noappend -no-xattrs submitqc --color --libs --fix --strip ./colorized-logs.tcz # get the extension files dates the same as tcz for file in colorized-logs.tcz; do touch --no-create --reference=./squashfs-root/usr/local/bin/ansi2html $file; done for file in colorized-logs.tcz.*; do touch --no-create --reference=colorized-logs.tcz $file; done # set the permissions for file in colorized-logs.*; do chmod 666 $file; done #tar all necessary and optional files, example: tar cvzf ./colorized-logs.tar.gz ./colorized-logs/ save this file with name compile_colorized-logs