How to install libevent via aptitude?

17,585

Solution 1

Why don't you just build it on your own?

http://monkey.org/~provos/libevent-1.4.13-stable.tar.gz

Download it, then run the usual

./configure
make
sudo make install
ldconfig

Solution 2

sudo apt-get install libevent-dev

Will do it.

Share:
17,585

Related videos on Youtube

Alex
Author by

Alex

Updated on September 17, 2022

Comments

  • Alex
    Alex over 1 year

    It doesn't seem to work.

    aptitude install libevent1
    locate libevent
    
    /usr/share/doc/libevent1
    /usr/share/doc/libevent1/changelog.Debian.gz
    /usr/share/doc/libevent1/copyright
    /var/cache/apt/archives/libevent1_1.3e-3_amd64.deb
    /var/lib/dpkg/info/libevent1.list
    /var/lib/dpkg/info/libevent1.md5sums
    /var/lib/dpkg/info/libevent1.postinst
    /var/lib/dpkg/info/libevent1.postrm
    /var/lib/dpkg/info/libevent1.shlibs
    falcon@cache1:~/src/beanstalkd-1.4.3$ libevent1
    
    • Admin
      Admin over 14 years
      What's your question? If locate finds files of the package, then it is installed. Did you mean libevent-dev?
  • quack quixote
    quack quixote over 14 years
    much better to use the system-provided package manager when possible. installing it this way won't tell the package manager about it, so it won't handle dependent packages "correctly".