Htop installation issue

Hi,
Kindly advise what the issue here might be(same issue without sudo).
Thanks

https://learn.kodekloud.com/user/courses/labs-linux-foundation-certified-system-administrator-lfcs/module/f81c0b0c-ebab-4714-bbfe-fc2ac7be20f8/lesson/1bee058b-e041-4f17-bf9f-d89c2ad21003?autoplay=true

Hi, please follow the steps below before executing the autogen.sh file.

Install the dependencies of htop:

sudo apt update
sudo apt install libncursesw5-dev autotools-dev autoconf automake build-essential

@raymond.baoly ,
I wasn’t expecting the requirement to install “libncursesw5-dev autotools-dev autoconf automake build-essential,” as it wasn’t mentioned as part of the initial requirements. Could you please clarify why these installations were not pre-configured in the lab environment or mentioned in the instructions?

Appreciate your feedback.
Thanks

It worked. Shouldn’t this still be part of the question as it isn’t at the moment ?

https://learn.kodekloud.com/user/courses/labs-linux-foundation-certified-system-administrator-lfcs/module/f81c0b0c-ebab-4714-bbfe-fc2ac7be20f8/lesson/1bee058b-e041-4f17-bf9f-d89c2ad21003?autoplay=true