Here's may find useful information:
=====================x8---------------------------------8x=============================
http://yysfire.github.io/linux/%E4%BB%8E%E6%BA%90%E4%BB%A3%E7%A0%81%E5%88%B6%E4%BD%9Cdeb%E5%8C%85%E7%9A%84%E4% B8%a4%e7%a7%8d%e6%96%b9%e6%b3%95%e4%bb%a5%e5%8f%8a%e4%bf%ae%e6%94%b9%e5%b7%b2%e6%9c%89deb%e5%8c%85.html
=====================x8---------------------------------8x=============================
But I recommend the package file like this:
For example.
Change directory to the source codes folder:
Then
[Email protected]/tmp/geos-3.4. 2 sudo checkinstall-d-install=no-pkgversion=3.4. 2 Make Install
There'll be a deb package here built in the folder.
It looks like
Deb packages download for ubuntu12.04 AMD64 server or DEBIAN6/7 AMD64 server
Geos_3.4.2-1_amd64.deb Http://pan.baidu.com/s/1c08JynAgdal_1.11.1-1_amd64.deb http://pan.baidu.com/s/ 1pj5fi1lpostgis_2.1.4-1_amd64.deb http://pan.baidu.com/s/1ntJWv6h
Make Deb for Debian/ubuntu, package software for Debian/ubuntu