apt-cache for all your shopping needs! - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: PINE A64(+) (https://forum.pine64.org/forumdisplay.php?fid=4) +--- Forum: Linux on Pine A64(+) (https://forum.pine64.org/forumdisplay.php?fid=6) +---- Forum: Ubuntu (https://forum.pine64.org/forumdisplay.php?fid=27) +---- Thread: apt-cache for all your shopping needs! (/showthread.php?tid=2296) |
apt-cache for all your shopping needs! - tampadave - 09-30-2016 Hello all. apt-cache is the tool I use to look for packages that are available for my build. In this case, ubuntu 16.04LTS on arm64. apt-cache does not require sudo, and is good to identify the actual package name for whatever program you're looking for, and if there is none, you'll find that out too. Mind you, this is for packages, not all possible projects or source code. Packages are normally software products that work, are packaged, on this distribution, and are popular or essential enough to merit their inclusion in the package database (atp-cache). Code: apt-cache stats Code: apt-cache showpkg <package_name_here> Code: apt-cache search <regex_term> There are more commands for apt-cache, and man apt-cache will get you the manual page for this very handy tool. apt-cache search and apt-cache showpkg have been indispensable to my learning this new platform. Use them and you will see. Oh, and as is usually the case, all of these commands are from bash (the Bourne Again Shell). David RE: apt-cache for all your shopping needs! - pfeerick - 09-30-2016 (09-30-2016, 02:19 PM)tampadave Wrote: Hello all. aptitude is a much more user-friendly tool if on debian (as is already installed) or ubuntu (you may need to do a "sudo apt-get install aptitude" to install it). It also doesn't need sudo for searches, and will prompt if it does need admin privileges at any point. It can be completely keyboard controlled, or with mouse and keyboard. And if you use it instead of apt-get (with the same syntax), it will even try to help work out dependency issues, etc for you. That's not to say your info isn't helpful David... quite the opposite... tools like apt-cache are essential on systems like these in order to see what packages you can install! RE: apt-cache for all your shopping needs! - tampadave - 10-01-2016 Synaptic Package Manager too. In GUI environment. apt-cache is most useful early in a system build, when the boot image is missing all this other stuff. That's when noobs are most frustrated, just for want of knowing what to do, next. David |