How To Install fmt-ptrn on Fedora 36

In this tutorial we learn how to install fmt-ptrn in Fedora 36. fmt-ptrn is A simple template system

Introduction

In this tutorial we learn how to install fmt-ptrn on Fedora 36.

What is fmt-ptrn

New is a template system, especially useful in conjunction with a simple text editor such as vi. The user maintains templates which may contain format strings. At run time, nf replaces the format strings in a template with appropriate values to create a new file. For example, given the following template // FILE // AUTHOR // DATE // Copyright (C) 1999 %(FULLNAME) %(EMAIL) // All rights reserved. nf will create // FILE // AUTHOR // DATE // Copyright (C) 1999 W. Michael Petullo [email protected] // All rights reserved. on my computer. The program understands plaintext or gziped template files. The fmt-ptrn system also provides a shared library which allows a programmer access to nf’s functionality. The system was developed to be light and fast. Its only external dependencies are the C library, glib2 and zlib.

We can use yum or dnf to install fmt-ptrn on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install fmt-ptrn.

Install fmt-ptrn on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install fmt-ptrn using dnf by running the following command:

sudo dnf -y install fmt-ptrn

Install fmt-ptrn on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install fmt-ptrn using yum by running the following command:

sudo yum -y install fmt-ptrn

How To Uninstall fmt-ptrn on Fedora 36

To uninstall only the fmt-ptrn package we can use the following command:

sudo dnf remove fmt-ptrn

fmt-ptrn Package Contents on Fedora 36

/usr/bin/nf
/usr/bin/np
/usr/lib/.build-id
/usr/lib/.build-id/25
/usr/lib/.build-id/25/bac5906b439306bf98bcf1f92c65ee6356b9b7
/usr/lib/.build-id/98
/usr/lib/.build-id/98/eb42ef10a8aa149f6fc70440a5962812db00c2
/usr/lib/.build-id/a8
/usr/lib/.build-id/a8/f3d07e452af3ac23cea89fcdf546a32f323755
/usr/lib/.build-id/e8
/usr/lib/.build-id/e8/6861aba5a2cfd3c430971364740664cbaeb093
/usr/lib/libnewfmt-ptrn.so.1
/usr/lib/libnewfmt-ptrn.so.1.3.22
/usr/lib/libnewtemplate.so.1
/usr/lib/libnewtemplate.so.1.3.22
/usr/share/doc/fmt-ptrn
/usr/share/doc/fmt-ptrn/AUTHORS
/usr/share/doc/fmt-ptrn/COPYING
/usr/share/doc/fmt-ptrn/ChangeLog
/usr/share/doc/fmt-ptrn/FAQ
/usr/share/doc/fmt-ptrn/INSTALL
/usr/share/doc/fmt-ptrn/NEWS
/usr/share/doc/fmt-ptrn/README
/usr/share/fmt-ptrn
/usr/share/fmt-ptrn/templates
/usr/share/fmt-ptrn/templates/AUTHORS
/usr/share/fmt-ptrn/templates/AUTHORS/default
/usr/share/fmt-ptrn/templates/COPYING
/usr/share/fmt-ptrn/templates/COPYING/default
/usr/share/fmt-ptrn/templates/ChangeLog
/usr/share/fmt-ptrn/templates/ChangeLog/default
/usr/share/fmt-ptrn/templates/INSTALL
/usr/share/fmt-ptrn/templates/INSTALL/default
/usr/share/fmt-ptrn/templates/NEWS
/usr/share/fmt-ptrn/templates/NEWS/default
/usr/share/fmt-ptrn/templates/README
/usr/share/fmt-ptrn/templates/README/default
/usr/share/fmt-ptrn/templates/c
/usr/share/fmt-ptrn/templates/c/default
/usr/share/fmt-ptrn/templates/c/gnome_applet
/usr/share/fmt-ptrn/templates/c/lib
/usr/share/fmt-ptrn/templates/cld
/usr/share/fmt-ptrn/templates/cld/default
/usr/share/fmt-ptrn/templates/cpp
/usr/share/fmt-ptrn/templates/cpp/default
/usr/share/fmt-ptrn/templates/h
/usr/share/fmt-ptrn/templates/h/default
/usr/share/fmt-ptrn/templates/h/lib
/usr/share/fmt-ptrn/templates/header_doc
/usr/share/fmt-ptrn/templates/header_gpl
/usr/share/fmt-ptrn/templates/html
/usr/share/fmt-ptrn/templates/html/default
/usr/share/fmt-ptrn/templates/html/slide
/usr/share/fmt-ptrn/templates/inv
/usr/share/fmt-ptrn/templates/inv/default
/usr/share/fmt-ptrn/templates/java
/usr/share/fmt-ptrn/templates/java/default
/usr/share/fmt-ptrn/templates/lsp
/usr/share/fmt-ptrn/templates/lsp/default
/usr/share/fmt-ptrn/templates/missing
/usr/share/fmt-ptrn/templates/missing/default
/usr/share/fmt-ptrn/templates/pl
/usr/share/fmt-ptrn/templates/pl/default
/usr/share/fmt-ptrn/templates/py
/usr/share/fmt-ptrn/templates/py/default
/usr/share/fmt-ptrn/templates/scm
/usr/share/fmt-ptrn/templates/scm/default
/usr/share/fmt-ptrn/templates/sh
/usr/share/fmt-ptrn/templates/sh/default
/usr/share/fmt-ptrn/templates/tex
/usr/share/fmt-ptrn/templates/tex/default
/usr/share/fmt-ptrn/templates/tex/homework
/usr/share/fmt-ptrn/templates/tex/jewel_map
/usr/share/fmt-ptrn/templates/tex/letter
/usr/share/fmt-ptrn/templates/tex/resume
/usr/share/fmt-ptrn/templates/tex/slideshow
/usr/share/fmt-ptrn/templates/txt
/usr/share/fmt-ptrn/templates/txt/default
/usr/share/fmt-ptrn/templates/xml
/usr/share/fmt-ptrn/templates/xml/dbarticle
/usr/share/man/man1/nf.1.gz
/usr/share/man/man1/np.1.gz

