Skip to content

Instantly share code, notes, and snippets.

@Semo
Last active January 31, 2024 07:33
Show Gist options
  • Save Semo/571fd39651de68ed14a4fea314586ec8 to your computer and use it in GitHub Desktop.
Save Semo/571fd39651de68ed14a4fea314586ec8 to your computer and use it in GitHub Desktop.
How to install Powerline fonts into CentOS 7

How to install Powerline fonts into CentOS 7

For a Oh-My-Zsh Shell custommized theme, called Spaceship Prompt it's reecommended to install the Powerline Fonts. In a CentOS 7 machine it can be a little more work, than doing it via a package manager.

Clone the latest Font

git clone https://github.com/powerline/fonts.git --depth=1

and install them

cd fonts ./install.sh

To make it available to every user copy it

mkdir /usr/share/fonts cp /root/.local/share/fonts/* /usr/share/fonts

Done (TM)

@Semo
Copy link
Author

Semo commented Jan 31, 2024

@Davidwei93 Thank you. Which issue occurred on your system? Unfortunately I don't have any CentOS 7 machines anymore to test it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment