![]() If the package is still not found, post the complete content of /etc/apt/sources.list and the output of sudo apt-get update. If you need to modify /etc/apt/sources.list, run sudo apt-get update afterwards, then try installing again. If you only find a line like deb precise main restrictedĪnd no line with universe, add universe at the end of that line, or a separate line with precise universe, as illustrated above. Or deb precise main restricted universe multiverse Check that this file contains a line like deb precise universe You can see what repositories you have enabled in the file /etc/apt/sources.list (and in files in the directory /etc/apt/). If you have Ubuntu 12.04, make sure that you have turned on the universe repository. If you have an older release of Ubuntu, you'll need to upgrade or to get xbmc from another place. Xbmc is only available in the universe repository, only since Ubuntu 12.04 (precise). To install: sudo dpkg -i apt0.8. For the 64-bit version: download here. compiling from source, downloading executable binary, etc. 10 Answers Sorted by: 1109 You can use apt-get command (requires sudo) sudo apt-get install libboost-all-dev Or you can call aptitude search boost find packages you need and install them using the apt-get command. OpenCV-Python can be installed in Ubuntu in two ways: Install from pre-built binaries available in Ubuntu repositories Compile from the source. Below steps are tested for Ubuntu 16.04 and 18.04 (both 64-bit). Note: If package is not available on repository any how, than you have to wait until it is available (in the case of new/updated versions) or use other installation processes than apt-get e.g. Goals In this tutorial We will learn to setup OpenCV-Python in Ubuntu System. What does "Package has no installation candidate" mean?.How do I resolve unmet dependencies after adding a PPA? Setup Ubuntu 16.04 圆4 with Dropbox, Git, Create Private SSH Key, Htop, Chrome, Sublime Text, R, PostgreSQL.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.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |