How To Install http-parser on Fedora 36
Introduction
In this tutorial we learn how to install http-parser
on Fedora 36.
What is http-parser
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
or dnf
to install http-parser
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install http-parser.
Install http-parser on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install http-parser
using dnf
by running the following command:
sudo dnf -y install http-parser
Install http-parser on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install http-parser
using yum
by running the following command:
sudo yum -y install http-parser
How To Uninstall http-parser on Fedora 36
To uninstall only the http-parser
package we can use the following command:
sudo dnf remove http-parser
http-parser Package Contents on Fedora 36
---
title: "How To Install http-parser on Fedora 36"
linkTitle: "http-parser"
type: "docs"
description: "In this tutorial we learn how to install http-parser in Fedora 36. http-parser is HTTP request/response parser for C"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/http-parser-featured.png
---
## Introduction
In this tutorial we learn how to install `http-parser` on Fedora 36.
### What is `http-parser`
> 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` or `dnf` to install `http-parser` on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install http-parser.
## Install http-parser on Fedora 36 Using dnf
Update yum database with `dnf` using the following command.
```bash
sudo dnf makecache --refresh
After updating yum database, We can install http-parser
using dnf
by running the following command:
sudo dnf -y install http-parser
Install http-parser on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install http-parser
using yum
by running the following command:
sudo yum -y install http-parser
How To Uninstall http-parser on Fedora 36
To uninstall only the http-parser
package we can use the following command:
sudo dnf remove http-parser
http-parser Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/61
/usr/lib/.build-id/61/3aa795764f2a5dadf82657a5e5a252ce64b8d4
/usr/lib/.build-id/9c
/usr/lib/.build-id/9c/5231964cc278e404106364a7d353150d403274
/usr/lib64/libhttp_parser.so.2
/usr/lib64/libhttp_parser.so.2.9.4
/usr/lib64/libhttp_parser_strict.so.2
/usr/lib64/libhttp_parser_strict.so.2.9.4
/usr/share/doc/http-parser
/usr/share/doc/http-parser/AUTHORS
/usr/share/doc/http-parser/README.md
/usr/share/licenses/http-parser
/usr/share/licenses/http-parser/LICENSE-MIT
References
Summary
In this tutorial we learn how to install http-parser
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).
/usr/lib/.build-id /usr/lib/.build-id/8f /usr/lib/.build-id/8f/d73d411af2c6dde54587f5d7ad52db144019d5 /usr/lib/.build-id/94 /usr/lib/.build-id/94/e4c62387a17abc5b037e54417f89771e603405 /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 /usr/share/doc/http-parser/AUTHORS /usr/share/doc/http-parser/README.md /usr/share/licenses/http-parser /usr/share/licenses/http-parser/LICENSE-MIT
## References
* [http-parser website](https://github.com/nodejs/http-parser)
## Summary
In this tutorial we learn how to install `http-parser` on [Fedora 36](/fedora/36/) using [yum](/fedora/36/yum/) and [dnf]((/fedora/36/dnf/).