How to find out if you have a specific package installed?
What is the command? For example......... check if you have python.
$ whereis python
which python if you are looking for the binary
ls /var/log/packages/ if you are looking for the package
bash-3.1$ ls /var/log/packages/ |grep python
I put the following lines into $HOME/.bashrc, so every time I only need to do "spkg xxx" (partial name is working too) to see whether a package is installed or not (note: I am a newbie to shell scripting):
|All times are GMT -5. The time now is 02:31 PM.|