TowardsDataEngineering icon indicating copy to clipboard operation
TowardsDataEngineering copied to clipboard

Added Search apt package command in Linux.md

Open Hina-softwareEngineer opened this issue 3 years ago • 2 comments

This command helps to find the apt package if you don't remember the name of the package fully.

Hina-softwareEngineer avatar Oct 17 '20 17:10 Hina-softwareEngineer

Can you pls provide an example, how one will be benefited from this command?

arverma007 avatar Oct 19 '20 06:10 arverma007

Yes, sure. For example, you want to install a package python-pyaudio but you don't remember the fully name of it. Before installation, you can use apt-cache search python-py . Then this command lists all apt packages containing the python-py keyword and you will see the full name of your package i.e. python-pyaudio in the list. You get the proper name and spelling of the package. Now you can install it using apt-get install package-name.

Hina-softwareEngineer avatar Oct 19 '20 18:10 Hina-softwareEngineer