add Arch Linux package (#1957) (#1969)

* add Arch Linux package

* Update README.md

Co-authored-by: database64128 <free122448@hotmail.com>

---------

Co-authored-by: database64128 <free122448@hotmail.com>
This commit is contained in:
Alessandro Ros 2023-06-21 16:09:22 +02:00 committed by GitHub
parent f79c4783c7
commit 4d55824508
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 15 additions and 2 deletions

View File

@ -59,6 +59,7 @@ _rtsp-simple-server_ has been rebranded as _MediaMTX_. The reason is pretty obvi
* [Installation](#installation)
* [Standalone binary](#standalone-binary)
* [Docker image](#docker-image)
* [Arch Linux package](#arch-linux-package)
* [OpenWRT package](#openwrt-package)
* [Basic usage](#basic-usage)
* [General](#general)
@ -113,7 +114,7 @@ _rtsp-simple-server_ has been rebranded as _MediaMTX_. The reason is pretty obvi
## Installation
There are several installation methods available: standalone binary, Docker image and OpenWRT package.
There are several installation methods available: standalone binary, Docker image, Arch Linux package and OpenWRT package.
### Standalone binary
@ -154,6 +155,16 @@ docker run --rm -it \
bluenviron/mediamtx
```
### Arch Linux package
If you are running the Arch Linux distribution, run:
```
git clone https://aur.archlinux.org/mediamtx.git
cd mediamtx
makepkg -si
```
### OpenWRT package
1. In a x86 Linux system, download the OpenWRT SDK corresponding to the wanted OpenWRT version and target from the [OpenWRT website](https://downloads.openwrt.org/releases/) and extract it.
@ -180,7 +191,9 @@ bluenviron/mediamtx
make package/mediamtx/compile -j$(nproc)
```
5. Transfer the .ipk file from `bin/packages/*/base` to the OpenWRT system and install it with:
5. Transfer the .ipk file from `bin/packages/*/base` to the OpenWRT system
6. Install it with:
```
opkg install [ipk-file-name].ipk