How To Install http-parser.i686 on Amazon Linux 2
Introduction
In this tutorial we learn how to install http-parser.i686
on Amazon Linux 2.
What is http-parser.i686
This is a parser for HTTP messages written in C. It parses both requests and responses. The parser is designed to be used in performance HTTP applications. It does not make any syscalls nor allocations, it does not buffer data, it can be interrupted at anytime. Depending on your architecture, it only requires about 40 bytes of data per message stream (in a web server that is per connection).
We can use yum
to install http-parser.i686
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install http-parser.i686.
Install http-parser.i686 on Amazon Linux 2 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install http-parser.i686
using yum
by running the following command:
sudo yum -y install http-parser.i686
How To Uninstall http-parser.i686 on Amazon Linux 2
To uninstall only the http-parser.i686
package we can use the following command:
sudo yum remove http-parser.i686
http-parser.i686 Package Contents on Amazon Linux 2
/usr/lib/libhttp_parser.so.2
/usr/lib/libhttp_parser.so.2.9.4
/usr/lib/libhttp_parser_strict.so.2
/usr/lib/libhttp_parser_strict.so.2.9.4
/usr/share/doc/http-parser-2.9.4
/usr/share/doc/http-parser-2.9.4/AUTHORS
/usr/share/doc/http-parser-2.9.4/README.md
/usr/share/licenses/http-parser-2.9.4
/usr/share/licenses/http-parser-2.9.4/LICENSE-MIT
References
Summary
In this tutorial we learn how to install http-parser.i686
on Amazon Linux 2 using yum.