How to Install Fastfetch on Ubuntu

Install Fastfetch on Ubuntu with sudo apt install fastfetch from universe, or use the official GitHub .deb or tarball for the latest release. Configure presets, replace unmaintained Neofetch, and run fastfetch on login.

Published

Updated

Tech reviewed byDeepak Prasad

Install Fastfetch on Ubuntu banner with terminal system info card and Ubuntu orange accent

Fastfetch is the terminal system-info tool most Ubuntu users reach for after Neofetch stopped receiving updates. It prints your distro ASCII logo, kernel, desktop environment, CPU, GPU, memory, and disk usage in one glance—useful for screenshots, forum posts, and checking that a VM or cloud instance booted the way you expect.

This guide shows how to install Fastfetch on Ubuntu the way I actually use it: apt from universe when you want a supported package, the official GitHub .deb when you need the newest upstream release, and a portable tarball when you cannot use apt. You will also see how Ubuntu wires neofetch to fastfetch, how to try the Neofetch preset, and where to put a config file so you are not retyping flags every session.

Tested on: Ubuntu 25.04 (Plucky Puffin); kernel 6.14.0-37-generic.

NOTE
On Ubuntu 24.10 and newer, fastfetch is in universe and neofetch is a compatibility wrapper that launches fastfetch. If a tutorial still says sudo apt install neofetch, switch to fastfetch—see must-have Ubuntu apps for where it fits on a fresh desktop.

Quick command summary

Task Command
Check apt candidate apt-cache policy fastfetch
Install (recommended) sudo apt update && sudo apt install -y fastfetch
Verify fastfetch --version
Run default card fastfetch
Neofetch-style preset fastfetch -c neofetch.jsonc
Generate config fastfetch --gen-config
List presets / modules fastfetch --list-presets / fastfetch --list-modules
Full help fastfetch --help
Persist Neofetch layout cp /usr/share/fastfetch/presets/neofetch.jsonc ~/.config/fastfetch/config.jsonc
Latest GitHub .deb (amd64) wget -qO fastfetch.deb https://github.com/fastfetch-cli/fastfetch/releases/latest/download/fastfetch-linux-amd64.deb && sudo apt install -y ./fastfetch.deb
Portable binary wget -qO ff.tar.gz https://github.com/fastfetch-cli/fastfetch/releases/latest/download/fastfetch-linux-amd64.tar.gz && sudo tar xf ff.tar.gz --strip-components=3 -C /usr/local/bin fastfetch-linux-amd64/usr/bin/fastfetch
Remove apt package sudo apt purge -y fastfetch

What is Fastfetch—and why replace Neofetch?

Fastfetch is a C-based system information tool modeled after Neofetch, Screenfetch, and similar “fetch” scripts. It is actively maintained, noticeably faster on large module lists, and understands modern stacks (Wayland sessions, current GPU drivers, JSON config) better than frozen Neofetch builds.

Tool Status on Ubuntu (2026) Notes
Fastfetch Packaged in universe (24.10+) Default choice; configurable JSONC config
Neofetch Unmaintained upstream Ubuntu may ship a wrapper that runs fastfetch
Screenfetch Legacy bash script Slower; fewer modules

Community threads—including r/Ubuntu discussion of fastfetch—converge on the same advice: install fastfetch, and keep Neofetch only if an old script hard-codes the command name.


Prerequisites

  • Ubuntu 22.04 LTS, 24.04 LTS, 24.10, or newer (25.04 tested here) on amd64 for the commands below.
  • sudo for system-wide installs.
  • universe enabled in apt sources (required for apt install fastfetch on supported releases).
  • A terminal emulator (GNOME Terminal, Terminator, Kitty, Alacritty, Tilix, etc.). Persistent SSH sessions pair well with GNU Screen or tmux if you demo fetch output on remote hosts.
  • Optional: a Nerd Font if logo glyphs render as tofu—Fastfetch falls back to plain text for missing symbols.

Check your release if you are unsure:

bash
. /etc/os-release && echo "$PRETTY_NAME"

See also check Ubuntu version.


