FedoraRHEL Based

How To Install Neofetch on Fedora 40

Install Neofetch on Fedora 40

In this tutorial, we will show you how to install Neofetch on Fedora 40. Neofetch is a highly versatile command-line system information tool written in Bash. Its primary purpose is to gather and display a wide range of hardware and software information about your Linux system, such as the operating system, kernel version, CPU, GPU, memory usage, and more. What sets Neofetch apart from other system information tools is its ability to present this data alongside an ASCII art representation of your operating system’s logo or any other image of your choice.

One of the standout features of Neofetch is its extensive customization options. With support for over 150 different operating systems, Neofetch allows you to tailor the displayed information to your specific needs. Whether you want to showcase your system’s specs in a screenshot or simply have a quick reference for your hardware and software configuration, Neofetch has you covered.

This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo‘ to the commands to get root privileges. I will show you the step-by-step installation of the Neofetch on Fedora 40.


Before we dive into the installation process, ensure that you have the following prerequisites in place:

  • A server running one of the following operating systems: Fedora 40.
  • It’s recommended that you use a fresh OS install to prevent any potential issues.
  • You will need access to the terminal to execute commands. Fedora provides the Terminal application for this purpose. It can be found in your Applications menu.
  • A stable internet connection to download the necessary packages.
  • A non-root sudo user or access to the root user. We recommend acting as a non-root sudo user, however, as you can harm your system if you’re not careful when acting as the root.

Install Neofetch on Fedora 40

Step 1. Update the System.

It’s always a good idea to update your Fedora 40 system packages before installing new software. This ensures that you have the latest versions of any dependencies required by Neofetch. To update your system, run the following command in the terminal:

sudo dnf clean all
sudo dnf update

This command will fetch the latest package information and prompt you to confirm the installation of any available updates. Once the update process is complete, your system will be ready for Neofetch installation.

Step 2. Installing Neofetch on Fedora 40.

Now that you’ve prepared your Fedora 40 system, it’s time to install Neofetch. We’ll focus on installing Neofetch from the official Fedora repositories using the dnf package manager.

Install Neofetch by running the following command:

sudo dnf install neofetch

Wait for the installation process to complete. dnf will handle the installation of Neofetch and any required dependencies.

Once the installation is finished, verify that Neofetch was installed successfully by running:

neofetch --version

This command should display the version number of Neofetch installed on your system.

Step 3. Using Neofetch.

Now that you have Neofetch installed and configured on your Fedora 40 system, it’s time to put it to use. The basic usage of Neofetch is straightforward – simply open a terminal and run:


This command will display a wealth of information about your system, including:

  • Operating system and distribution
  • Kernel version
  • CPU model and clock speed
  • GPU model and driver
  • Memory usage
  • Disk usage
  • Default shell
  • Window manager or desktop environment
  • Theme and icons
  • And more!

Alongside this information, Neofetch will display the ASCII art logo of your choice, creating a visually appealing and informative snapshot of your system.

Step 4. Updating or Removing Neofetch.

As with any software package, it’s essential to keep Neofetch up to date to access the latest features, bug fixes, and security patches. To update Neofetch on your Fedora 40 system, use the following command:

sudo dnf upgrade neofetch

If you no longer need Neofetch on your system, you can easily remove it using the dnf package manager. To uninstall Neofetch, run:

sudo dnf remove neofetch

After removing Neofetch, it’s a good practice to check for any leftover dependencies that may no longer be needed. To do this, run:

sudo dnf autoremove

Congratulations! You have successfully installed Neofetch. Thanks for using this tutorial for installing the Neofetch on the Fedora 40 system. For additional or useful information, we recommend you check the official Neofetch website.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get the best deal!


r00t is a seasoned Linux system administrator with a wealth of experience in the field. Known for his contributions to idroot.us, r00t has authored numerous tutorials and guides, helping users navigate the complexities of Linux systems. His expertise spans across various Linux distributions, including Ubuntu, CentOS, and Debian. r00t's work is characterized by his ability to simplify complex concepts, making Linux more accessible to users of all skill levels. His dedication to the Linux community and his commitment to sharing knowledge makes him a respected figure in the field.
Back to top button