Installing neofetch on Debian 12: A Complete Guide
neofetch is a popular command-line tool that displays system information in a visually appealing manner. It is a handy tool for system administrators, developers, and power users. This article focuses on how to install and configure neofetch on Debian 12, also known as Bookworm.
Prerequisites
Before we dive into installing neofetch on Debian 12, it's essential to ensure that your system meets the following requirements:
- A Debian 12 distribution installed
- An active internet connection
- Basic command-line knowledge
Why switch from neofetch to fastfetch?
While neofetch is a popular choice, fastfetch is gaining popularity for its faster performance and updated features. It is written in Rust and is designed to use fewer system resources than neofetch. However, this article will focus on installing neofetch, and if you prefer fastfetch, I recommend checking out the official GitHub repository.
Installing neofetch on Debian 12
To install neofetch on Debian 12, we need to add the official neofetch repository and install it from there. Here are the steps:
- Add the neofetch repository:
sudo tee /etc/apt/sources.list.d/neofetch.list > /dev/null < EOF
deb http://download.opensuse.org/repositories/home:/codefellows:/neofetch/Debian_12/ /
EOF
- Import the repository key:
curl -fsSL https://download.opensuse.org/repositories/home:codefellows:neofetch/Debian_12/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/neofetch.gpg > /dev/null
- Update the package list:
sudo apt update
- Install neofetch:
sudo apt install neofetch
Once installed, you can run neofetch from the terminal by typing neofetch and pressing Enter.
Running neofetch automatically on login
If you want neofetch to run automatically whenever you log in, you can add it to your ~/.bashrc file by using the following command:
echo 'neofetch' | sudo tee -a /etc/bash.bashrc
Installing neofetch on Debian 12 is a simple process that involves adding the official repository and installing it from there. This article provided this guide, as well as a section on running neofetch automatically on login. If you prefer fastfetch, I recommend checking out the official GitHub repository.