Skip to content

Tmux AppImage releases. We release as soon as the official tmux gets updated, using GitHub Action.

Notifications You must be signed in to change notification settings

kiyoon/tmux-appimage

 
 

Repository files navigation

Tmux AppImage

build

One-liner to get the latest tmux.appimage build:

curl -s https://api.github.com/repos/kiyoon/tmux-appimage/releases/latest \
| grep "browser_download_url.*appimage" \
| cut -d : -f 2,3 \
| tr -d \" \
| wget -qi - \
&& chmod +x tmux.appimage

## optionaly, move it into your $PATH
mv tmux.appimage /usr/local/bin/tmux
tmux

Option 2: One-liner to locally-install the latest tmux

# It will install on ~/.local/bin/tmux
source <(curl -sS https://raw.githubusercontent.com/kiyoon/tmux-local-install/master/install.sh)

Fork notice

This fork utilises GitHub Action to detect, build and release the latest version of tmux as soon as they release.

What is this?

A Docker build of Tmux Appimage

Why use Docker?

The advantages of using docker:

  • Obtain consistent build results on any computer.
  • No need to install a slew of build packages on your own machine.
  • You can trust the tmux developers code, not some rando's AppImage distribution on the interwebz :p

Build it yourself from source code

I assume you have docker installed already.

#### clone me & change directory
git clone https://github.com/kiyoon/tmux-appimage.git
cd tmux-appimage

#### Set the desired tmux release tag and build
export TMUX_RELEASE_TAG=3.3a
docker build . -t tmux --build-arg TMUX_RELEASE_TAG=$TMUX_RELEASE_TAG 

#### extract the appimage file
docker create -ti --name tmuxcontainer tmux bash
docker cp tmuxcontainer:/opt/build/tmux.appimage .
docker rm -f tmuxcontainer

ls -al tmux.appimage

Where has the AppImage been tested to turn?

It has been tested on these fine Linux platforms and will likely work for anything newer than centos 6.9 (which is a few years old now.) Please file an issue if you find otherwise or need support on a different platform.

ubuntu 22.04
ubuntu 20.04
ubuntu 18.04
ubuntu 16.04
manjaro 19.02
centos 7
centos 8
fedora 33

The distributed build will not work on old os's (like Centos 6), since they have older glibc libraries. If you need it to work on those systems, try modifying the Dockerfile to use an older ubuntu as the base image and doing a docker build.

What is the sauce that makes this work?

The Dockerfile contains all the magic ingredients to compile tmux.

Huge thank you to https://github.com/michaellee8, whom taught me a lot about appimage builds with his code contributions.

About

Tmux AppImage releases. We release as soon as the official tmux gets updated, using GitHub Action.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dockerfile 34.8%
  • Shell 33.1%
  • HCL 32.1%