References

Summary

In this tutorial we learn how to install fmt-ptrn on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).


title: “How To Install fmt-ptrn on Fedora 36” linkTitle: “fmt-ptrn” type: “docs” description: “In this tutorial we learn how to install fmt-ptrn in Fedora 36. fmt-ptrn is A simple template system” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/fmt-ptrn-featured.png

Introduction

In this tutorial we learn how to install fmt-ptrn on Fedora 36.

What is fmt-ptrn

New is a template system, especially useful in conjunction with a simple text editor such as vi. The user maintains templates which may contain format strings. At run time, nf replaces the format strings in a template with appropriate values to create a new file. For example, given the following template // FILE // AUTHOR // DATE // Copyright (C) 1999 %(FULLNAME) %(EMAIL) // All rights reserved. nf will create // FILE // AUTHOR // DATE // Copyright (C) 1999 W. Michael Petullo [email protected] // All rights reserved. on my computer. The program understands plaintext or gziped template files. The fmt-ptrn system also provides a shared library which allows a programmer access to nf’s functionality. The system was developed to be light and fast. Its only external dependencies are the C library, glib2 and zlib.

We can use yum or dnf to install fmt-ptrn on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install fmt-ptrn.

Install fmt-ptrn on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install fmt-ptrn using dnf by running the following command:

sudo dnf -y install fmt-ptrn

Install fmt-ptrn on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install fmt-ptrn using yum by running the following command:

sudo yum -y install fmt-ptrn

How To Uninstall fmt-ptrn on Fedora 36

To uninstall only the fmt-ptrn package we can use the following command:

sudo dnf remove fmt-ptrn

fmt-ptrn Package Contents on Fedora 36

