Skip to main content
fixed apt commands to use correct subcommand, made grammar/consistency fixes
Source Link

You can use :

apt dependdepends <package>
apt-cache dependdepends <package>   

Or debtree :

sudo apt install debtree
debtree <package>

man debtree:

Generates dependency graphs (in `dot' syntax) for the specified package...

Dependency graphs will by default show (pre-)dependencies, recommended packages, unversioned conflicts, and virtual packages provided by the requested package. Optionally also, suggested packages and versioned conflicts can also be included.

Put the list of package into a file, then:

cat file |xargs -n 1 apt-cache depends
cat file |xargs -n 1 debtree

You can use :

apt depend <package>
apt-cache depend <package>   

Or debtree

sudo apt install debtree
debtree <package>

man debtree:

Generates dependency graphs (in `dot' syntax) for the specified package...

Dependency graphs will by default show (pre-)dependencies, recommended packages, unversioned conflicts, and virtual packages provided by the requested package. Optionally also suggested packages and versioned conflicts can be included.

Put the list of package into a file then:

cat file |xargs -n 1 apt-cache depends
cat file |xargs -n 1 debtree

You can use :

apt depends <package>
apt-cache depends <package>   

Or debtree :

sudo apt install debtree
debtree <package>

man debtree:

Generates dependency graphs (in `dot' syntax) for the specified package...

Dependency graphs will by default show (pre-)dependencies, recommended packages, unversioned conflicts, and virtual packages provided by the requested package. Optionally, suggested packages and versioned conflicts can also be included.

Put the list of package into a file, then:

cat file |xargs -n 1 apt-cache depends
cat file |xargs -n 1 debtree
added 118 characters in body
Source Link
GAD3R
  • 70.2k
  • 33
  • 148
  • 217

You can use :

apt depend <package>
apt-cache depend <package>   

Or debtree

sudo apt install debtree
debtree <package>

man debtree:

Generates dependency graphs (in `dot' syntax) for the specified package...

Dependency graphs will by default show (pre-)dependencies, recommended packages, unversioned conflicts, and virtual packages provided by the requested package. Optionally also suggested packages and versioned conflicts can be included.

Put the list of package into a file then:

cat file |xargs -n 1 apt-cache depends
cat file |xargs -n 1 debtree

You can use :

apt depend <package>
apt-cache depend <package>   

Or debtree

sudo apt install debtree
debtree <package>

man debtree:

Generates dependency graphs (in `dot' syntax) for the specified package...

Dependency graphs will by default show (pre-)dependencies, recommended packages, unversioned conflicts, and virtual packages provided by the requested package. Optionally also suggested packages and versioned conflicts can be included.

You can use :

apt depend <package>
apt-cache depend <package>   

Or debtree

sudo apt install debtree
debtree <package>

man debtree:

Generates dependency graphs (in `dot' syntax) for the specified package...

Dependency graphs will by default show (pre-)dependencies, recommended packages, unversioned conflicts, and virtual packages provided by the requested package. Optionally also suggested packages and versioned conflicts can be included.

Put the list of package into a file then:

cat file |xargs -n 1 apt-cache depends
cat file |xargs -n 1 debtree
added 36 characters in body
Source Link
GAD3R
  • 70.2k
  • 33
  • 148
  • 217

You can use :

apt depend <package>
apt-cache depend <package>   

Or debtree

sudo apt install debtree
debtree <package>

man debtree:

Generates dependency graphs (in `dot' syntax) for the specified package...

Dependency graphs will by default show (pre-)dependencies, recommended packages, unversioned conflicts, and virtual packages provided by the requested package. Optionally also suggested packages and versioned conflicts can be included.

You can use :

apt depend <package>

Or debtree

sudo apt install debtree
debtree <package>

man debtree:

Generates dependency graphs (in `dot' syntax) for the specified package...

Dependency graphs will by default show (pre-)dependencies, recommended packages, unversioned conflicts, and virtual packages provided by the requested package. Optionally also suggested packages and versioned conflicts can be included.

You can use :

apt depend <package>
apt-cache depend <package>   

Or debtree

sudo apt install debtree
debtree <package>

man debtree:

Generates dependency graphs (in `dot' syntax) for the specified package...

Dependency graphs will by default show (pre-)dependencies, recommended packages, unversioned conflicts, and virtual packages provided by the requested package. Optionally also suggested packages and versioned conflicts can be included.

Source Link
GAD3R
  • 70.2k
  • 33
  • 148
  • 217
Loading