Nerd fonts arch linux

ArchPKGs

Full Tutorial on Installing nerd-fonts-ubuntu on Arch Linux/Manjaro/Anarchy

nerd-fonts-ubuntu is «Patched font Ubuntu and UbuntuMono from the nerd-fonts library» according to its definition. To install or uninstall nerd-fonts-ubuntu from AUR (Arch User Repository) on Arch Linux, Manjaro, EndeavourOS, Artix, Anarchy, BlackArch and Parabola is quite simple. This tutorial will show you step-by-step how to install/update/uninstall the package with either the built-in package manager pacman or an AUR helper like yay .

Table of Contents

There are generally two ways to install nerd-fonts-ubuntu from AUR. pacman is what you’re looking for if you are a seasoned Linux user and have the knowledge of how packages are built. If not, yay is a common alternative to install packages without the hassle of reviewing PKGBUILD and build packages with makepkg yourself.

sudo pacman -S --needed git && git clone https://aur.archlinux.org/nerd-fonts-ubuntu.git && cd nerd-fonts-ubuntu && makepkg -si
  1. Install git if needed (not installed before).
  2. clone the package’s git repository from source.
  3. cd into the folder.
  4. Build the package with makepkg , then install it with pacman .
yay -S nerd-fonts-ubuntu

Just like installing AUR packages, updating them is practically the same. Simply pull it from source then re-build it. Even so, it is still recommended to upgrade your whole system first with sudo pacman -Syu before updating any packages to avoid dependency issues, since Arch is a rolling-release Linux distribution.

Make certain you’re in the directory of the repository you previously cloned before running the command:

git pull && makepkg -si
  1. pull from the package’s git repository.
  2. Use makepkg to build the package, then update it with pacman .

Compared to installing and updating packages, uninstalling is the easiest of these three,just choose whether to keep the unused dependencies and the configuration files generated by the package.

Читайте также:  Какие бывают версии линукс
sudo pacman -R nerd-fonts-ubuntu
sudo pacman -Rs nerd-fonts-ubuntu
sudo pacman -Rns nerd-fonts-ubuntu
yay -R nerd-fonts-ubuntu
yay -Rs nerd-fonts-ubuntu
yay -Rns nerd-fonts-ubuntu

For more information about how to install AUR packages or how to get yay , please refer to this tutorial published on NoCache.

Step-by-Step Guide on ifm Installation on Arch Linux (Manjaro/Parabola)

Quoting from ifm’s own description, it is «A language and a program for keeping track of your progress through an Interactive Fiction game.». To get this package (ifm) from AUR (Arch User Repository) on Arch Linux and Arch-based Linux distros (e.g. Manjaro, EndeavourOS, Anarchy, BlackArch, Artix) is comparatively uncomplicated. This guide will taught you how to install, update and remove the package with either the built-in package manager pacman or an AUR helper like yay.

Beginner’s Guide on php72-calendar Installation on Arch Linux (Manjaro/RebornOS)

Based on php72-calendar’s own description, it is «calendar module for php72». To install or uninstall this package (php72-calendar) from AUR (Arch User Repository) on Arch Linux and Arch-based Linux distros (e.g. Manjaro, EndeavourOS, BlackArch, ArcoLinux, Parabola) is quite simple. This tutorial will cover how to install, update and uninstall the package with either the default package manager pacman or an AUR helper like yay.

Installing blackshades-svn with Single Command on Arch Linux, Manjaro and EndeavourOS

Based on blackshades-svn’s own description, it’s «A game where you control a psychic bodyguard, and try to protect the VIP from hordes of would-be assassins». To install this package (blackshades-svn) from AUR (Arch User Repository) on Arch Linux, Manjaro, EndeavourOS and ArcoLinux is comparatively uncomplicated. This tutorial will be covering how to install/update/remove the package with either the built-in package manager pacman or an AUR helper (e.g. yay).

How to Install otf-gnutypewriter in One Command on Arch Linux, Manjaro and ArcoLinux

«A free font imitating a real typewriter.» is the maintainer’s outline of otf-gnutypewriter. To install or uninstall this package (otf-gnutypewriter) from AUR (Arch User Repository) on Arch Linux and Arch-based Linux distros (e.g. Manjaro, EndeavourOS, Parabola, ArcoLinux) is quite straightforward. This guide will be covering how to install/update/remove the package with either the built-in package manager pacman or an AUR helper (e.g. yay).

Guide on Install/Update/Remove perl-pod-markdown on Arch Linux (Manjaro/Garuda)

perl-pod-markdown is «Convert POD to Markdown» according to its own gist. To install or remove perl-pod-markdown from AUR (Arch User Repository) on Arch Linux, Manjaro, EndeavourOS and ArcoLinux is fairly uncomplicated. This guide will taught you how to install/update/remove the package with either the default package manager pacman or an AUR helper like yay.

Installing libbsd with Command Line on Arch Linux, Manjaro and Anarchy

Referring to libbsd’s own outline, it’s «Provides useful functions commonly found on BSD systems like strlcpy()». To install or remove libbsd from Arch official repository (Extra) on Arch Linux and Arch-based distros (e.g. Manjaro, EndeavourOS, Parabola, ArcoLinux, Garuda, RebornOS) is relatively uncomplicated. This tutorial will taught you how to install, update and uninstall the package with either the built-in package manager pacman or an AUR helper (e.g. yay).

Читайте также:  Samba linux debian настройка

More guides… copyright 2023 ArchPKGs. All Rights Reserved.

Источник

ArchPKGs

