Ubuntu安装libevent
2018-10-25 本文已影响0人
handle_d717
使用git下载 git clone https://github.com/libevent/libevent.git
sudo apt-get install cmake
sudo apt install libssl-dev
创建存放位置文件夹 mkdir build && cd build
cmake ..
make
make verify[optional]
sudo make install
在/usr/local/lib和/usr/local/include找到安装的库,成功