How To Install shapelib-tools on CentOS 8
Introduction
In this tutorial we learn how to install shapelib-tools
on CentOS 8.
What is shapelib-tools
This package contains various utility programs distributed with shapelib.
We can use yum
or dnf
to install shapelib-tools
on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install shapelib-tools.
Install shapelib-tools on CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install shapelib-tools
using dnf
by running the following command:
sudo dnf -y install shapelib-tools
Install shapelib-tools on CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install shapelib-tools
using yum
by running the following command:
sudo yum -y install shapelib-tools
How To Uninstall shapelib-tools on CentOS 8
To uninstall only the shapelib-tools
package we can use the following command:
sudo dnf remove shapelib-tools
shapelib-tools Package Contents on CentOS 8
/usr/bin/Shape_PointInPoly
/usr/bin/dbfadd
/usr/bin/dbfcat
/usr/bin/dbfcreate
/usr/bin/dbfdump
/usr/bin/dbfinfo
/usr/bin/shpadd
/usr/bin/shpcat
/usr/bin/shpcentrd
/usr/bin/shpcreate
/usr/bin/shpdata
/usr/bin/shpdump
/usr/bin/shpdxf
/usr/bin/shpfix
/usr/bin/shpinfo
/usr/bin/shprewind
/usr/bin/shpsort
/usr/bin/shptreedump
/usr/bin/shputils
/usr/bin/shpwkb
/usr/lib/.build-id
/usr/lib/.build-id/09
/usr/lib/.build-id/09/b8965fe046218b721192df01940feb09d3223a
/usr/lib/.build-id/18
/usr/lib/.build-id/18/b96977f985bbe75c4c6349e75346fd751f2d4a
/usr/lib/.build-id/56
/usr/lib/.build-id/56/d2b9711187d1ca85bbad041411bb4d2eb3b80f
/usr/lib/.build-id/5b
/usr/lib/.build-id/5b/b96327ec391b19e52dd74edcf406c51d989d22
/usr/lib/.build-id/6b
/usr/lib/.build-id/6b/06a8dfd5d92234c5cf9e68860b88cf0951edd8
/usr/lib/.build-id/6c
/usr/lib/.build-id/6c/1a6f74e026bbf6fff0872502a756005cbb11c8
/usr/lib/.build-id/7a
/usr/lib/.build-id/7a/b54acac8df9e14594d50154b4db145dd7e0049
/usr/lib/.build-id/83
/usr/lib/.build-id/83/6e50dcc6c2259f20b5535e23c0612507bde7d0
/usr/lib/.build-id/84
/usr/lib/.build-id/84/bffd98cbce6bdce9ebc5bc7f746f5df535ce16
/usr/lib/.build-id/97
/usr/lib/.build-id/97/e63b37564d753dcc6dff3d6de9b015025c601b
/usr/lib/.build-id/a8
/usr/lib/.build-id/a8/4e345287fa3572ba68b5e2e8b41af639b6b9f5
/usr/lib/.build-id/ad
/usr/lib/.build-id/ad/a73f24522cb23970d402e0df44267d398ee4ff
/usr/lib/.build-id/c2
/usr/lib/.build-id/c2/63c8daa4ba681ba5de67792593b1afc160a352
/usr/lib/.build-id/d8
/usr/lib/.build-id/d8/69bba43d34804aaefbf0a54f9f20666c981f41
/usr/lib/.build-id/e3
/usr/lib/.build-id/e3/a0857793ca793415d8533cebe59e94b15b9ba7
/usr/lib/.build-id/ea
/usr/lib/.build-id/ea/3ca5cdc7555aab818dc9e6cab63982a31136ec
/usr/lib/.build-id/ed
/usr/lib/.build-id/ed/f3bf1a0cceafdd740c698ecf1c9d22a60e2545
/usr/lib/.build-id/f5
/usr/lib/.build-id/f5/ceac6d2755002ddf7f93a530c14a7ab45fd50d
/usr/lib/.build-id/f5/d9b5e7e4eea07d94761de19ecae2f1e871d430
/usr/lib/.build-id/fc
/usr/lib/.build-id/fc/7c352f82ba76bf51606497f89be2ba1167fc0c
/usr/share/doc/shapelib-tools
/usr/share/doc/shapelib-tools/doc
/usr/share/doc/shapelib-tools/doc/Shape_PointInPoly_README.txt
/usr/share/doc/shapelib-tools/doc/shpsort.txt
/usr/share/man/man1/Shape_PointInPoly.1.gz
/usr/share/man/man1/dbfadd.1.gz
/usr/share/man/man1/dbfcat.1.gz
/usr/share/man/man1/dbfcreate.1.gz
/usr/share/man/man1/dbfdump.1.gz
/usr/share/man/man1/dbfinfo.1.gz
/usr/share/man/man1/shpadd.1.gz
/usr/share/man/man1/shpcat.1.gz
/usr/share/man/man1/shpcentrd.1.gz
/usr/share/man/man1/shpcreate.1.gz
/usr/share/man/man1/shpdata.1.gz
/usr/share/man/man1/shpdump.1.gz
/usr/share/man/man1/shpdxf.1.gz
/usr/share/man/man1/shpfix.1.gz
/usr/share/man/man1/shpinfo.1.gz
/usr/share/man/man1/shpproj.1.gz
/usr/share/man/man1/shprewind.1.gz
/usr/share/man/man1/shpsort.1.gz
/usr/share/man/man1/shptest.1.gz
/usr/share/man/man1/shptreedump.1.gz
/usr/share/man/man1/shputils.1.gz
/usr/share/man/man1/shpwkb.1.gz
References
Summary
In this tutorial we learn how to install shapelib-tools
on CentOS 8 using yum and dnf.