I want to install tmux 1.8 on my ubuntu 12.04 after
tar zxvf tmux-1.8.tar.gz
cd tmux_1.8
./configure
but here is some error infomation,
...
checking pkg-config is at least version 0.9.0... yes
checking for LIBEVENT... no
checking for library containing event_init... no
configure: error: "libevent not found"
mingchaoyan@mingchaoyan-VirtualBox:~/Downloads/tmux-1.8$ sudo apt-get install libevent
[sudo] password for mingchaoyan:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libevent
I try to apt-get install libevent, but fail. Can anyone help me how to solve this problem. It will be greatful if you explain why.