Installation of <application><acronym>GPM</acronym></application> Download the patches for GPM from . Install GPM by running the following commands: patch -Np0 -i ../gpm-1.20.1-smooth-cursor.patch && patch -Np1 -i ../gpm-1.20.1-segfault.patch && patch -Np1 -i ../gpm-1.20.1-silent.patch && LDFLAGS="-lm" ./configure --prefix=/usr && make && make install Command explanations export LDFLAGS="-lm" : The math library must be linked with gpm, as ceil() is used in some cursor scrolling logic. LDFLAGS is only needed if you optimize gpm for size.