Information about the package, hamcrest, which is shipped with common Linux distributions. The hamcrest package is designed for, Library of matchers for building test expressions.
Package Name:
hamcrest
Summary:
Library of matchers for building test expressions
Description:
Provides a library of matcher objects (also known as constraints or predicates) allowing 'match' rules to be defined declaratively, to be used in other frameworks. Typical scenarios include testing frameworks, mocking libraries and UI validation rules.
Architecture:
x86_64
Version:
1.1
Release:
9.5.el6
Size:
206 k
Repository:
base
From Repository:
Licence:
BSD
Control the hamcrest package with the following handy commands outlined below.
yum install hamcrest
This command will install hamcrest on the server.
yum remove hamcrest
This command will un-install hamcrest on the server. When you run this command, you will be asked if you are sure that you want to remove hamcrest, so you have to manually confirm that you want to do this.
yum -y remove hamcrest
This command will un-install hamcrest on the server. When you run this command with th e -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove hamcrest when using the -y flag.
yum update hamcrest
This command will update hamcrest to the latest version. When you run this command, you will be asked if you are sure that you want to remove hamcrest, so you have to manually confirm that you want to do this.
yum -y update hamcrest
This command will update hamcrest to the latest version. When you run this command with the -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove hamcrest when using the -y flag.
yum info hamcrest
This command will show you core information about the hamcrest package.
yum deplist hamcrest
This command will show you the dependencies for hamcrest. Thankfully, when using Yum, if dependencies are required, these are also installed at the same time so you don't have to worry too much about that.
yum check-update hamcrest
This command will check if there is an update waiting on hamcrest. When you run this command this will return nothing if there is nothing to update, or, will return the package name if the package is due to be updated.