Skip to content

Instantly share code, notes, and snippets.

@alastorid
Created August 3, 2017 07:55
Show Gist options
  • Save alastorid/b10a72dcb8d302c64a2594f2628eb832 to your computer and use it in GitHub Desktop.
Save alastorid/b10a72dcb8d302c64a2594f2628eb832 to your computer and use it in GitHub Desktop.
Install OBS in Centos7 or rhel
# first of all, you must nux repo enabled
# and nux needs epel repo
sudo yum -y install epel-release && rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm
#then
sudo yum install libX11-devel mesa-libGL-devel libv4l-devel \
pulseaudio-libs-devel x264-devel freetype-devel \
fontconfig-devel libXcomposite-devel libXinerama-devel \
qt5-qtbase-devel qt5-qtx11extras-devel libcurl-devel \
systemd-devel ffmpeg ffmpeg-devel
git clone https://github.com/jp9000/obs-studio.git
cd obs-studio
mkdir build && cd build
cmake -DUNIX_STRUCTURE=1 ..
make LDFLAGS+=-s -j4
sudo make install
# add obs shared lib path
sudo echo /usr/local/lib > /etc/ld.so.conf.d/obs.conf
sudo ldconfig -v
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment