I would like to know about package information as i have mentioned in my Question .
For example , There is a installed package in my system . So i want to know whether its a main package or dependency to some other package .
Thank you .
Mik has described how one can find the dependencies of a package (those packages which it depends on).
I believe GrSr is trying to find out if any given package has any reverse dependencies - that is, if any packages depend on it.
An answer to a similar question suggests the use of
An even more dramatic example would be
Probably the simplest way to acquire the information you are looking for is to try to remove the package in question. If the package is depended on by other installed packages, they will be listed for removal.
For example, if I try
Obviously a lot of packages depend on APT. On the
other hand, if I try
No installed packages depend on youtube-dl. It is a "main package" rather than a dependency.
A Word of Caution
I highly recommend you add the
you can use it to show all packages that depend on the package you are wondering about.
For example, if you want to know all of the packages that depend on xorg, and their state, simply do
and it will return the following
You can see that xorg is installed because I have
One way is to use apt-cache, which you can use to query many packages or search for them. It is important to note that with
With, for example,
There are many other useful features of
For how to use
If you prefer, you could also go into synapic package manager.
Just search for your package, right click on it, and choose properties.