New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

Command for fetch the list of software installed


Post Reply New Thread Subscribe

 
Thread Tools
srijai

 
Member Since: May 23, 2007
Posts: 3
srijai is on a distinguished road

srijai is offline
Is there any specific darwin command to fetch the list of software installed in a mac machine. If not a command, is there any other way to fetch it.

It would be of great help if anyone could answer this question.

Thanks in advance.

Srijai.
QUOTE Thanks
NanoBite

 
Member Since: Oct 27, 2005
Posts: 4,714
NanoBite is an unknown at this point

NanoBite is offline
You can view the installed software here:

BlueAppleIconInMenuBar -> About This Mac -> More Info -> Software (In Left Pane)
QUOTE Thanks
srijai

 
Member Since: May 23, 2007
Posts: 3
srijai is on a distinguished road

srijai is offline
Hi Pulse-8,
Thank you for the quick response. But I want to fetch it programatically, so is there any specific command that would return the same details.

Srijai.
QUOTE Thanks
srijai

 
Member Since: May 23, 2007
Posts: 3
srijai is on a distinguished road

srijai is offline
Hi,
I think a ls command in /Applications and its sub folders will fetch the software installed

Srijai.
QUOTE Thanks
Kaurotu

 
Kaurotu's Avatar
 
Member Since: Apr 26, 2007
Location: Geneseo, IL
Posts: 36
Kaurotu is on a distinguished road
Mac Specs: Standard Black MacBook

Kaurotu is offline
Yeah, that's what I would do.

Open your Terminal and change the directory to Applications and just type ls once there.

I need no warrant or sanction upon my being. I am the warrant and sanction. - Ayn Rand
QUOTE Thanks
ApplejustWorks

 
Member Since: Dec 28, 2003
Location: Long Island, NY
Posts: 911
ApplejustWorks is on a distinguished road
Mac Specs: 15" MacBook Pro & 23" ACD

ApplejustWorks is offline
The majority of time you need to be aware of other apps is if you're looking to set a default for a protocol (open these files with this app, programmatically), where you use Launch Services. This is Carbon, but as of now it is the only way to access this infrastructure.

If you're looking at launched apps, NSWorkspace's launchedApplications method returns an NSArray with that information.

Anyway, why do you need to know the apps on the system? If you give the context, perhaps I can lead you further.
QUOTE Thanks

Post Reply New Thread Subscribe


« Book recommendations to learn to develop for the mac | how to find out the user login name? »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Windows to OS X Software Shop List Logan OS X - Apps and Games 0 07-26-2006 10:58 PM
really need advice on a particular situation..PORTING SOFTWARE ONTO G5 poorkid OS X - Operating System 2 06-01-2006 06:38 PM
Updating Mac Software spiv Switcher Hangout 2 03-14-2006 06:10 PM
Apple releases new iPod software for Panther Murlyn iPod Hardware and Accessories 0 10-24-2003 06:12 PM
ADC Members and Software ToGo schweb Apple Rumors and Reports 0 03-13-2003 08:32 AM

All times are GMT -4. The time now is 03:18 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?