/usr/bin/nf
/usr/bin/np
/usr/lib/.build-id
/usr/lib/.build-id/0c
/usr/lib/.build-id/0c/499d63c1a70e5abeec185a645bc3313596247e
/usr/lib/.build-id/6f
/usr/lib/.build-id/6f/ca8c4dd9bb7813d2634a4a91d6c04396a221fc
/usr/lib/.build-id/9c
/usr/lib/.build-id/9c/654933f6a400dab2e7545ca34446c976fa3019
/usr/lib/.build-id/ab
/usr/lib/.build-id/ab/28eade109802c55c5f4e55e61f4fc3609a8622
/usr/lib64/libnewfmt-ptrn.so.1
/usr/lib64/libnewfmt-ptrn.so.1.3.22
/usr/lib64/libnewtemplate.so.1
/usr/lib64/libnewtemplate.so.1.3.22
/usr/share/doc/fmt-ptrn
/usr/share/doc/fmt-ptrn/AUTHORS
/usr/share/doc/fmt-ptrn/COPYING
/usr/share/doc/fmt-ptrn/ChangeLog
/usr/share/doc/fmt-ptrn/FAQ
/usr/share/doc/fmt-ptrn/INSTALL
/usr/share/doc/fmt-ptrn/NEWS
/usr/share/doc/fmt-ptrn/README
/usr/share/fmt-ptrn
/usr/share/fmt-ptrn/templates
/usr/share/fmt-ptrn/templates/AUTHORS
/usr/share/fmt-ptrn/templates/AUTHORS/default
/usr/share/fmt-ptrn/templates/COPYING
/usr/share/fmt-ptrn/templates/COPYING/default
/usr/share/fmt-ptrn/templates/ChangeLog
/usr/share/fmt-ptrn/templates/ChangeLog/default
/usr/share/fmt-ptrn/templates/INSTALL
/usr/share/fmt-ptrn/templates/INSTALL/default
/usr/share/fmt-ptrn/templates/NEWS
/usr/share/fmt-ptrn/templates/NEWS/default
/usr/share/fmt-ptrn/templates/README
/usr/share/fmt-ptrn/templates/README/default
/usr/share/fmt-ptrn/templates/c
/usr/share/fmt-ptrn/templates/c/default
/usr/share/fmt-ptrn/templates/c/gnome_applet
/usr/share/fmt-ptrn/templates/c/lib
/usr/share/fmt-ptrn/templates/cld
/usr/share/fmt-ptrn/templates/cld/default
/usr/share/fmt-ptrn/templates/cpp
/usr/share/fmt-ptrn/templates/cpp/default
/usr/share/fmt-ptrn/templates/h
/usr/share/fmt-ptrn/templates/h/default
/usr/share/fmt-ptrn/templates/h/lib
/usr/share/fmt-ptrn/templates/header_doc
/usr/share/fmt-ptrn/templates/header_gpl
/usr/share/fmt-ptrn/templates/html
/usr/share/fmt-ptrn/templates/html/default
/usr/share/fmt-ptrn/templates/html/slide
/usr/share/fmt-ptrn/templates/inv
/usr/share/fmt-ptrn/templates/inv/default
/usr/share/fmt-ptrn/templates/java
/usr/share/fmt-ptrn/templates/java/default
/usr/share/fmt-ptrn/templates/lsp
/usr/share/fmt-ptrn/templates/lsp/default
/usr/share/fmt-ptrn/templates/missing
/usr/share/fmt-ptrn/templates/missing/default
/usr/share/fmt-ptrn/templates/pl
/usr/share/fmt-ptrn/templates/pl/default
/usr/share/fmt-ptrn/templates/py
/usr/share/fmt-ptrn/templates/py/default
/usr/share/fmt-ptrn/templates/scm
/usr/share/fmt-ptrn/templates/scm/default
/usr/share/fmt-ptrn/templates/sh
/usr/share/fmt-ptrn/templates/sh/default
/usr/share/fmt-ptrn/templates/tex
/usr/share/fmt-ptrn/templates/tex/default
/usr/share/fmt-ptrn/templates/tex/homework
/usr/share/fmt-ptrn/templates/tex/jewel_map
/usr/share/fmt-ptrn/templates/tex/letter
/usr/share/fmt-ptrn/templates/tex/resume
/usr/share/fmt-ptrn/templates/tex/slideshow
/usr/share/fmt-ptrn/templates/txt
/usr/share/fmt-ptrn/templates/txt/default
/usr/share/fmt-ptrn/templates/xml
/usr/share/fmt-ptrn/templates/xml/dbarticle
/usr/share/man/man1/nf.1.gz
/usr/share/man/man1/np.1.gz

References

Summary

In this tutorial we learn how to install fmt-ptrn on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).