How To Install ttf2pt1 on CentOS 8

ttf2pt1 is TrueType to Adobe Type 1 font converter

Introduction

In this tutorial we learn how to install ttf2pt1 on CentOS 8.

What is ttf2pt1

Ttf2pt1 is a font converter from the True Type format (and some other formats supported by the FreeType library as well) to the Adobe Type1 format.

We can use yum or dnf to install ttf2pt1 on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install ttf2pt1.

Install ttf2pt1 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 ttf2pt1 using dnf by running the following command:

sudo dnf -y install ttf2pt1

Install ttf2pt1 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 ttf2pt1 using yum by running the following command:

sudo yum -y install ttf2pt1

How To Uninstall ttf2pt1 on CentOS 8

To uninstall only the ttf2pt1 package we can use the following command:

sudo dnf remove ttf2pt1

ttf2pt1 Package Contents on CentOS 8

/usr/bin/ttf2pt1
/usr/bin/ttf2pt1_cmpf
/usr/bin/ttf2pt1_cntstems
/usr/bin/ttf2pt1_convert
/usr/bin/ttf2pt1_dmpf
/usr/bin/ttf2pt1_lst
/usr/bin/ttf2pt1_showdf
/usr/bin/ttf2pt1_showg
/usr/bin/ttf2pt1_x2gs
/usr/lib/.build-id
/usr/lib/.build-id/5d
/usr/lib/.build-id/5d/8206637a00f77e40825f89ccbac005812ff426
/usr/lib/.build-id/8b
/usr/lib/.build-id/8b/43ecfa7bb55821113981a04a08b8848d2e69d3
/usr/lib/.build-id/fd
/usr/lib/.build-id/fd/e6a90b97b505ecab9c585c7e1533f5767eb588
/usr/share/doc/ttf2pt1
/usr/share/doc/ttf2pt1/CHANGES
/usr/share/doc/ttf2pt1/CHANGES.html
/usr/share/doc/ttf2pt1/COPYRIGHT
/usr/share/doc/ttf2pt1/FONTS
/usr/share/doc/ttf2pt1/FONTS.html
/usr/share/doc/ttf2pt1/README
/usr/share/doc/ttf2pt1/README.FIRST
/usr/share/doc/ttf2pt1/README.html
/usr/share/doc/ttf2pt1/TeX
/usr/share/doc/ttf2pt1/TeX/README
/usr/share/doc/ttf2pt1/TeX/README.html
/usr/share/doc/ttf2pt1/TeX/cjk-latex-config
/usr/share/doc/ttf2pt1/TeX/cjk-latex-t1mapgen
/usr/share/doc/ttf2pt1/TeX/sfd2map
/usr/share/doc/ttf2pt1/convert.cfg.sample
/usr/share/doc/ttf2pt1/other
/usr/share/doc/ttf2pt1/other/Makefile
/usr/share/doc/ttf2pt1/other/README
/usr/share/doc/ttf2pt1/other/README.html
/usr/share/doc/ttf2pt1/other/bz.c
/usr/share/doc/ttf2pt1/other/bzscreen.c
/usr/share/doc/ttf2pt1/other/bzscreen.h
/usr/share/man/man1/ttf2pt1.1.gz
/usr/share/man/man1/ttf2pt1_convert.1.gz
/usr/share/man/man1/ttf2pt1_x2gs.1.gz
/usr/share/ttf2pt1
/usr/share/ttf2pt1/encodings
/usr/share/ttf2pt1/encodings/README
/usr/share/ttf2pt1/encodings/README.html
/usr/share/ttf2pt1/encodings/adobestd
/usr/share/ttf2pt1/encodings/adobestd/adobe-std.tbl
/usr/share/ttf2pt1/encodings/bulgarian
/usr/share/ttf2pt1/encodings/bulgarian/README
/usr/share/ttf2pt1/encodings/bulgarian/encodings.alias
/usr/share/ttf2pt1/encodings/bulgarian/ibm-1251.tbl
/usr/share/ttf2pt1/encodings/bulgarian/ibm-866.tbl
/usr/share/ttf2pt1/encodings/bulgarian/iso8859-5.tbl
/usr/share/ttf2pt1/encodings/bulgarian/koi8-r.tbl
/usr/share/ttf2pt1/encodings/cyrillic
/usr/share/ttf2pt1/encodings/cyrillic/encodings.alias
/usr/share/ttf2pt1/encodings/cyrillic/ibm-1251.tbl
/usr/share/ttf2pt1/encodings/cyrillic/ibm-866.tbl
/usr/share/ttf2pt1/encodings/cyrillic/iso8859-5.tbl
/usr/share/ttf2pt1/encodings/cyrillic/koi8-r.tbl
/usr/share/ttf2pt1/encodings/latin1
/usr/share/ttf2pt1/encodings/latin1/iso8859-1.tbl
/usr/share/ttf2pt1/encodings/latin2
/usr/share/ttf2pt1/encodings/latin2/iso8859-2.tbl
/usr/share/ttf2pt1/encodings/latin4
/usr/share/ttf2pt1/encodings/latin4/iso8859-4
/usr/share/ttf2pt1/encodings/latin4/iso8859-4.tbl
/usr/share/ttf2pt1/encodings/latin5
/usr/share/ttf2pt1/encodings/latin5/iso8859-9
/usr/share/ttf2pt1/encodings/russian
/usr/share/ttf2pt1/encodings/russian/README
/usr/share/ttf2pt1/encodings/russian/encodings.alias
/usr/share/ttf2pt1/encodings/russian/ibm-1251.tbl
/usr/share/ttf2pt1/encodings/russian/ibm-866.tbl
/usr/share/ttf2pt1/encodings/russian/iso8859-5.tbl
/usr/share/ttf2pt1/encodings/russian/koi8-r.tbl
/usr/share/ttf2pt1/maps
/usr/share/ttf2pt1/maps/CP1250.map
/usr/share/ttf2pt1/maps/CP1251.map
/usr/share/ttf2pt1/maps/T2A_compact.map
/usr/share/ttf2pt1/maps/adobe-standard-encoding.map
/usr/share/ttf2pt1/maps/unicode-sample.map
/usr/share/ttf2pt1/scripts
/usr/share/ttf2pt1/scripts/forceiso
/usr/share/ttf2pt1/scripts/t1fdir
/usr/share/ttf2pt1/scripts/trans
/usr/share/ttf2pt1/scripts/x2gs

References

Summary

In this tutorial we learn how to install ttf2pt1 on CentOS 8 using yum and dnf.