Question: how to check if a package is installed in unix?
Answer: Find if a package is installed or not using “has” utility The “has” utility will check the presence of various command line tools on the path and also reports their installed version. Now check if a package is available or not like below. If you see the tick mark (✔), the package is installed.