On a freshly installed Ubuntu system, apt-get may not have bothered to download its list of packages. This can lead to the confusing position of ‘E: Unable to locate package X
‘ on almost everything. Fix this by entering:
sudo apt-get clean
sudo apt-get update
Packages should then be visible and installable via the usual command:
sudo apt-get install X
If you’re not sure on the package name, search for it using:
apt-cache search X
If you still cannot find the software you’re after you may of course need to add additional repositories.
Advertisements