Iconic font aggregator, collection, & patcher. 3,600+ icons, 50+ patched fonts.

Package Details

Name nerd-fonts-complete
Repository AUR
Version 2.2.2-2
Description Iconic font aggregator, collection, & patcher. 3,600+ icons, 50+ patched fonts.
Website https://github.com/ryanoasis/nerd-fonts
Updated 10 Nov 2022
Maintainers francoism90
Licenses MIT

Provides

This package provides the following libraries:

  • nerd-fonts-cascadia-code
  • nerd-fonts-fantasque-sans-mono
  • nerd-fonts-fira-code
  • nerd-fonts-hack
  • nerd-fonts-iosevka
  • nerd-fonts-jetbrains-mono
  • nerd-fonts-overpass
  • nerd-fonts-roboto-mono
  • nerd-fonts-source-code-pro
  • nerd-fonts-terminus
  • nerd-fonts-ubuntu-mono
  • otf-nerd-fonts
  • ttf-font-nerd
  • ttf-iosevka-nerd
  • ttf-nerd-font
  • ttf-nerd-fonts
  • ttf-nerd-fonts-symbols
  • ttf-nerd-fonts-symbols-mono
  • ttf-terminus-nerd

Dependencies

Make Dependencies

These dependencies are required to build the package but can be removed later on:

Conflicts

This package conflicts with the following packages:

Guides

More Packages

aur/fuzzy-pdf-bin

Fuzzy finder for a collection of pdf files

aur/cargo-info

cargo-info subcommand — show crates info from crates.io

aur/llvm9-libs

extra/bftpd

Small, easy-to-configure FTP server

aur/frzr

A deployment and update system for read-only btrfs subvolume based operating systems

aur/svnkit

A Subversion library for Java

More packages… copyright 2023 ArchPKGs. All Rights Reserved.

Источник

Install Nerd Font on Arch Linux

Manually Install a Nerd Font on arch Linux for use with a terminal emulator.

NOTE: This method bypasses the method recommended on the Arch Wiki, which uses pacman package manager to manage installed fonts. This is useful for situations were you want to use a font (ie Nerd Font), that does not have a package readily available and you don’t feel like building one for it. If you would like to create a font package see: Font package guidelines, Installing Fonts and PKGBUILD on the arch wiki.

This guide is specific to Arch Linux, but the same method should work with other Distros.

Difficulty

Prerequisites

  • Install of Linux (I use arch: https://archlinux.org/)
  • xorg/Window Manager (I will use i3 for this example)
  • Terminal Emulator (I will use alacritty for this example)
  • Text Editor (I use Micro, highly recommend for quick edits in the terminal)
  • An archive utility for .zip files, such as unzip

Steps:

1. Download Nerd-Font:

Go to nerdfonts.com/ and hit downloads. This will give you a page where you can preview different fonts.

Once you find a font you like, hit Download on the font to save it as a .zip.

Note

  • Refrain from unzipping it in your downloads directory, compressed font folders can contain many different files. (You’ll want to move it to where it needs to be installed first to keep things easy. )
Читайте также:  Debian gcc arm linux gnueabihf

2. Setup the File Path:

Most modern Linux Distros use the fontconfig library to search specific directories for new fonts when the distribution is booted up:

Default Font Paths for fontconfig: /usr/share/fonts/ ~/.local/share/fonts/
  • The first path is for a global install for all users, the second is for a local install for one specific user (‘ ~ ‘ would be their home directory).
  • Local install usually makes the most sense. This is because most config files are saved locally for each specific user anyways, and it prevents having to mess with any privileges.

Because fontconfig searches recursively through directories, we can create sub-directories to keep our font files organized and it will still find them:

First we want to check for the ~/.local/share/fonts/ directory:

from the user's home directory: ls -a cd .local ls -a cd share ls -a

As we can see from this image our .local/share/ does not contain a /fonts/ directory, so we will make one real quick:

Now we can cd into it and create a sub-directory to copy our font files into, I’m just going to make one called ‘nerd-fonts’:

3. Extract Files and Install:

Now that we have our directory set-up we can locate our .zip file and copy it over:

cp ~/Downloads/DaddyTimeMono.zip ~/.local/share/fonts/nerd-fonts/

Next we’ll navigate over to our nerd-fonts folder and extract the file:

cd ~/.local/share/fonts/nerd-fonts unzip DaddyTimeMono.zip

If we list our nerd-fonts directory we should see the extracted files ending in ‘.ttf’:

4. Finalization

Now that your font files are in a directory recognized by fontconfig they should be loaded automatically on boot and made available to applications in your window manager.

To reload the fonts without rebooting you can run as root:

and restarting the x-server. But I recommend also rebooting.

After rebooting you can run:

where ‘DaddyTimeMono’ is replaced by the name of the font you installed. You should see all the files from step 3 in the list:

This means that fontconfig has recognized the newly installed fonts.

I have another post that goes over how to configure the terminal emulator Alacritty to use a new font here. If you are using another terminal emulator, refer to the documentation to use the newly installed font.

Watch out for problems with spacing or missing characters. You can test the symbols that are patched into nerd fonts by going to the website nerdfonts.com/, clicking the icons search button, and copying different symbols into your terminal:

If you are experiencing problems with display:

  • Try installing a different font and see if the problem persists
  • Sometimes installing it globally into ‘/usr/share/fonts/’ can work if a program is having problems with permissions
  • Make sure your locale is configured properly

Retrieved July 14, 2023 at 8:15 am (website time).

Источник

Оцените статью
Adblock
detector