Skip to main content

Display Linux/Mac OS Distribution Logo in ASCII Art in Terminal


There are 2 tools which are commonly used to display Linux distribution Logo in the Linux Terminal.
  • Neofetch
  • Screenfetch
The main purpose of these tools is to be used in screenshots to show other users what OS/distribution you're running as well as the themes and icons you're using.
These tools also display a lot more than just the logo. They provide the following information about your system.
  • System Model
  • Screen Resolution
  • Desktop Environment
  • Uptime
  • Windows Manager
  • Packages
  • Themes and Icons
  • Shell Version
  • Terminal Tool in use
  • CPU, GPU and RAM information
Most Linux distributions are covered here, in case yours is not please feel free to visit their Wiki page
NEOFETCH
It is a command-line system information tool written in BASH that displays information about your system next to an image, your OS logo or any ASCII file of your choice.
This tool can also be used in Linux, MacOS,iOS, Android, Haiku, GNU Hurd, MINIX, Windows(Cygwin/Windows 10 Linux subsystem) and BSD systems.
Neofetch is highly customizable through the use of command-line flags or the user config file. There are over 50 config options and there's also a print_info() function and friends which let you add your own custom information. Visit their wiki page for more information.
Installing NeoFetch.
To install NeoFetch in Debian, Ubuntu and other Ubuntu-based Linux distros such as Elementary OS, Linux Mint, Zorin OS etc. Use the following command
 sudo apt install neofetch  
You can use this ppa if you're using Ubuntu 16.04 and below or if the above command didn't work for your Linux version
Add ppa
 sudo add-apt-repository ppa:dawidd0811/neofetch  
Update repositories
 sudo apt update  
Install the package
 sudo apt install neofetch  
MacOS(Homebrew)
 brew install neofetch  
Fedora/RHEL/CentOS/Mageia
Neofetch is in Fedora's official repositories starting from Fedora 27.
 sudo dnf install neofetch  
Alternatively, you can use a third-party repo: NOTE: If you are using RHEL/CentOS, change dnf into yum.
Enable COPR repository
 sudo dnf copr enable konimex/neofetch  
Install the package
 sudo dnf install neofetch  
Alternatively:
If you're using RHEL/CentOS make sure you have installed epel-release
Fetch the repo file

 curl -o /etc/yum.repos.d/konimex-neofetch-epel-7.repo https://copr.fedorainfracloud.org/coprs/konimex/neofetch/repo/epel-7/konimex-neofetch-epel-7.repo  

NOTE: If you're using Fedora change epel-7 to fedora-23 or your Fedora version respectively. However, if you're using RHEL/CentOS 6, change it to epel-6.
Install the package
 sudo dnf install neofetch  

iOS/iPadOS
Add this repo to your package manager eg Cydia
 https://repo.packix.com/  
Install Neofetch-iOS from your package manager.
For other Linux distributions check the installation instructions on the NeoFetch GitHub page.
To launch and use Neofetch, just type neofetch in the terminal and it will display the Linux logo of your OS in ASCII form along with your system information.
SCREENFETCH
Use the following command
 sudo apt-get install screenfetch  
For Ubuntu based distributions you will need to add a ppa. Type the following command in your terminal.
 sudo apt-add-repository ppa:djcj/screenfetch  
Update your repositories
 sudo apt-get update  
Install the package
 apt-get install screenfetch  

For Arch-based distributions such as Manjaro use the following command

 sudo pacman -S screenfetch  
Fedora-based distributions use the following command
 sudo dnf install screenfetch  
To launch screenfetch, use the following command
screenfetch
Let me know in the comments below which one is your favourite.

Comments

  1. neofetch command saved me a lot of time it works better than the screenfetch command

    ReplyDelete
  2. I prefer neofetch. Screenfetch is not that appealing

    ReplyDelete

Post a Comment

Your input is valued. Please type something....