Please find pasted in below a short guide I have made for installing Groff
on an Arch Linux system. It deals with installing the URW fonts and also
getting the right packages installed for producing the documentation files.
After a fresh installation of an Arch system on my computer a couple of days
ago, I was faced with the problem of getting the URW fonts as well as
guessing what packages were needed for producing the documentation files and
so I thought that including the instructions below might be helpful to other
Arch users. If there is any interest in including it in one of the INSTALL.*
files, I think that maybe INSTALL.REPO file might be pertinent? Or perhaps
the file MORE.STUFF?
Other Arch users here might please try out the instructions to ascertain
their correctness.
Regards,
Morten
###### Install Groff from
source on Arch Linux ######
# First, install some needed packages (they may already be installed).
# texlive-latexextra pulls in the needed dependencies for creating
# documentation files
pacman -S base-devel git texlive-latexextra
# Get a tool to interact with the Arch User Repository (AUR), yay is good.
git clone https://aur.archlinux.org/yay.git
# Create and install the yay package.
cd yay
makepkg -si
# Install the gsfonts-type1 package from the AUR. It contains the 35 urw font
# metrics files which are installed in /usr/share/fonts/Type1/
yay -S gsfonts-type1
# In the groff source directory, run configure. The "--with-urw-fonts-dir=
.."
# argument is still needed.
./configure --with-urw-fonts-dir=/usr/share/fonts/Type1/
# Compile and install
make
make install