How to Update the inxi command to the latest version

Write tutorials for Linux Mint here
More tutorials on https://github.com/orgs/linuxmint/discu ... /tutorials and (archive) on https://community.linuxmint.com/tutorial
Forum rules
Don't add support questions to tutorials; start your own topic in the appropriate sub-forum instead. Before you post read forum rules
User avatar
Larry78723
Level 14
Level 14
Posts: 5479
Joined: Wed Jan 09, 2019 7:01 pm
Location: Jasper County, SC, USA

How to Update the inxi command to the latest version

Post by Larry78723 »

Open a terminal

Type or copy/paste) the following command in the terminal:

Code: Select all

sudoedit /etc/inxi.conf
At the bottom replace:
B_ALLOW_UPDATE=false

with:
B_ALLOW_UPDATE=true
Save and close the file (Ctrl O then Ctrl X)

After closing the file the following command can be run in a terminal to update inxi:

Code: Select all

sudo inxi -U
After this, Update Manager should keep inxi updated.
Image
If you have found the solution to your initial post, please open your original post, click on the pencil, and add (Solved) to the Subject, it helps other users looking for help, and keeps the forum clean.
User avatar
SMG
Level 25
Level 25
Posts: 31320
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: How to Update the inxi command to the latest version

Post by SMG »

To find out the current version on one's computer run:

Code: Select all

inxi --version
The latest version as of today is

Code: Select all

inxi 3.3.07-00 (2021-10-11)
Image
A woman typing on a laptop with LM20.3 Cinnamon.
User avatar
karlchen
Level 23
Level 23
Posts: 18173
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: How to Update the inxi command to the latest version

Post by karlchen »

Larry78723 wrote: Sun Oct 17, 2021 11:38 amAfter closing the file the following command can be run in a terminal to update inxi:

Code: Select all

sudo inxi -U
After this, Update Manager should keep inxi updated.
Part one is correct:
With the setting B_ALLOW_UPDATE='true' in the file /etc/inxi.conf, the terminal command sudo inxi -U can be used to update inxi.
Part two is not:
Yet, this does not mean that Update Manager will do so for you, because the inxi version in the repos will still be outdated. Sorry.
Image
The people of Alderaan have been bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine for 762 days now.
Lifeline
User avatar
MikeNovember
Level 7
Level 7
Posts: 1839
Joined: Fri Feb 28, 2020 7:37 am
Location: Nice, Paris, France

Re: How to Update the inxi command to the latest version

Post by MikeNovember »

Hi,

If you want inxi to be updated by the update manager, you should go to this page: https://launchpad.net/~unit193/+archive/ubuntu/inxi and add the ppa:

Code: Select all

sudo add-apt-repository ppa:unit193/inxi
sudo apt-get update
As mentioned in inxi web page https://smxi.org/site/install.htm#inxi, "Please note that unit193 is also the Debian maintainer for inxi, so his package version tends to be up to date".

Regards,

MN

PS: after update, the installed version is 3.3.07-00, 2021.10.11, same version in synaptic and in "inxi --version".
_____________________________
Linux Mint 21.3 Mate host with Ubuntu Pro enabled, VMware Workstation Player with Windows 10 Pro guest, ASUS G74SX (i7-2670QM, 16 GB RAM, GTX560M with 3GB RAM, 1TB SSD).
User avatar
Pjotr
Level 23
Level 23
Posts: 19884
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: How to Update the inxi command to the latest version

Post by Pjotr »

Not necessary to add that PPA. This is better:

1. Remove the update block for inxi entirely, simply by wiping the inxi.conf file:

Code: Select all

sudo rm -v /etc/inxi.conf
2. Then do:

Code: Select all

sudo inxi -U
3. Check:

Code: Select all

pjotr@IdeaPad-3-14ADA05:~$ inxi --version
inxi 3.3.08-00 (2021-10-21)
Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
User avatar
SMG
Level 25
Level 25
Posts: 31320
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: How to Update the inxi command to the latest version

Post by SMG »

Pjotr wrote: Mon Oct 25, 2021 5:13 pm Not necessary to add that PPA. This is better:
How will one know updates are available if they use your proposed method?
Image
A woman typing on a laptop with LM20.3 Cinnamon.
User avatar
Pjotr
Level 23
Level 23
Posts: 19884
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: How to Update the inxi command to the latest version

Post by Pjotr »

SMG wrote: Mon Oct 25, 2021 5:34 pm
Pjotr wrote: Mon Oct 25, 2021 5:13 pm Not necessary to add that PPA. This is better:
How will one know updates are available if they use your proposed method?
Well, evidently not.... But as updating inxi is only really necessary if your current hardware isn't being detected properly by inxi, updates for inxi aren't exactly urgent anyway. :wink:
Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
User avatar
SMG
Level 25
Level 25
Posts: 31320
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: How to Update the inxi command to the latest version

Post by SMG »