On Ubuntu 24.10 and newer, fastfetch is a first-class universe package. Ubuntu 24.04 LTS also carries fastfetch in universe on current point releases—run apt-cache policy fastfetch to confirm. 22.04 LTS may need the GitHub tarball or maintainer PPA when the archive candidate is missing or too old (PengWin Tech documents the tarball path for releases before apt packaging was common).

Refresh indexes and inspect the candidate before installing:

bash
sudo apt update
apt-cache policy fastfetch

On Ubuntu 25.04 you should see something like:

text
fastfetch:
 Installed: (none)
 Candidate: 2.38.0+dfsg-1ubuntu1
 Version table:
 2.38.0+dfsg-1ubuntu1 500
 500 http://archive.ubuntu.com/ubuntu plucky/universe amd64 Packages

Install with apt:

bash
sudo apt install -y fastfetch

apt pulls in libyyjson0 as a dependency and may register a Neofetch compatibility alternative:

text
Setting up fastfetch (2.38.0+dfsg-1ubuntu1) ...
update-alternatives: using /usr/lib/fastfetch/neofetch-wrapper to provide /usr/bin/neofetch (neofetch) in auto mode

Verify:

bash
fastfetch --version
which fastfetch
text
fastfetch 2.38.0-debug (x86_64)
/usr/bin/fastfetch

Run the default info card:

bash
fastfetch

You get an ASCII logo (Ubuntu on my VM), then labeled rows for OS, Host, Kernel, Uptime, Packages, Shell, DE, CPU, GPU, Memory, and more—the exact set depends on hardware and desktop session.

What happens to the neofetch command?

On this install path, /usr/bin/neofetch may point at a wrapper:

bash
neofetch --version
text
WARNING: neofetch is deprecated, running fastfetch instead
If you find missing functionality, please report a bug by running `ubuntu-bug fastfetch` ...
fastfetch 2.38.0-debug (x86_64)

That is intentional: old dotfiles and tutorials that still call neofetch keep working while you migrate scripts to fastfetch explicitly.


Step 2: Install the latest release from GitHub (.deb)

Ubuntu’s archive trades absolute freshness for security maintenance. When you need upstream features (new modules, bug fixes), use the official .deb from GitHub Releases—the standard manual install path.

Download the current amd64 package (example tag 2.65.1 at time of writing):

bash
cd /tmp
wget -qO fastfetch.deb https://github.com/fastfetch-cli/fastfetch/releases/latest/download/fastfetch-linux-amd64.deb
dpkg-deb -I fastfetch.deb | grep -E '^(Package|Version|Depends)'
text
Package: fastfetch
Version: 2.65.1
Depends: libc6 (>= 2.35)

Install with apt so dependencies resolve cleanly:

bash
sudo apt install -y ./fastfetch.deb
fastfetch --version
text
fastfetch 2.65.1 (x86_64)
IMPORTANT
Do not mix an old apt fastfetch with a newer /usr/local/bin/fastfetch on the same PATH without checking which -a fastfetch. The shell uses the first match—unexpected version strings usually mean two installs are competing.

You need wget or cURL to download the release artifact.


Step 3: Install a portable binary (tarball)

When you lack root on a shared machine—or you want a single file in /usr/local/bin—extract the prebuilt tarball from GitHub:

bash
cd /tmp
wget -qO fastfetch.tar.gz https://github.com/fastfetch-cli/fastfetch/releases/latest/download/fastfetch-linux-amd64.tar.gz
tar xf fastfetch.tar.gz --strip-components=3 -C /usr/local/bin fastfetch-linux-amd64/usr/bin/fastfetch
fastfetch --version
text
fastfetch 2.65.1 (x86_64)

The archive layout is fastfetch-linux-amd64/usr/bin/fastfetch—three path segments stripped with --strip-components=3 land the binary directly in /usr/local/bin. Use sudo on /usr/local/bin when you are not root.

Remove the tarball when you are done:

bash
rm -f /tmp/fastfetch.tar.gz

Step 4: Install from the maintainer PPA (optional, older LTS)

On Ubuntu 22.04 or 24.04 LTS, universe may ship an older fastfetch—or none at all depending on enablement. The upstream maintainer publishes ppa:zhangsongcui3371/fastfetch for Ubuntu users who want current releases without manual .deb downloads:

