List of installed applications

Thread Tools Search this Thread
Operating Systems AIX List of installed applications
# 1  
Old 01-21-2014
List of installed applications

Hi All,

I am new bee in AIX and i am trying to list out installed packages on any AIX machine in below format:
packagename:<application/package name> ; <application/package version> ; <application/package vendor>

can some one please suggest small script which will use

and provide the required output .
# 2  
Old 01-21-2014

here an example:
# lslpp -Lc | head -3
#Package Name:Fileset:Level:State:PTF Id:Fix State:Type:Description:Destination Dir.:Uninstaller:Message Catalog:Message Set:Message Number:Parent:Automatic:EFIX Locked:Install Path:Build Date
ICU4C.rte:ICU4C.rte: : :C: :International Components for Unicode : : : : : : :0:0:/:1241
Java5.sdk:Java5.sdk: : :A:F:Java SDK 32-bit: : : : : : :0:0:/:

Usingawkshould do the rest.

These 2 Users Gave Thanks to -=XrAy=- For This Post:
# 3  
Old 01-23-2014
thanks a lot -=XrAy=- .... i am very new to the scripting field ... so it will be very helpfull if you help me in separating/selecting the required information from command output...thanks a lot again..Smilie

---------- Post updated at 08:22 AM ---------- Previous update was at 05:06 AM ----------

i have one more quesryy. is it posssible to extract vendor information of installed packages on AIX..i have tried using lslpp but have not found any switch..please suggest
# 4  
Old 01-23-2014

there are a lot of documentation and examples for using awk. So i would say google is your friend - sometimes Smilie


'-F' defines the field seperator, in our case ':'
print $1, $2, etc. prints the specific field

lslpp -Lc | awk -F: '{print $1" ; "$8" ; "$3}' will show your the Package Name, Description and Level.

I guess that lslpp will not show you a vendor. In most cases it will be IBM or a open source project. Other third party software, like Oracle or self compiled software is (currently) not managed from AIX (lslpp/rpm).

# 5  
Old 01-23-2014
Originally Posted by -=XrAy=-
I guess that lslpp will not show you a vendor. In most cases it will be IBM or a open source project. Other third party software, like Oracle or self compiled software is (currently) not managed from AIX (lslpp/rpm).
I am not sure if i understand you correctly: in case you mean that you can't create your own installp-packages, this is indeed possible. The tool for it is called mkinstallp and can be downloaded from IBM. It is badly documented, but if you just want to pack straightforward file bundles to be installed via installp it is relatively easy to accomplish. I suggest using its interactive mode for a dummy-package, then copy and edit the resulting template-file with an editor. You can add all sorts of metadata to the package.

I hope this helps.

This User Gave Thanks to bakunin For This Post:
# 6  
Old 01-24-2014
Hi bakunin,

I tryed to say, if you use third party products or specially third party install scripts, AIX (lslpp) will not (automatically) recognize this software. You are right, it is possible to use installp or rpm to build my own package. Currently we use rpm in conjunction with NIM to manage some of our self writen codes/skripts.

Thanks for remark.

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

List of patches and date installed

Does anyone know of a command that would show the list of patches installed and the date it was installed? My understanding is that "showrev -p" would show patches but not the date they were installed. I'm looking for this on a Solaris 10 server. Thanks. (2 Replies)
Discussion started by: ixauditor
2 Replies

2. HP-UX

List of installed application on HP-UX

Hi All, I am trying to list down all the installed application/packages on hp-ux machine in below format : packagename:<application/package name> ; <application/package version> ; <application/package vendor> can someone suggest with small script for this.Will swlist command give... (4 Replies)
Discussion started by: omkar.jadhav
4 Replies

3. Solaris

List of only registered applications on solaris machine

Hi All, I am trying to fetch a list which will give only the registred applications installed on soalris box.I want to exclude rest drivers,database related packages and the list should contains pure application related packages installed on solaruis machine. i am using... (0 Replies)
Discussion started by: omkar.jadhav
0 Replies

4. UNIX for Dummies Questions & Answers

Script to list applications in alphabetical order

I've looking over a script for work and I've had a problem with the script not listing the files in alphabetical order. To look up PIDs for apps, it would be beneficial to have them listed in that order. Here is what I've been reviewing. #!/usr/bin/perl $str = sprintf "%4s %-40s", "PID",... (7 Replies)
Discussion started by: whysolucky
7 Replies

5. Ubuntu

Creating livecd with custom applications installed

Hi all, I recently started using ubuntu. I have studied available documentation to set up the live cd on ubuntu site. But can't seem to find what I am looking for. I have few applications - www and local applications - which I want to be present on the live cd. How can I create a livecd... (2 Replies)
Discussion started by: morningSunshine
2 Replies

6. AIX

command to list all installed patches

hi all i need an command to list all installed patches in aix 5.3 (5 Replies)
Discussion started by: maxim42
5 Replies

7. Programming

Fetch running applications list in Linux

Hi, I need to write a code which will fetch all the application activity on user computers including app name, time of day, duration, version, etc. Using this I need to know which applications are running currently in user's computers. How can it be done programmatically? I need to write the... (1 Reply)
Discussion started by: arunarora
1 Replies

8. AIX

finding 3rd party Applications installed on AIX

Hi,. I want to know how to find out 3rd party application installed on aix, example Oracle database if it is installed on aix box it is not showing as installed using lslpp -l command Regards, Manoj (1 Reply)
Discussion started by: manoj.solaris
1 Replies

9. Ubuntu

list the softwares installed in Linux

I need list of 3rd party softwares installed in a Unix server (eg: Fedora / RedHat). I know if they are system supported format (like rpm format for fedora/redhat, pkg format for debian/ubuntu etc) we can list them by system specific commands ($ rpm -qa). But how to list the softwares installed... (3 Replies)
Discussion started by: uday123
3 Replies

10. Solaris

get installed patch list

Hello all is there any way to get installed patch list on Solaris ? thanks (1 Reply)
Discussion started by: umen
1 Replies
Login or Register to Ask a Question