News for hackers. Stuff that matters.
Re:tmux 1.8 Released by andyl on Friday March 29, 2013 @01:44PM (#5461916)
What is the simplest way to install tmux 1.8 on Ubuntu 12.04?? Running `sudo apt-get install tmux` puts tmux 1.6 on my system...
Re:tmux 1.8 Released by pkrumins on Friday March 29, 2013 @01:56PM (#5462001)

    pushd /tmp && \
    wget 'http://downloads.sourceforge.net/project/tmux/tmux/tmux-1.8/tmux-1.8.tar.gz?r=http%3A%2F%2Ftmux.sourceforge.net%2F&ts=1364579710&use_mirror=garr' && \
    gunzip < tmux-1.8.tar.gz | tar -vx && \
    cd tmux-1.8 && \
    ./configure --prefix=~/installs/tmux-1.8 && \
    mkdir ~/installs && \
    make && \
    make install && \
    popd
Re:tmux 1.8 Released by paulsmith on Friday March 29, 2013 @02:06PM (#5462061)
A simple `tar -xvf` can replace the separate `gunzip` and `tar` processes.
Re:tmux 1.8 Released by jlogsdon on Friday March 29, 2013 @04:51PM (#5462980)
You can bypass writing the archive to disk, as well:

    pushd /tmp && \
    curl 'http://downloads.sourceforge.net/project/tmux/tmux/tmux-1.8/tmux-1.8.tar.gz?r=http%3A%2F%2Ftmux.sourceforge.net%2F&ts=1364579710&use_mirror=garr'| tar xvf && \
    cd tmux-1.8 && \
    ./configure --prefix=~/installs/tmux-1.8 && \
    mkdir ~/installs && \
    make && \
    make install && \
    popd
Re:tmux 1.8 Released by pkrumins on Friday March 29, 2013 @02:22PM (#5462163)
Do you mean `tar -xzvf`?
Re:tmux 1.8 Released by atsaloli on Friday March 29, 2013 @02:26PM (#5462192)
Yes, formally. You don't have to specify -z in GNU tar today, you can just say -x and it'll add -z or -j for you -- it figures out on the fly if the archive's been compressed and how. Very convenient.
Re:tmux 1.8 Released by dminor on Friday March 29, 2013 @03:00PM (#5462396)
You can also leave off the dash: `tar xvf`
Re:tmux 1.8 Released by riquito on Friday March 29, 2013 @05:12PM (#5463063)
And you may skip verbose too: `tar xf`
Re:tmux 1.8 Released by platz on Friday March 29, 2013 @04:05PM (#5462747)
instead of make install, consider checkinstall or fpm so that you are properly integrated into ubuntu's native package manager (dpkg). Doing so will save you headaches when you want to uninstall tmux or upgrade later.
Re:tmux 1.8 Released by nixbun on Friday March 29, 2013 @02:10PM (#5462084)
Shouldn't you be using checkinstall instead of 'make install' to make removal of the package easier in the future?
Re:tmux 1.8 Released by pkrumins on Friday March 29, 2013 @02:22PM (#5462159)
Not if you do local installs. You can remove the package simply by:

    rm -rf ~/installs/tmux-1.8
Re:tmux 1.8 Released by andyl on Friday March 29, 2013 @02:58PM (#5462381)
thanks @pkrumins - the download/compile/install cycle took about 30 seconds - the compiled executable seems to work perfectly.
Re:tmux 1.8 Released by lclarkmichalek on Friday March 29, 2013 @01:53PM (#5461980)
Well the easiest way is either to wait for it to appear in the repos or wait for someone to package it and put it into a PPA. However, it doesn't have that many dependencies, so building it yourself is another not too stressful option.
Re:tmux 1.8 Released by micah94 on Friday March 29, 2013 @01:54PM (#5461985)
I wouldn't suggest a questionable .deb somewhere...so you best just download source and ./configure then make then make install as described in the README: http://sourceforge.net/p/tmux/tmux-code/ci/master/tree/READM....

You might need: 'apt-get install libevent-dev' as a prerequisite.

Re:tmux 1.8 Released by jlgreco on Friday March 29, 2013 @01:53PM (#5461979)
Until it is packaged, it is fairly easy to build yourself. You just need libevent and ncurses.
Re:tmux 1.8 Released by esamatti on Friday March 29, 2013 @02:19PM (#5462141)
Any PPAs?
Re:tmux 1.8 Released by stevekemp on Friday March 29, 2013 @02:42PM (#5462275)
I continue to be amazed by the people who install "random binaries" via PPA.

I guess I assume that if you want cutting-edge packages you'll use a cutting-edge release/distribution. If you don't, and you want something more recent then it seems to make sense to make your own packages, or install locally via gnu-stow, or similar.

Re:tmux 1.8 Released by foobarqux on Sunday March 31, 2013 @11:35AM (#5468918)
Debian/Ubuntu packaging is far too difficult and thus creates bad incentives for people to install software from untrusted sources.