How to Install and Uninstall libcmocka.i686 Package on Amazon Linux 2

Last updated: October 05,2024

1. Install "libcmocka.i686" package

Please follow the step by step instructions below to install libcmocka.i686 on Amazon Linux 2

$ sudo yum makecache $ sudo yum install libcmocka.i686

2. Uninstall "libcmocka.i686" package

Please follow the step by step instructions below to uninstall libcmocka.i686 on Amazon Linux 2:

$ sudo yum remove libcmocka.i686 $ sudo yum autoremove

3. Information about the libcmocka.i686 package on Amazon Linux 2

Loaded plugins: ovl, priorities
Available Packages
Name : libcmocka
Arch : i686
Version : 1.1.1
Release : 8.amzn2
Size : 34 k
Repo : amzn2-core/2/x86_64
Summary : Lightweight library to simplify and generalize unit tests for C
URL : http://cmocka.org
License : ASL 2.0
Description : There are a variety of C unit testing frameworks available however
: many of them are fairly complex and require the latest compiler
: technology. Some development requires the use of old compilers
: which makes it difficult to use some unit testing frameworks. In
: addition many unit testing frameworks assume the code being tested
: is an application or module that is targeted to the same platform
: that will ultimately execute the test. Because of this assumption
: many frameworks require the inclusion of standard C library
: headers in the code module being tested which may collide with the
: custom or incomplete implementation of the C library utilized by
: the code under test.
:
: CMocka only requires a test application is linked with the
: standard C library which minimizes conflicts with standard C
: library headers. Also, CMocka tries to avoid the use of some of
: the newer features of C compilers.
:
: This results in CMocka being a relatively small library that can
: be used to test a variety of exotic code. If a developer wishes to
: simply test an application with the latest compiler then other
: unit testing frameworks may be preferable.
:
: This is the successor of Google's Cmockery.