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

Channel: Linux
Abstract: run neofetch Output How to install Neofetch in Arch Linux To install Neofetch in Arch Linux you can use either yaourt or packer or pacman package mana

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 such as Ubuntu, Debian, and Arch Linux.

How to install Neofetch in Ubuntu

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

How to install python in ubuntu 20....

To view this video please enable JavaScript, and consider upgrading to a web browser that supports HTML5 video

How to install python in ubuntu 20.04 Linux {Python 3.9.1. and Pip 20.3.3}
$ sudo apt update

Now install neofetch using apt command:

$ sudo apt install neofetch

This installed Neofetch version 7.0.0 on my Ubuntu 20.04 system.

To install Neofetch from PPA its still available for Ubuntu 18.04/20.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 in Arch Linux

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

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

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:

  • How to Install and Use YouTube-DL on Ubuntu 18.04
  • LF - Feature Rich Terminal Manager for Linux
  • Termtosvg - A Tool to Record Terminal Session in Linux

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 !

Ref From: linoxide
Channels:

Related articles