Install inxi on Ubuntu 20.04

Install inxi on Ubuntu 20.04

The inxi is a command line tool that enables to get details about various hardware components on a system such as CPU, RAM, disks, network interfaces, USB controllers, graphics, audio, etc. This tool also displays system info like host, kernel, Linux distribution, etc. Perl interpreter is required for inxi.

This tutorial demonstrates how to install inxi on Ubuntu 20.04.

Install inxi

Download inxi script from GitHub repository to /usr/local/bin directory:

sudo wget -O /usr/local/bin/inxi https://raw.githubusercontent.com/smxi/inxi/master/inxi

Next, set execute permission:

sudo chmod a+x /usr/local/bin/inxi

Now inxi command will be available for all users as a system-wide command.

We can check inxi version as follows:

inxi --version

Testing inxi

In order to get short overview of system, run inxi command without arguments:

inxi

The -F option can be used to retrieve detailed overview of hardware components on a system.

inxi -F
Detailed overview of hardware components using inxi on Ubuntu

The inxi command has options which allows to get information for specific hardware component. For example:

inxi --cpu
inxi --memory
inxi --disk
inxi --network
inxi --usb
inxi --graphics
inxi --audio

We can use -h option to display help menu where can find all available options.

inxi -h

Uninstall inxi

If inxi is no longer needed, remove a script file:

sudo rm -rf /usr/local/bin/inxi

Leave a Comment

Cancel reply

Your email address will not be published.