Install Motion on CentOS 6

These are some very very brief instructions on how to install Motion on a CentOS 6 system.

Install Prerequisites

yum -y install gcc make
yum -y install libjpeg-turbo libjpeg-turbo-devel

Install Motion

Download Motion, e.g. as a .tgz from SourceForge:

cd /root/


tar zxvf motion-3.2.12.tar.gz


cd /root/motion-3.2.12/
make install

This will install motion in its default location, in subdirectories of /usr/local/, e.g:

  • /usr/local/bin/ for executables,
  • /usr/local/man/ for man pages,
  • /usr/local/etc/ for configuration files,
  • /usr/local/docs/ for documentation,
  • /usr/local/share/ for configuration examples, etc.

Finally, before starting motion you need to copy the default configuration file motion-dist.conf to motion.conf (by default in /usr/local/etc/.

Posted on