Skip to main content
Commonmark migration
Source Link

You can use apt with options (man apt-cache , man apt ..) to get the needed information

dpkg or apt?

 

dpkg should be seen as a system tool (backend), and apt as a tool closer to the user, which overcomes the limitations of the former. These tools work together, each one with its particularities, suited to specific tasks.

e,g 1: you can list the installed package on your system through dpkg or apt:

apt list --installed dpkg -l 

e,g 2 :To find out the dependencies you can use apt-rdepends , or apt-cache showpkg ...

apt-rdepends <package_name> apt-cache showpkg <package_name> 

You can use apt with options (man apt-cache , man apt ..) to get the needed information

dpkg or apt?

 

dpkg should be seen as a system tool (backend), and apt as a tool closer to the user, which overcomes the limitations of the former. These tools work together, each one with its particularities, suited to specific tasks.

e,g 1: you can list the installed package on your system through dpkg or apt:

apt list --installed dpkg -l 

e,g 2 :To find out the dependencies you can use apt-rdepends , or apt-cache showpkg ...

apt-rdepends <package_name> apt-cache showpkg <package_name> 

You can use apt with options (man apt-cache , man apt ..) to get the needed information

dpkg or apt?

dpkg should be seen as a system tool (backend), and apt as a tool closer to the user, which overcomes the limitations of the former. These tools work together, each one with its particularities, suited to specific tasks.

e,g 1: you can list the installed package on your system through dpkg or apt:

apt list --installed dpkg -l 

e,g 2 :To find out the dependencies you can use apt-rdepends , or apt-cache showpkg ...

apt-rdepends <package_name> apt-cache showpkg <package_name> 
Source Link
GAD3R
  • 69.9k
  • 32
  • 147
  • 216

You can use apt with options (man apt-cache , man apt ..) to get the needed information

dpkg or apt?

dpkg should be seen as a system tool (backend), and apt as a tool closer to the user, which overcomes the limitations of the former. These tools work together, each one with its particularities, suited to specific tasks.

e,g 1: you can list the installed package on your system through dpkg or apt:

apt list --installed dpkg -l 

e,g 2 :To find out the dependencies you can use apt-rdepends , or apt-cache showpkg ...

apt-rdepends <package_name> apt-cache showpkg <package_name>