6

enter image description here

Can anyone tell me what i am doing wrong here? I have run updates, upgrades and dist-upgrades, rebooted the system. Still lshw is not recognized.

I am running Kali rolling dist. I have never had this problem on any other version of Linux I have tried - is this maybe something specific to Kali?

Matthew
  • 283
  • 4
    when you do your apt-get you have to use apt-get install so that it knows you're trying to install a package with that name. So the full command should be apt-get install lshw – Bratchley Apr 23 '17 at 01:15
  • 1
    I kinda wanna delete this question because of the negative reviews, but it has 2500 views, showing that it is a question being searched online regularly enough to help people who may not be members of Superuser. I remember I found answers on superuser long before I became a member. I think I will leave it up to help others, and ultimately wait for judgement by the moderators who we worship without criticism. – Matthew Nov 21 '17 at 21:46
  • @Matthew. Perhaps. Though I came here looking for how to get lshw on ubuntu core, so not too useful. – Yarek T Aug 16 '21 at 11:22

1 Answers1

21

You need to install the lshw package.

$ sudo apt-get install lshw
Alxs
  • 2,200
  • 3
  • 21
  • 31