I want to have a list of all packages that are installed on my server but the command dpkg --get-selections > ~/Package.list doesnt do anything! When i execute it there is no file called "package.list" in the root folder.
Please help me its urgent.
|
I want to have a list of all packages that are installed on my server but the command dpkg --get-selections > ~/Package.list doesnt do anything! When i execute it there is no file called "package.list" in the root folder. Please help me its urgent. |
||||
|
You have to run the same command (there's no need to run it as root)
Then you can
to see the content. Now, if you are not sure how's ~ been processed, you can
And that's it. |
|||||||||||||||||||||
|
|
Use |
|||
|
|
|
You said you've looked in the root folder, but with the "~" you are clearly pointing to the home folder. The root would be /Package.list, or -/Package.list. Check in the home folder. EDIT: As I can see now, even though my answer was correct, it might have been unclear to a fresh user. I'm sorry for introducing additional confusion. @0R10N thanks for good example :) |
||||
|
|
|
If you would like to get the versions of some installed packages, you can pipe commands like this:
your output would look like the following:
|
||||
|
|
|
try this, may work, it work for me.
|
|||
|
|
|
What's with these answers lol all this question is asking is a simple dpkg output list,
|
||||
|
|
Package.listis not the same file aspackage.list. – Reinier Post Jul 17 '16 at 17:27