how can i know the required library for a specific package or a specific command For example : when i write apt-get install build-essentials i get a msg ( command not found or unable to locate ) so we download the library libc6-dev g++ by sudo apt install libc6-dev g++ then re install ( sudo apt install build-essentials ) and it will be installed so how we can know that the library libc6-dev g++ is related to build-essentials
Asked
Active
Viewed 229 times
1 Answers
0
Use apt-cache depends build-essential
to list dependencies.
See apt-cache manpage if you need more details.

Swisstone
- 6,725
- 7
- 22
- 32