Neofetch is an indispensable tool for those diving into the Linux world, especially if you want to install Neofetch on Ubuntu 22.04 Jammy Jellyfish or Ubuntu 20.04 Focal Fossa. This command-line system information utility, designed specifically for Linux, combines practicality with visual elegance, quickly becoming a staple among Linux enthusiasts.
Why Neofetch Stands Out:
- Comprehensive System Overview: Instantly access crucial details like the operating system, kernel, uptime, packages, shell, resolution, desktop environment, and more.
- Tailored Display: Neofetch offers extensive customization, letting users adjust the displayed system information to their liking.
- Aesthetic & Functional: Beyond its vibrant ASCII art logo and color-rich text output, Neofetch presents essential data coherently and organized.
- Broad Compatibility: While our emphasis is on Ubuntu, Neofetch is versatile, supporting a range of platforms, from other Linux distributions to macOS, iOS, and even Windows.
Benefits of Neofetch:
- Swift System Overview: A single command offers a detailed system snapshot, which is invaluable for troubleshooting or online discussions.
- Unique Terminal Appearance: Customize your terminal’s appearance with Neofetch’s adaptable output.
- Showcase Your System: If you take pride in your Ubuntu setup, Neofetch is the ideal tool to display it with panache.
- User-Friendly: Neofetch’s ease of installation and use ensures it’s accessible to both Linux novices and seasoned users.
In summary, Neofetch provides Ubuntu users a perfect blend of aesthetics and functionality. Our forthcoming guide will elucidate the steps to install Neofetch on Ubuntu 22.04 Jammy Jellyfish or 20.04 Focal Fossa using the apt package manager and essential commands to get the most out of Neofetch.
Table of Contents
Update Ubuntu Before Neofetch Installation
To start with Neofetch, it’s crucial to prepare your system first. This preparation involves ensuring that all your Ubuntu packages are up to date. By doing this, you’ll avoid any conflicts arising from outdated packages.
Here’s how you update your Ubuntu packages:
sudo apt update && sudo apt upgrade
By running this command, you’re doing two important tasks: updating the list of available packages with
sudo apt update, and then upgrading your system’s packages to their latest versions with
sudo apt upgrade.
Install Neofetch on Ubuntu 22.04 or 20.04
Neofetch is readily available on the Ubuntu repository, simplifying the installation process significantly. This easy availability is one of the many benefits of open-source software and rich community-supported repositories like Ubuntu’s.
To install Neofetch, you need to use the following command:
sudo apt install neofetch
Once installed, verify the installation and build using the neofetch –version command.
When you run this command, the
sudo part executes the command as a root user, providing the necessary permissions.
apt is the package handling utility in Ubuntu, and
install neofetch is the instruction to apt to install the Neofetch package.
Verify Neofetch Installation on Ubuntu 22.04 or 20.04
After the installation, you must confirm that Neofetch was correctly installed and that you have the right build. Verifying your installation reassures you that everything went as expected, and you are ready to proceed.
To check your Neofetch installation, run the following command:
This command will display the version of Neofetch currently installed on your system, confirming the success of the installation process. Now, you are all set to use Neofetch and enjoy its delightful combination of functionality and aesthetics!
As mentioned above, the default information that is printed is as follows.
|OS:||Operating System Name and Version.|
|Host:||PC or Server Name.|
|Kernel:||The Linux Kernel version and build.|
|Uptime:||The system uptime since start/reboot.|
|Packages:||Installed Package Managers with package count.|
|Shell:||Installed shell version.|
|DE:||The installed user interface (Desktop Environment).|
|WM:||Type of Window manager in use.|
|WM Theme:||The Windows Manager theme.|
|Theme:||The installed user interface theme.|
|Icons:||The installed Icon Pack.|
|Terminal:||The default terminal is in use.|
|CPU:||The processor and performance|
|GPU:||The installed graphics card.|
|Memory:||Memory amount used and available.|
Example Neofetch Commands on UBuntu 22.04 or 20.04
Let’s break down Neofetch’s capabilities and illustrate how to manipulate the commands to yield the best results. We’ll also share 20 examples that address frequently asked questions or popular command uses. These commands are derived from the Neofetch help output and have been proven effective.
Getting Started with Neofetch Commands on Ubuntu
Before we delve into the examples, let’s take a brief look at the basic structure of a Neofetch command:
neofetch func_name --option "value"
Let’s now explore a series of powerful and popular Neofetch command examples.
Display Only Uptime Information with Neofetch on Ubuntu
Here, we’ll use Neofetch to display only the system’s uptime:
neofetch uptime --uptime_shorthand tiny
uptime function name indicates that we want to fetch the uptime information of the system. The
--uptime_shorthand option followed by
tiny is used to shorten the displayed uptime.
Displaying Memory, Disk, and Window Manager Information with Neofetch on Ubuntu
We list the desired function names to fetch and display specific system information.
neofetch uptime disk wm memory
Disabling Specific Info Lines with Neofetch on Ubuntu
You can disable specific lines from appearing in the Neofetch output. For instance, to disable the CPU and GPU lines, use:
neofetch --disable cpu gpu
Displaying the OS Architecture with Neofetch on Ubuntu
To display the OS architecture, we use the
neofetch --os_arch on
Changing the CPU Speed Display Type with Neofetch on Ubuntu
Neofetch allows changing the type of CPU speed to display. Here’s how to set it to
neofetch --speed_type max
Displaying the Number of CPU Cores with Neofetch on Ubuntu
To show the number of logical CPU cores, use:
neofetch --cpu_cores logical
Displaying CPU Temperature with Neofetch on Ubuntu
To display the CPU temperature in Celsius, use the following command:
neofetch --cpu_temp C
Shortening the Output of Uptime with Neofetch on Ubuntu
To shorten the output of the uptime display, we use the
neofetch --uptime_shorthand on
Displaying GPU Type with Neofetch on Ubuntu
To display the type of the GPU, use the following:
neofetch --gpu_type all
Displaying Shell Version with Neofetch on Ubuntu
To show the shell version, use the
neofetch --shell_version on
--shell_version on option allows Neofetch to fetch and display the version of the shell currently in use.
Displaying Disk Usage with Neofetch on Ubuntu
To showcase the disk usage, use:
neofetch --disk_show on --disk_quiet on
In this command,
--disk_show on enables the display of disk usage, while
--disk_quiet on limits the output to only the disks with your home directory on them.
Displaying Disk Usage in Percentage with Neofetch on Ubuntu
If you prefer viewing disk usage as a percentage, use the following:
neofetch --disk_percent on
--disk_percent on option will display the disk usage in terms of the percentage used.
Displaying Battery Information with Neofetch on Ubuntu
Neofetch can also fetch and display the battery status:
neofetch --battery_display on --battery_shorthand tiny
--battery_display on enables the battery information, and
--battery_shorthand tiny presents the battery status in a simplified manner.
Displaying Network Information with Neofetch on Ubuntu
To display network information, use the following:
neofetch --ip_host on --ip_local on
In this command,
--ip_host on displays the public IP address, while
--ip_local on reveals the local IP address.
Displaying the Current Song with Neofetch on Ubuntu
If you have a music player running, Neofetch can display the current song:
neofetch --song_shorthand tiny
--song_shorthand tiny option will show the current song in a compressed format.
Changing the Display Image with Neofetch on Ubuntu
Neofetch allows changing the displayed image using the
neofetch --source path_to_your_image
In this command, replace
path_to_your_image with the actual path to your desired image.
Displaying a Custom ASCII Art with Neofetch on Ubuntu
To display custom ASCII art, use:
neofetch --ascii path_to_your_ascii_art
path_to_your_ascii_art with the actual path to your ASCII art file.
Changing the Image Size with Neofetch on Ubuntu
You can also adjust the size of the displayed image:
neofetch --size widthxheight
widthxheight with the dimensions you desire.
Altering the Display Colors with Neofetch on Ubuntu
To change the colors of the displayed information, use:
neofetch --colors 1 2 3 4 5 6
Each number from 1 to 6 corresponds to a specific display aspect, and you can assign different color codes to each.
Saving Neofetch Output to a File with Neofetch on Ubuntu
Finally, you can save the Neofetch output to a file:
neofetch > filename.txt
In this command, replace
filename.txt with the desired file name.
Additional: How to Remove Neofetch on Ubuntu 22.04 or 20.04
Uninstalling Neofetch from your Ubuntu system starts by issuing a simple command on your terminal. To commence the process, you need to type the following command:
sudo apt remove neofetch
Let’s dissect the command to understand what it entails:
sudois a prefix that grants administrative privileges, allowing the command to make changes to the system. It stands for “SuperUser DO”.
aptis the package handling utility in Ubuntu, short for “Advanced Package Tool”.
removeis an apt command used for uninstalling software.
neofetchis the name of the package we intend to uninstall.
By typing this command, you instruct your Ubuntu system to remove Neofetch using the apt package handling utility with administrative privileges. Once the command is issued, your system will prompt you to confirm the uninstallation.
Reflecting upon our journey, we’ve delved deep into the intricacies of Neofetch installation on an Ubuntu system. We began by understanding what Neofetch is and its value to a Linux user, before moving on to the step-by-step guide for its installation. The guide covered the how-tos and the intricacies of the commands used. We then wrapped it with uninstalling Neofetch, ensuring you possess the necessary knowledge to manage the software effectively. This exploration offers a practical and insightful journey into Linux system management, fostering a more informed and effective Ubuntu user.