how to check if a package is intalled in my slackware?

*** remember: a new entry is created in /var/log/packages each time a new package is installed.

so you just have to check the packages directory to see it exists or not!

eg:

# ls /var/log/packages/flash*
ls to check if flash is installed..

# denotes root user

then our ls command begins

returns an output as no file or directory found if it doesnt exist

or the details of combinaton of each flash + any matching keys(since there is a * a wildcard match to zero or more characters after flash ) we have….so it could give output as :

flash me

flash support

flashplugin etc…

hope you got the idea of the files generated…to learn more you could google regex pattern matching which deals with *,? and a lot of wildcard matching….will give an article on it one day soon….

referece:

http://docs.slackware.com/slackware:package_management_hands_on

happy slacking!!!

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s