How to install inxi using a variety of methods:
Page Version: 2.2 Page Updated: 2017-11-30
- Installing inxi from distro repos
- Installing inxi manually
- Using inxi in Konversation
- Installing the inxi man page
Please note that inxi will always support all Linux distributions as long as they have gawk and the other recommended applications, and inxi dependencies will never require the latest of anything, so you can always safely install inxi on a system then update it to latest inxi version no matter what. In other words, if inxi runs the first time you install it, after updating dependencies, inxi will always run on your system, as long as the project remains in these hands.
If you use your distribution's package management system to install inxi, then you will have the man pages, if you install it manually, then just run inxi -U one time and it will grab the man page as well during the update.
Because inxi is spreading widely through the distribution ecosystem, always first check to see if a primary or secondary repository for your distribution has inxi before installing it manually, though some distributions have seriously out of data inxi versions, so you might want to install the package, then update it manually with -U. See the inxiFAQs page for directions on how to override distribution blocks of -U.
See bottom of page for directions on setting up Konversation links so you can just type in /inxi options to show inxi in IRC.
Installing inxi from distro repos
I can't track all the Linux distributions, these are the ones I know about as of 2014-04-13:
- As of Debian Jesse, Debian Sid/Testing - inxi is in apt, so just do:
apt-get install inxiIf in doubt, just search for it in apt, it's there, install it.
apt-cache search inxi
apt-cache search inxiIf it is, just install it with apt. If it is not, add the unit193 repository like so:
sudo apt-add-repository ppa:unit193/inxi && apt-get update ## then just install inxi apt-get install inxi
echo 'deb http://ppa.launchpad.net/unit193/inxi/ubuntu trusty main' > /etc/apt/sources.list.d/unit193-inxi.list
echo 'deb http://packages.siduction.org/base unstable main' > /etc/apt/sources.list.d/siduction.listthen just update and install inxi:
apt-get update apt-get install inxi
Installing inxi manually
- For smxi users, follow the steps here. But generally if you use Debian use the apt version unless you want to make sure you always have the latest inxi, this would be particularly relevant in Stable.
- For most others, use (except in Arch or Pardus), as root:
cd /usr/local/bin && wget -Nc smxi.org/inxi && chmod +x inxi
cd /usr/bin && wget -Nc smxi.org/inxi && chmod +x inxi
Using inxi in Konversation
For usage in Konversation (as root):
ln -s /usr/local/bin/inxi /usr/share/apps/konversation/scripts/inxi
ln -s /usr/local/bin/inxi /usr/share/kde4/apps/konversation/scripts/inxi
ln -s /usr/local/bin/inxi /usr/share/konversation/scripts/inxiIf the symbolic link does not result in /inxi working, add this link and it should work right away:
ln -s /usr/share/konversation /usr/share/apps/
Installing the inxi man page
If you did not use a distribution installed package to install inxi, then you might want to run inxi again to update the man pages as well, with this command: inxi -U This will then also install the man pages. Please do not use that option in general if you installed inxi from your distribution's repositories, the packagers should have included the man files in the inxi package. If in doubt, first try this command: man inxi
If nothing happens, you don't have the man page, which means you have either an old install, or you installed it manually. In that case, just upgrade it with -U and everything should be updated automatically. If the man page does not automatically update when you run -U, it means you have an older inxi, and need to use -U again, so the new version can then bring in the man page.