Fully static build of tmux using libc-musl for Linux

Find a script that does the job here. It will download the source packages if they do not already exist and then unpack them into a subfolder of the current directory named tmux. Then it will one by one compile libc-musl, ncurses, libevent and tmux. Adjust the URLs at will once updates arrive.

One caveat exists, though: the ncurses library expects a terminfo database. This can be a problem for portability of the otherwise fully static binary.

// Oliver

This entry was posted in C/C++, EN, Linux, Programming, Unix and unixoid. Bookmark the permalink.

1 Response to Fully static build of tmux using libc-musl for Linux

  1. Javier Lopez says:

    You can also get a tmux static version with static-get

    sh <(wget -qO- s.minos.io/s) -x tmux

    [0] https://github.com/minos-org/minos-static

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.