How To Install ptex on Fedora 34

ptex is Per-Face Texture Mapping for Production Rendering

Introduction

In this tutorial we learn how to install ptex on Fedora 34.

What is ptex

Ptex is a texture mapping system developed by Walt Disney Animation Studios for production-quality rendering.

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

Install ptex on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install ptex

Install ptex on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install ptex using yum by running the following command:

sudo yum -y install ptex

How To Uninstall ptex on Fedora 34

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

sudo dnf remove ptex

ptex Package Contents on Fedora 34

/usr/bin/ptxinfo
/usr/lib/.build-id
/usr/lib/.build-id/19
/usr/lib/.build-id/19/dd7af3946ae040f9276c4e42dc1369751b7d82
/usr/share/cmake/Ptex
/usr/share/cmake/Ptex/ptex-config.cmake
/usr/share/cmake/Ptex/ptex-exports-release.cmake
/usr/share/cmake/Ptex/ptex-exports.cmake
/usr/share/cmake/Ptex/ptex-version.cmake
/usr/share/doc/ptex
/usr/share/doc/ptex/README
/usr/share/licenses/ptex
/usr/share/licenses/ptex/License.txt
/usr/bin/ptxinfo
/usr/lib/.build-id
/usr/lib/.build-id/3e
/usr/lib/.build-id/3e/fd00215084f6e43ca97ad20944d3378aaf06d7
/usr/share/cmake/Ptex
/usr/share/cmake/Ptex/ptex-config.cmake
/usr/share/cmake/Ptex/ptex-exports-release.cmake
/usr/share/cmake/Ptex/ptex-exports.cmake
/usr/share/cmake/Ptex/ptex-version.cmake
/usr/share/doc/ptex
/usr/share/doc/ptex/README
/usr/share/licenses/ptex
/usr/share/licenses/ptex/LICENSE

References

Summary

In this tutorial we learn how to install ptex on Fedora 34 using yum and dnf.