forked from sim0n00ps/OF-DL
Update linux installation docs
This commit is contained in:
parent
edc3d771d1
commit
378a82548b
@ -1,4 +1,4 @@
|
||||
# Linux
|
||||
# Linux
|
||||
|
||||
A Linux release of OF-DL is not available at this time, however you can run OF-DL on Linux using Docker.
|
||||
Please refer to the [Docker](/installation/docker) page for instructions on how to run OF-DL in a Docker container.
|
||||
@ -7,18 +7,17 @@ If you would like to run OF-DL natively on Linux, you can build it from source b
|
||||
|
||||
## Building from source
|
||||
|
||||
- Install the libicu library
|
||||
- Install FFmpeg (and FFprobe)
|
||||
|
||||
```bash
|
||||
sudo apt-get install libicu-dev
|
||||
```
|
||||
Follow the installtion instructions from FFmpeg ([https://ffmpeg.org/download.html](https://ffmpeg.org/download.html)) for your distro (Ubuntu, Debian, Fedora, etc.) to install FFmpeg and FFprobe
|
||||
|
||||
- Install .NET version 8
|
||||
!!! warning
|
||||
|
||||
```bash
|
||||
wget https://dot.net/v1/dotnet-install.sh
|
||||
sudo bash dotnet-install.sh --architecture x64 --install-dir /usr/share/dotnet/ --runtime dotnet --version 8.0.7
|
||||
```
|
||||
Be sure to install FFmpeg version >= 6 and < 8. Other versions of FFmpeg may not decrypt DRM protected videos correctly.
|
||||
|
||||
- Install .NET 10
|
||||
|
||||
Follow the installation instructions from Microsoft ([https://learn.microsoft.com/en-us/dotnet/core/install/linux](https://learn.microsoft.com/en-us/dotnet/core/install/linux)) for your distro (Ubuntu, Debian, Fedora, etc.) to install .NET 10.
|
||||
|
||||
- Clone the repo
|
||||
|
||||
@ -27,15 +26,16 @@ git clone https://git.ofdl.tools/sim0n00ps/OF-DL.git
|
||||
cd 'OF-DL'
|
||||
```
|
||||
|
||||
- Build the project. Replace `%VERSION%` with the current version number of OF-DL (e.g. `1.7.68`).
|
||||
- Build the project. Replace `%VERSION%` with the current version number of OF-DL (e.g. `1.9.20`).
|
||||
|
||||
```bash
|
||||
dotnet publish -p:Version=%VERSION% -c Release
|
||||
cd 'OF DL/bin/Release/net8.0'
|
||||
dotnet publish "OF DL/OF DL.csproj" -p:Version=%VERSION% -p:PackageVersion=%VERSION% -c Release
|
||||
cd 'OF DL/bin/Release/net10.0'
|
||||
```
|
||||
|
||||
- Download the windows release as described on [here](/installation/windows#installation).
|
||||
- Add the `config.json` and `rules.json` files as well as the `cdm` folder to the `OF DL/bin/Release/net8.0` folder.
|
||||
|
||||
- Add the `config.conf` and `rules.json` files as well as the `cdm` folder to the `OF DL/bin/Release/net10.0` folder.
|
||||
|
||||
- Run the application
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user