I have a complete noobs in a shell script, what I want is a shell script that defines a list of currently installed libraries / packages if they are not installed without user permission.
What I want is to determine if the library / package is installed or not on the system
I know the aptitude search command, but I'm looking for a better solution
For example, I have a definition (in a shell script) to check the readline library / package, how I can inside the shell script (I want to create) know that the readline package is currently installed or not.
Any idea or suggestion will certainly help.
Viren source share