cd /home/tc/Downloads wget https://github.com/jarun/nnn/releases/download/v3.3/nnn-v3.3.tar.gz mkdir nnn3.3 tar zxf nnn-v3.3.tar.gz -C nnn3.3 cd nnn3.3 CC="gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe" \ CXX="g++ -flto -fuse-linker-plugin -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" \ make touch mymarker sudo make install sudo find / -not -type 'd' -cnewer mymarker | grep -v "\/proc\/" | grep -v "^\/sys\/" | tee files editor files (remove unneeded) sudo tar -T files --numeric-owner -zcvf nnn.tce mkdir nnn tar zxf nnn.tce -C nnn sudo mksquashfs nnn nnn.tcz sudo mv nnn.tcz /home/tc/