Install fontconfig on Ubuntu: sudo apt-get install fontconfig

Learn how to install fontconfig with the command sudo apt-get install fontconfig on Ubuntus.


 

Ads

Quick installation of fontconfig:

Step 1: Update system:

	sudo apt-get update

Step 2: Install: fontconfig

Ater updaing the OS run following command to install the packae:

	sudo apt-get install fontconfig

Package Details

Package:fontconfig
Version:2.8.0-3ubuntu9.2
Maintainer:Ubuntu Developers
Home page:
Description:generic font configuration library - support binaries Fontconfig is a font configuration and customization library, which does not depend on the X Window System. It is designed to locate fonts within the system and select them according to requirements specified by applications. . Fontconfig is not a rasterization library, nor does it impose a particular rasterization library on the application. The X-specific library 'Xft' uses fontconfig along with freetype to specify and rasterize fonts. . This package contains a program to maintain the fontconfig cache (fc-cache), a sample program to list installed fonts (fc-list), a program to test the matching rules (fc-match) and a program to dump the binary cache files in string form (fc-cat). It no longer makes fonts managed by defoma available to fontconfig applications. Multi-Arch: foreign
Distro:Ubuntu 12.04 LTS
Release:
Repo/Section:utils

How to install fontconfig on Ubuntu 12.04 LTS?

Install fontconfig on Ubuntu: sudo apt-get install fontconfig

First of all update your system with the command:

sudo apt-get update

Ads

Above command will download the package lists for Ubuntu 12.04 LTS on your system. This will update the list of newest versions of packages and its dependencies on your system.

After downloading the latest package list with the help of above you can run the installation process.

If fontconfig is not installed on your compter then the command 'dpkg -L fontconfig' will give followin error.


Installing fontconfig:

After system update use the following command to install fontconfig:

sudo apt-get install fontconfig

Above command will confirm before installing the package on your Ubuntu 12.04 LTS Operating System. If you are not already logged in as su, installer will ask you the root password. After completion of the installation you can use the package on your system.

How to uninstall/remove fontconfig from Ubuntu 12.04 LTS?

Now we will see the commands for uninstalling the fontconfig from Ubuntu 12.04 LTS. For uninstalling this package you can easily use the apt command and remove the package from Linux Operating System.

To remove the fontconfig following command is used:

sudo apt-get remove  fontconfig

Following command is used to remove the fontconfig package along with its dependencies:

sudo apt-get remove --auto-remove fontconfig

This will remove fontconfig and all its dependent packages which is no longer needed in the system.

Completely removing fontconfig with all configuration files:

Following command should be used with care as it deletes all the configuration files and data:

sudo apt-get purge fontconfig

or you can use following command also:

sudo apt-get purge --auto-remove fontconfig

Above command will remove all the configuration files and data associated with fontconfig package. You can can't recover the delete data, so, use this command with care.