0

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

Paul
  • 3,037
  • 6
  • 27
  • 40

1 Answers1

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