xfd command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
xfd: command not found
or when using sudo you get the following error message
sudo: xfd: command not found
Solutions to xfd: command not found
How To Fix xfd: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu xfd is provided by x11-utils package.
x11-utils is:
An X client is a program that interfaces with an X server (almost always via the X libraries), and thus with some input and output hardware like a graphics card, monitor, keyboard, and pointing device (such as a mouse).
This package provides a miscellaneous assortment of X utilities that ship with the X Window System, including:
- appres, editres, listres and viewres, which query the X resource database;
- luit, a filter that can be run between an arbitrary application and a UTF-8 terminal emulator;
- xdpyinfo, a display information utility for X;
- xdriinfo, query configuration information of DRI drivers;
- xev, an X event displayer;
- xfd, a tool that displays all the glyphs in a given X font;
- xfontsel, a tool for browsing and selecting X fonts;
- xkill, a tool for terminating misbehaving X clients;
- xlsatoms, which lists interned atoms defined on an X server;
- xlsclients, which lists client applications running on an X display;
- xlsfonts, a server font list displayer;
- xmessage, a tool to display message or dialog boxes;
- xprop, a property displayer for X;
- xvinfo, an Xv extension information utility for X;
- xwininfo, a window information utility for X;
The editres and viewres programs use bitmap images provided by the xbitmaps package. The luit program requires locale information from the libx11-data package.
To fix this problem, we can install more using the command below.
sudo apt-get -y install x11-utils
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install x11-utils.
sudo apt -y install x11-utils
Or if you have aptitude installed you can use the following command.
sudo aptitude install x11-utils
Summary
In this tutorial we learn how to fix xfd command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.