Pjotr wrote: Mon Oct 25, 2021 5:43 pmBut as updating inxi is only really necessary if your current hardware isn't being detected properly by inxi
There have been enhancements to inxi since the version that comes with LM20. Now bluetooth and other usb-type hardware are also listed when they were not in the past. That is in addition to the code changes for bug fixes and ability to recognize new hardware.

Not necessarily an urgent need, but sometimes you don't know what you are missing until a newer version is released.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
User avatar
AZgl1800
Level 20
Level 20
Posts: 11145
Joined: Thu Dec 31, 2015 3:20 am
Location: Oklahoma where the wind comes Sweeping down the Plains
Contact:

Re: How to Update the inxi command to the latest version

Post by AZgl1800 »

I had hoped to copy all of the MAN INXI info into a Document for easy searching,

unfortunately, Terminal does not make that easy, it will not scroll page the edge of the page,
and there are in excess of 1400 lines of MAN line items. :(

I did an update a few minutes ago, and noted it has been revised since this thread started, and I noted the Bluetooth items also.

INXI is a super, intensive, and useful debugging tool.
I can't image the devotion it has taken over the years to keep improving on it.
LM21.3 Cinnamon ASUS FX705GM | Donate to Mint https://www.patreon.com/linux_mint
Image
User avatar
absque fenestris
Level 12
Level 12
Posts: 4124
Joined: Sat Nov 12, 2016 8:42 pm
Location: Confoederatio Helvetica

Re: How to Update the inxi command to the latest version

Post by absque fenestris »

AZgl1500 wrote: Mon Oct 25, 2021 6:37 pm I had hoped to copy all of the MAN INXI info into a Document for easy searching,

unfortunately, Terminal does not make that easy, it will not scroll page the edge of the page,
and there are in excess of 1400 lines of MAN line items. :(

I did an update a few minutes ago, and noted it has been revised since this thread started, and I noted the Bluetooth items also.

INXI is a super, intensive, and useful debugging tool.
I can't image the devotion it has taken over the years to keep improving on it.

You can make a copy of the inxi.1.gz, extract it and process the text in LO Writer in a more readable and printable way.

Image
User avatar
all41
Level 19
Level 19
Posts: 9498
Joined: Tue Dec 31, 2013 9:12 am
Location: Computer, Car, Cage

Re: How to Update the inxi command to the latest version

Post by all41 »

Pjotr wrote: Mon Oct 25, 2021 5:13 pm Not necessary to add that PPA. This is better:

1. Remove the update block for inxi entirely, simply by wiping the inxi.conf file:

Code: Select all

sudo rm -v /etc/inxi.conf
2. Then do:

Code: Select all

sudo inxi -U
3. Check:

Code: Select all

pjotr@IdeaPad-3-14ADA05:~$ inxi --version
inxi 3.3.08-00 (2021-10-21)
My version was:
$ inxi --version
inxi 3.3.06-00 (2021-07-21)
I ran only this:
sudo inxi -U
Now version is:
$ inxi --version
inxi 3.3.08-00 (2021-10-21)


Don't know why the extra commands or ppa is necessary--am I missing something?
Everything in life was difficult before it became easy.
User avatar
SMG
Level 25
Level 25
Posts: 31320
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: How to Update the inxi command to the latest version

Post by SMG »

all41 wrote: Mon Oct 25, 2021 10:02 pmDon't know why the extra commands or ppa is necessary--am I missing something?
The default install of Linux Mint has updating of inxi turned off because there is no link established to inxi's package management system. Update Manager is not set up to update inxi.

The steps listed in the first post are how to update inxi. One changes the code so the block to updating is removed and then you can manually do the update through the command line. Pjotr removed the entire file which contained the block to updating rather than just changing the code in the file.

I seem to recall the developer mentioning he planned to make changes to inxi so the setting in the conf file would not matter, but I wasn't sure if that worked yet or it would apply to something happening in the future. If you did not remove the block in the file and were able to do the update, maybe that change is already in place.

By adding the PPA, you will be notified through Update Manager when a new version is available just like you would with any other PPA.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
User avatar
all41
Level 19
Level 19
Posts: 9498
Joined: Tue Dec 31, 2013 9:12 am
Location: Computer, Car, Cage

Re: How to Update the inxi command to the latest version

Post by all41 »

So manual updating as:
sudo inxi -U
is not blocked, only apt?
Everything in life was difficult before it became easy.
User avatar
SMG
Level 25
Level 25
Posts: 31320
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: How to Update the inxi command to the latest version

Post by SMG »

all41 wrote: Mon Oct 25, 2021 10:20 pm So manual updating as:
sudo inxi -U
is not blocked, only apt?
My understanding is manual updating is blocked unless you make a change to the etc/inxi.conf file.

However, about six weeks ago the inxi developer indicated he planned to make a change in the future so one could update manually regardless of whether that file existed. (It is possible that change has already been made.)
Image
A woman typing on a laptop with LM20.3 Cinnamon.
User avatar
all41
Level 19
Level 19
Posts: 9498
Joined: Tue Dec 31, 2013 9:12 am
Location: Computer, Car, Cage

Re: How to Update the inxi command to the latest version

Post by all41 »

OK, I understand what is being said, just
UM has no update history for inxi--same with SPM.
Just plain sudo inxi -U works without other listed modifications.
I have a fresh unmolested 20.2 that I will try this on and
will post my findings.

ha ha--double ds on me
In a fresh install it works exactly as pjotr stated.
So I surmise that I have already crossed this bridge without documenting it--double ds again.
learn, learn, learn--and be gratified in the process.
Everything in life was difficult before it became easy.
User avatar
AZgl1800
Level 20
Level 20
Posts: 11145
Joined: Thu Dec 31, 2015 3:20 am
Location: Oklahoma where the wind comes Sweeping down the Plains
Contact:

Re: How to Update the inxi command to the latest version

Post by AZgl1800 »

SMG wrote: Mon Oct 25, 2021 10:27 pm
all41 wrote: Mon Oct 25, 2021 10:20 pm So manual updating as:
sudo inxi -U
is not blocked, only apt?
My understanding is manual updating is blocked unless you make a change to the etc/inxi.conf file.

However, about six weeks ago the inxi developer indicated he planned to make a change in the future so one could update manually regardless of whether that file existed. (It is possible that change has already been made.)
as I mentioned just above in my last post,
I did a Manual Update today, and the version number changed to reflect the latest. version as explained above.

So, as of right now, Manual Updates are possible.
LM21.3 Cinnamon ASUS FX705GM | Donate to Mint https://www.patreon.com/linux_mint
Image
User avatar
AZgl1800
Level 20
Level 20
Posts: 11145
Joined: Thu Dec 31, 2015 3:20 am
Location: Oklahoma where the wind comes Sweeping down the Plains
Contact:

Re: How to Update the inxi command to the latest version

Post by AZgl1800 »

absque fenestris wrote: Mon Oct 25, 2021 9:30 pm
AZgl1500 wrote: Mon Oct 25, 2021 6:37 pm I had hoped to copy all of the MAN INXI info into a Document for easy searching,

unfortunately, Terminal does not make that easy, it will not scroll page the edge of the page,
and there are in excess of 1400 lines of MAN line items. :(

I did an update a few minutes ago, and noted it has been revised since this thread started, and I noted the Bluetooth items also.

INXI is a super, intensive, and useful debugging tool.
I can't image the devotion it has taken over the years to keep improving on it.
You can make a copy of the inxi.1.gz, extract it and process the text in LO Writer in a more readable and printable way.

Image
Thank you,

worked perfectly.
Last edited by SMG on Tue Oct 26, 2021 9:23 am, edited 1 time in total.
Reason: Corrected quote attribution.
LM21.3 Cinnamon ASUS FX705GM | Donate to Mint https://www.patreon.com/linux_mint
Image
rickNS
Level 9
Level 9
Posts: 2914
Joined: Tue Jan 25, 2011 11:59 pm

Re: How to Update the inxi command to the latest version

Post by rickNS »

AZgl1500 wrote: Mon Oct 25, 2021 6:37 pm I had hoped to copy all of the MAN INXI info into a Document for easy searching,

unfortunately, Terminal does not make that easy, it will not scroll page the edge of the page,
EDIT menu > Select all > right click, Copy
Mint 20.0, and 21.0 MATE on Thinkpads, 3 X T420, T450, T470, and X200
User avatar
AZgl1800
Level 20
Level 20
Posts: 11145
Joined: Thu Dec 31, 2015 3:20 am
Location: Oklahoma where the wind comes Sweeping down the Plains
Contact:

Re: How to Update the inxi command to the latest version

Post by AZgl1800 »

rickNS wrote: Wed Oct 27, 2021 9:18 pm
AZgl1500 wrote: Mon Oct 25, 2021 6:37 pm I had hoped to copy all of the MAN INXI info into a Document for easy searching,

unfortunately, Terminal does not make that easy, it will not scroll page the edge of the page,
EDIT menu > Select all > right click, Copy
um,,,, that only copies the screen that is viewable :roll:
LM21.3 Cinnamon ASUS FX705GM | Donate to Mint https://www.patreon.com/linux_mint
Image
User avatar
all41
Level 19
Level 19
Posts: 9498
Joined: Tue Dec 31, 2013 9:12 am
Location: Computer, Car, Cage

Re: How to Update the inxi command to the latest version

Post by all41 »

AZgl1500 wrote: Wed Oct 27, 2021 9:39 pm
rickNS wrote: Wed Oct 27, 2021 9:18 pm
AZgl1500 wrote: Mon Oct 25, 2021 6:37 pm I had hoped to copy all of the MAN INXI info into a Document for easy searching,

unfortunately, Terminal does not make that easy, it will not scroll page the edge of the page,
EDIT menu > Select all > right click, Copy
um,,,, that only copies the screen that is viewable :roll:
Try it like this:

Code: Select all

yelp man:inxi > ~/inxi_manual.txt
Then in the page that opens click the hamburger/Print/Print-to-file as a nice .pdf
Everything in life was difficult before it became easy.
Post Reply

Return to “Tutorials”