Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top


  • linux novice :)
  • tmux 1.1 was installed using apt-get
  • tmux 1.6 was downloaded, configured, built, and installed from source
  • tmux 1.1 was removed using apt-get


  • running tmux from path tries to run it from /usr/bin instead of /usr/local/bin


    tar xvf tmux-1.6.tar.gz
    cd tmux-1.6/
    sudo apt-get install libevent-dev
    sudo apt-get install libncurses5-dev
    make install
    ./tmux #version 1.6 worked perfectly
    cd ~
    tmux #ran old version as expected
    sudo apt-get remove tmux

results when I try to run it from ~:

    -bash: /usr/bin/tmux: No such file or directory
    ~$which tmux
    ~$echo $PATH
share|improve this question
What do you get with type -a tmux -- there might be an alias. – glenn jackman Apr 4 '12 at 18:35
up vote 6 down vote accepted

Try hash -r to flush the bash cache.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.