-
Notifications
You must be signed in to change notification settings - Fork 700
Install On Fedora
MichaIng edited this page May 2, 2025
·
9 revisions
- Below instructions are for the old Python 2 based version of motionEye.
- Please refer to our new install instructions for the new Python 3 based version: https://github.com/motioneye-project/motioneye#installation
- Please open an issue at https://github.com/motioneye-project/motioneye/issues if you can update below instructions.
- Read the general Installation page first.
- These instructions apply to relatively recent Fedora distributions. Depending on the release, you'll need to replace
dnfwith the olderyumcommand. - All commands require root; use
sudobefore each command or become root usingsudo -i.
-
Make sure you have rpmfusion added to your system (required for both
ffmpegandmotion):dnf install --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm -
Install
motion,ffmpegandv4l-utils:dnf install motion ffmpeg v4l-utils -
Install the dependencies from the repositories:
yum install python-pip python-devel gcc libcurl-devel pango-develnote: Python 2.7 is required. If your system still runs Python 2.6 or older, please upgrade.
-
Install
motioneye, which will automatically pull Python dependencies (tornado,jinja2,pillowandpycurl):pip install motioneye -
Prepare the configuration directory:
mkdir -p /etc/motioneye cp /usr/share/motioneye/extra/motioneye.conf.sample /etc/motioneye/motioneye.conf -
Prepare the media directory:
mkdir -p /var/lib/motioneye -
Add an init script, configure it to run at startup and start the
motionEyeserver:cp /usr/share/motioneye/extra/motioneye.systemd-unit /etc/systemd/system/motioneye.service systemctl daemon-reload systemctl enable motioneye systemctl start motioneye -
To upgrade to the newest version of motionEye, just issue:
pip install motioneye --upgrade systemctl restart motioneye
home | installation | faq
Installation (deprecated)
- Install On Debian (deprecated)
- Install on Debian 11 (Bullseye) (deprecated)
- Install On Ubuntu (20.04 ‐ 21.10) (deprecated)
- Install On Raspbian Buster (deprecated)
- Install on Raspbian Bullseye (deprecated)
- Install On Fedora (deprecated)
- Install On Arch (deprecated)
- Install On Other Distros (deprecated)
- Install In Docker (deprecated)
- Manual Installation (deprecated)