bash
sudo add-apt-repository -y ppa:zhangsongcui3371/fastfetch
sudo apt update
sudo apt install -y fastfetch

If add-apt-repository is missing on a minimal image, install software-properties-common first—see add-apt-repository command not found.

Treat third-party PPAs like any external archive: pin or remove the PPA when you return to pure archive packages, and prefer apt install ./fastfetch.deb from GitHub if you want one-off latest upstream without adding a repository.


Customize Fastfetch after install

Default output is verbose—fine for learning the tool, heavy for narrow terminal screenshots. Fastfetch is built around modules (OS, CPU, GPU, …), presets, and a JSONC config file.

Generate a config file

bash
fastfetch --gen-config

Creates ~/.config/fastfetch/config.jsonc with a starter module list (title, separator, os, host, kernel, packages, shell, display, de, wm, cpu, gpu, memory, disk, and others). Edit the file in any JSON-aware editor; upstream publishes a JSON schema for completions.

Try built-in presets

List names:

bash
fastfetch --list-presets

Common entries include neofetch.jsonc, screenfetch.jsonc, paleofetch.jsonc, and examples under examples/.

Neofetch-style output without editing files yet:

bash
fastfetch -c neofetch.jsonc

Persist a preset as your default config

Generate a config file, then replace it with a preset you like:

bash
fastfetch --gen-config
cp /usr/share/fastfetch/presets/neofetch.jsonc ~/.config/fastfetch/config.jsonc
fastfetch

Presets ship under /usr/share/fastfetch/presets/neofetch.jsonc, screenfetch.jsonc, paleofetch.jsonc, and examples/ for inspiration. Edit ~/.config/fastfetch/config.jsonc in any JSON-aware editor; upstream publishes a JSON schema for autocomplete in VS Code.

To preview every module before you trim the list:

bash
fastfetch -c all.jsonc

That output is long—use it once to see what is available, then switch to a shorter preset or custom modules array.

Pick modules from the command line

List modules:

bash
fastfetch --list-modules

Show only what you care about (names are case-sensitive):

bash
fastfetch -s OS:Kernel:Shell:Memory:Disk

Add the Separator module if you want blank lines between sections in custom layouts.

Logos and colors

bash
fastfetch --list-logos
fastfetch -l ubuntu
fastfetch --logo-color-1 red --logo-color-2 yellow

For screenshot-ready dots, install a Nerd Font in your terminal profile—missing glyphs are usually a font issue, not a fastfetch bug.


Run Fastfetch when a terminal opens (optional)

Add to ~/.bashrc only when you want the card on every interactive shell:

bash
grep -q 'fastfetch' ~/.bashrc || echo 'fastfetch' >> ~/.bashrc

Use a lighter preset if full output scrolls off screen:

bash
echo 'fastfetch -c neofetch.jsonc' >> ~/.bashrc

For zsh, append the same line to ~/.zshrc. Skip auto-run on production servers—combine with htop or btop when you need live metrics instead of a static snapshot.


Uninstall Fastfetch

APT or .deb via apt:

bash
sudo apt purge -y fastfetch
sudo apt autoremove -y

Manual /usr/local/bin binary:

bash
sudo rm -f /usr/local/bin/fastfetch

Config only (keeps package):

bash
rm -rf ~/.config/fastfetch

Purging the package removes the neofetch alternative on Ubuntu releases that registered it—install a standalone neofetch package only if you truly need the unmaintained script (not recommended).


Troubleshooting

Symptom Likely cause Fix
E: Unable to locate package fastfetch universe disabled or release predates packaging Enable universe; sudo apt update; use GitHub .deb or PPA on older LTS
neofetch: command not found after purge Wrapper removed with fastfetch sudo apt install fastfetch or call fastfetch directly
Wrong version (2.38 vs 2.65) Multiple binaries on PATH which -a fastfetch; remove duplicate in /usr/local/bin or adjust PATH order
Logo is question marks / boxes Terminal font lacks glyphs Install a Nerd Font; restart terminal
Output too tall for screenshots Default module list is long fastfetch -c neofetch.jsonc or trim modules in config.jsonc
wget: command not found during GitHub install Minimal cloud image Install wget, install cURL on Ubuntu, or use curl -fsSLO
GPU or DE shows Unknown Headless VM or Wayland edge case Expected on some VMs; file an upstream issue with fastfetch --version output
sudo apt install ./fastfetch.deb dependency error Partial libc mismatch on very old release Upgrade base system or pick an older release asset from GitHub

