apt-get install libevent ubuntu 20 code example Example: libevent ubuntu install sudo apt-get install libevent-dev