When I surf some technical forum, I always saw someone asking why cannot install some package on my Linux distro and it just keep throwing me “Unable to locate package…”. Well, this is a common issue whenever you are new to the Linux world. Due to I was set up with my new Linux environment I can demonstrate how you can do to easily resolve this.

You resolve this simply by enter “sudo apt-get update” and supply with your password. After it finish to get package lists from the repositories then you may enter with “sudo apt install xxx” to install your desired package. (In my instance is Htop).



Then I was able to run htop on my Kali from the terminal. Remember that when Linux require to re-synchronize the package index files from their sources. This is very normal especially when you setup with a new environment.