References


Summary

The straightforward way to install Fastfetch on Ubuntu on current releases is sudo apt update && sudo apt install -y fastfetch from universe, then confirm with fastfetch --version and fastfetch. Ubuntu may alias neofetch to a fastfetch wrapper—migrate scripts to fastfetch when you can.

When apt’s version lags what you need, install fastfetch-linux-amd64.deb from GitHub Releases or drop the tarball binary into /usr/local/bin. Tune output with fastfetch --gen-config, presets like neofetch.jsonc, and module flags—so your terminal info card matches how you actually use the machine, not a one-size screenshot from 2018.

Frequently Asked Questions

1. How do I install Fastfetch on Ubuntu?

Run sudo apt update && sudo apt install -y fastfetch. The package lives in the universe repository on Ubuntu 24.10 and newer. Verify with fastfetch --version and run fastfetch to print your system info card.

2. Is Fastfetch better than Neofetch on Ubuntu?

Neofetch is unmaintained and misreports details on newer kernels and Wayland sessions. Fastfetch is actively developed, faster, Wayland-aware, and ships in Ubuntu universe. On current Ubuntu releases, typing neofetch may run a fastfetch wrapper instead.

3. Why does apt say unable to locate package fastfetch?

Enable the universe component in /etc/apt/sources.list or Software & Updates, then run sudo apt update. Fastfetch is in universe/utils, not main. On Ubuntu releases older than 24.10 you may need the GitHub .deb or the maintainer PPA instead of apt.

4. How do I get the latest Fastfetch version on Ubuntu?

Ubuntu apt tracks a stable distro build—for example 2.38.x on 25.04. Download fastfetch-linux-amd64.deb from GitHub Releases and run sudo apt install ./fastfetch-linux-amd64.deb, or use the unofficial PPA ppa:zhangsongcui3371/fastfetch on LTS releases.

5. Where is the Fastfetch config file on Ubuntu?

Generate one with fastfetch --gen-config. The default path is ~/.config/fastfetch/config.jsonc. Edit modules, colors, and logos there, or load a built-in preset with fastfetch -c neofetch.jsonc before you customize.

6. How do I make Fastfetch look like Neofetch?

Run fastfetch -c neofetch.jsonc for a bundled Neofetch-style layout. To persist it, copy the preset into ~/.config/fastfetch/config.jsonc after fastfetch --gen-config, or set your shell alias to fastfetch -c neofetch.jsonc.

7. Should I add fastfetch to .bashrc?

Only if you want the info card every time you open a terminal. Add the line fastfetch (or fastfetch -c neofetch.jsonc) near the end of ~/.bashrc. Skip it on SSH jump boxes or slow remote links where extra output gets in the way.

8. How do I install Fastfetch on Ubuntu 22.04 or 24.04 LTS?

On Ubuntu 24.04 LTS and newer, sudo apt install fastfetch from universe often works when universe is enabled. On 22.04 LTS, if apt has no candidate, use the GitHub tarball or .deb, or add ppa:zhangsongcui3371/fastfetch. Always run apt-cache policy fastfetch before you pick a method.

9. How do I uninstall Fastfetch from Ubuntu?

If you installed with apt, run sudo apt purge -y fastfetch. For a manual /usr/local/bin install, sudo rm -f /usr/local/bin/fastfetch. Remove ~/.config/fastfetch only when you do not need saved presets. The neofetch alternative wrapper is removed with the fastfetch package.
Deepak Prasad

R&D Engineer

Founder of GoLinuxCloud with more than 15 years of expertise in Linux, Python, Go, Laravel, DevOps, Kubernetes, Git, Shell scripting, OpenShift, AWS, Networking, and Security. With extensive …