Sep 20, 2010 · If you want-need the exact package name for the install, try apt-cache search gcc though you may want to pipe it through less. I often do apt-cache search gcc |grep -i gcc | less then run 'apt-get install
That is how you tell apt to search the packages you've downloaded, using REGEX (regular expression, a pattern-matching 'language') -- if your pattern uses any keystrokes that mean something to your command shell (e.g. ❶?*]) you'll need to quote them so that apt-cache will be able to see them, instead of having the shell expand the term to a list of file names that mean something else entirely. Jun 11, 2019 · Is apt-get deprecated? I didn’t find any information that says that apt-get will be discontinued. And it actually shouldn’t be. It still has a lot more functionalities to offer than apt. For low-level operations, in scripting etc, apt-get will still be used. Should I use apt or apt-get? You might be thinking if you should use apt or apt-get. Conversely, can I find what package(s) caused a particular file to be installed? Stack Exchange Network Stack Exchange network consists of 177 Q&A communities including Stack Overflow , the largest, most trusted online community for developers to learn, share their knowledge, and build their careers. Aug 06, 2013 · How To Update the Package Database with Apt-Get. Apt-get operates on a database of known, available software. It performs installations, package searches, and many other operations by referencing this database. Due to this fact, before beginning any packaging operations with apt-get, we need to ensure that our local copy of the database is up
Purging packages using apt-get purge. In order to use the purge command, simply execute “apt-get” with the “purge” option. $ sudo apt-get purge
The apt package management utility which is used in Debian and Ubuntu comes with a handy tool called apt-file which allows a saerch for filenames in the package database. Install apt-file. apt-get install apt-file. Update the apt-file database. apt-file update. Search for a specific file name, e.g. "lcrypto" apt-file search /bin/bash. apt-file
This search engine allows you to search the contents of Debian distributions for any files (or just parts of file names) that are part of packages. You can also get a full list of files in a given package. On Linux operating systems that use the APT package management system, the apt-get command is used to install, remove, and perform other operations on installed software packages. The apt-get command, and other core APT utilities, are available by default in the Debian , Ubuntu , and Linux Mint operating systems.