How to Install Neofetch in Ubuntu/Debian/Mint and ArchLinux

Last updated: September 8, 2022

Neofetch is a cross-platform, simple shell script that scans for your system’s information and displays it in a terminal, together with an ASCII image or any desired image next to the output. Some of the information displayed includes:

  1. Operating System
  2. Kernel version
  3. Shell type
  4. Number of packages installed
  5. System Uptime
  6. Screen resolution
  7. CPU information
  8. GPU details
  9. Theme details
  10. RAM size

Neofetch supports Linux, Unix, iOS, and Windows Operating Systems. Let's see how to install Neofetch in various Linux distributions such as Ubuntu, Debian, and Arch Linux.

How to install Neofetch in Ubuntu

Neofetch is available on Ubuntu default repository. First, update your system.

sudo apt update

Now install neofetch using apt command:

sudo apt install neofetch

This installed Neofetch version 7.1.0 on my Ubuntu 22.04 system.

To display system's information run the neofetch command

neofetch

Output

neofetch ubuntu

How to install Neofetch in Debian

Neofetch is available Debian official repository. This is available from Debian 9 version. You don't have to depend on any third-party repository.

First, update the Debian system

apt update

Next, install Neofetch

apt install neofetch

To launch Neofetch, run

neofetch

Output

neofetch debian

How to install Neofetch in Arch Linux

To install Neofetch in Arch Linux you can use either yaourt or packer or pacman package manager.

Using pacman, type:

pacman -S neofetch

Using Yaourt, run:

yaourt -S neofetch-git

Or

yaourt -S neofetch

This command will clone the neofetch git repository and build the package using mkepkg
Using packer run

packer -S neofetch

Or

packer -S neofetch-git

To launch neofetch run

neofetch

Output

neofetch Arch Linux

If you wish to capture the screenshot of neofetch output and save it to your preferred location, use the scrot tool.

In Ubuntu, Mint and Debian you can install it by running

apt install scrot

In Arch Linux, this can be achieved by running

pacman -S scrot

In the example below, the screenshot of the output has been saved in /home/pictures path

neofetch --scrot /home/pictures

Conclusion

Neofetch provides a piece of pleasing information about your operating system. Because of its popularity, it's almost available in all Linux operating system's default repositories. You can simply install it using the Distro package manager.

Thanks for reading, please leave your experience using neofetch in the comment section.

About The Author

James Kiarie

James Kiarie

James is a certified LPIC Linux administrator and passionate Linux technical writer. He has over 4 years of penning down technical guides in Linux administration with ample experience in a range of distributions such as Ubuntu, CentOS, RHEL, Fedora, Rocky, and AlmaLinux to mention a few. In addition, he has also spread his wings wider to cloud computing and DevOps tools such as Terraform, Docker, and Kubernetes. During his free time, I love swimming, listening to music, reading books, and taking evening runs after a busy day.

SHARE

Comments

Please add comments below to provide the author your ideas, appreciation and feedback.

Leave a Reply

Leave a Comment