LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   Is there any UNIX command to display a list of all package name installed in Ubuntu? (https://www.linuxquestions.org/questions/ubuntu-63/is-there-any-unix-command-to-display-a-list-of-all-package-name-installed-in-ubuntu-917755/)

livesimple 12-08-2011 05:59 AM

Is there any UNIX command to display a list of all package name installed in Ubuntu?
 
Quote:

Originally Posted by corp769 (Post 4545045)
Awesome..... Could you mark your thread as solved using the thread tools located at the top of the page, and give rep if required? Thanks!

Cheers,

Josh

Is there any unix command to display list of all package name installed in ubuntu and windows ?

Nylex 12-08-2011 06:05 AM

Quote:

Originally Posted by livesimple (Post 4545050)
Is there any unix command to display list of all package name installed in ubuntu and windows ?

Please put separate questions in separate threads.

corp769 12-08-2011 06:10 AM

Only in linux..... Remember, linux is NOT windows. You can not access windows in that sort of sense.

But as far as within ubuntu, yes, with the following:
Code:

dpkg --get-selections > software_list
After you run that, you can view the outputted file with any text editor of your choice to view all installed applications and programs.

Cheers,

Josh

PS - Like Nylex said, please refrain from posting multiple subjects within one thread. If you have any more questions, please search the forums and the internet BEFORE you post, and if you still need assistance, then by all means, create a new thread.

widget 12-08-2011 12:48 PM

As an educational addition to the above information on package management, commands using "dpkg" are not unix commands. They are not even Linux generic commands.

They are specific to Debian and Debian derived OS'. Put simply, "dpkg" is the heart of your package management.

There is an awful lot of information available about dpkg on your box and on the internet. A good place to start is;
Code:

man dpkg
Going to synaptic and running a search there for "dpkg" will get you some other interesting documentation.

A search on your favorite search engine will get you many pages of information.

Try it sometime. You will find it a fascinating study and you will be amazed at the power you can have. In such a study you will probably find references to "aptitude". Ubuntu, in their great wisdom, dropped this as a default install on their systems. You may find you want to install that too.


All times are GMT -5. The time now is 06:30 AM.