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

In this article, we'll look at How to install Neofetch. 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 we can install Neofetch in various Linux distributions.

How to install Neofetch in Ubuntu

To install Neofetch in Ubuntu 18.04 and Mint 19, first add the third party Neofetch repository as shown

add-apt-repository ppa:dawidd0811/neofetch

Output

CLI script to show your system's info and display an image using w3m.
More info: https://launchpad.net/~dawidd0811/+archive/ubuntu/neofetch
Press [ENTER] to continue or ctrl-c to cancel adding it

gpg: keyring `/tmp/tmpipjmo2cm/secring.gpg' created
gpg: keyring `/tmp/tmpipjmo2cm/pubring.gpg' created
gpg: requesting key 4221BA96 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmpipjmo2cm/trustdb.gpg: trustdb created
gpg: key 4221BA96: public key "Launchpad PPA for dawidd6" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
OK

update the sources list

apt-get update

Then finally, install neofetch

 apt-get install neofetch

To display system's information run the neofetch command

neofetch

Output

How to install Neofetch in Debian

To install Neofetch in Debian 9, first add the third party Neofetch repository as shown

echo "deb http://dl.bintray.com/dawidd6/neofetch jessie main" | sudo tee -a /etc/apt/sources.list

Next, append the Neofetch key using the command as shown below

curl -L "https://bintray.com/user/downloadSubjectPublicKey?username=bintray" -o Release-neofetch.key && sudo apt-key add Release-neofetch.key && rm Release-neofetch.key

Update the sources list by updating the system using the command below

apt-get update

Finally, install Neofetch

apt-get install neofetch

To launch Neofetch, run

neofetch

Output

How to install Neofetch

How to install Neofetch in Arch Linux

To install Neofetch in Arch Linux you can use either yaourt or packer package manager to install 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

How to install Neofetch

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 -get 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

Read Also :

Neofetch is a simple tool that you can use to display your system's basic information in an easy and convenient way. Go ahead and give it a try !

Jamie Arthur 1:44 am

About Jamie Arthur

Hey, I'm James, a passionate Linux Systems administrator, and a tech enthusiast. I derive immense gratification in conducting research on Linux systems and keeping myself up to date with the latest in the technology world.

Author Archive Page

Have anything to say?

Your email address will not be published. Required fields are marked *

All comments are subject to moderation.