Yes, libevent-dev installs libevent2. If you check what apt-get says when it installs it:
apt-get install libevent-dev Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: libevent-core-2.0-5 libevent-extra-2.0-5 libevent-openssl-2.0-5 libevent-pthreads-2.0-5 The following NEW packages will be installed: libevent-core-2.0-5 libevent-dev libevent-extra-2.0-5 libevent-openssl-2.0-5 libevent-pthreads-2.0-5
Pay attention to the version of libevent version 2.0.x.
source share