Install and Use pinfo for Colorful Info Pages on Linux and Unix
Learn how to install the pinfo tool across major Linux, BSD, and macOS distributions and use it to view Texinfo documentation with syntax‑highlighted colors, including command examples, navigation shortcuts, and alias configuration for a richer command‑line experience.
Install pinfo
You can install pinfo on various Linux and Unix‑like systems as follows:
Debian/Ubuntu : # apt-get install pinfo FreeBSD :
# cd /usr/ports/misc/pinfo && make install cleanor # sudo pkg install pinfo CentOS/RHEL 8.x and Fedora : # sudo dnf install pinfo Arch Linux : # sudo pacman -S pinfo OpenSUSE/SUSE Enterprise Linux : # sudo zypper in pinfo macOS (with Homebrew) :
# brew install pinfoHow to use the pinfo command
Syntax is simple: pinfo page pinfo command
To read a Bash info page with the standard info command: # info bash Then view the same page with color using pinfo:
# pinfo bashYou can create an alias so that info automatically invokes pinfo by adding the following line to your ~/.bashrc: alias info='pinfo' Navigation keys within pinfo:
N – go to the next page
P – go to the previous page
U – return to the last visited page
Press Enter on a cross‑reference (words starting with *) to follow the link
Q – quit
pinfoSummary
For users of Linux, FreeBSD, and other Unix‑like systems, pinfo provides a friendly, console‑based viewer for Texinfo documentation with color highlighting. It offers several options; see its manual page for more details.
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
MaGe Linux Operations
Founded in 2009, MaGe Education is a top Chinese high‑end IT training brand. Its graduates earn 12K+ RMB salaries, and the school has trained tens of thousands of students. It offers high‑pay courses in Linux cloud operations, Python full‑stack, automation, data analysis, AI, and Go high‑concurrency architecture. Thanks to quality courses and a solid reputation, it has talent partnerships with numerous internet firms.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
