I'm trying to install htop on my server (ubuntu 14.04). Here is the command:
sudo apt-get install htopBut it throws:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package htopNoted that it throws E: Unable to locate package .... for everything I would like to install (like phpmyadmin). What's the problem and how can I fix it?
1 Answer
The htop package is in the repository 'universe'. The following commands should work to install it.
sudo add-apt-repository universe
sudo apt-get update
sudo apt-get install htopor as root
add-apt-repository universe
apt-get update
apt-get install htop 10