- libevent libevent-devel libevent-headers
- curl
# remove old pkgs
################################################################################ | |
# Method 1: Install using rpm packages (credit to DarkMukke) | |
# | |
rpm -Uvh http://mirror.ghettoforge.org/distributions/gf/gf-release-latest.gf.el7.noarch.rpm | |
rpm --import http://mirror.ghettoforge.org/distributions/gf/RPM-GPG-KEY-gf.el7 | |
# WARNING: removing vim-minimal uninstalls `sudo` if you skip the second step | |
# make sure to at least run `yum install sudo` | |
yum -y remove vim-minimal vim-common vim-enhanced |
#include <stdio.h> | |
/* | |
* Author: Leslie Zhu | |
* Email: pythonisland@gmail.com | |
*/ | |
/* | |
* @num : the last num line of file to display | |
* @files: a file list |