Refer to Package management by commandline.Īdditional/Tip: you can find the correct package-name (i.e the name in the repository) using apt-cache search. Selecting best download server may help to speed up update.įinally install the package: sudo apt-get install It is essential to run this command after changing any repositories: sudo apt-get update Visit Ubuntu community help for more information.ĭon't forget to update (make apt aware of your changes): Use this command: sudo add-apt-repository ppa:
Find appropriate ppa according to your Ubuntu release version.For External Repositories, Visit Ubuntu Updates and search by.If the package that you are unable to locate is from a PPA go to the PPA and check if it is available there for your release.To enable all repositories ( main, universe, restricted, multiverse), use the following commands: sudo add-apt-repository main Make sure you have enabled Ubuntu repositories: The following (general) procedure helps to solve this: When apt-get install is unable to locate a package, the package you want to install couldn't be found within repositories that you have added (those in in /etc/apt/sources.list and under /etc/apt//). There are many questions about this topic.