Need help?

Our experts have had an average response time of 11.7 minutes in August 2021 to fix urgent issues.

We will keep your servers stable, secure, and fast at all times for one fixed price.

How to install OBS on Linux, Windows and MacOS

by | Feb 7, 2021

Wondering how to install OBS on Linux and Windows? We can help you with the installation.

Recently, we received a request from one of the customers to install OBS (Open Broadcaster Software) on his server. He was a teacher and wanted to conduct online classes for his students.

OBS is a free and open-source video recording and live streaming software program that is written in C, C ++, and Qt, which is mainly used for streaming and recording videos.

Here at Bobcares, we have seen several such Windows-related installations as part of our Server Management Services for web hosts and online service providers.

Today we’ll see how to install OBS on Linux and windows.

 

How to install OBS on Linux Windows and macOS

Now let’s see how our Support Engineers install OBS.

 

Update Server

First, we update our server packages by running the below command.

# apt update && apt -y upgrade

 

Install FFMpeg

OBS requires the implementation of FFmpeg to be installed (FFmpeg is a tool that can record, convert, and stream audio and video files.)

Initially, we verify if it is installed on our system, we will use the -version flag with the ffmpeg command.

# /home/user# ffmpeg -version

As a result, it showed the below output.

Command' FFmpeg' not found, but can be installed with:
apt install ffmpeg

So now, we can install the FFmpeg using the command.

# /home/user# apt install ffmpeg

Now, again we can check and ensure if FFmpeg is installed and available using the FFmpeg command with the -version flag.

# /home/user# ffmpeg -version

After installing FFmpeg, we can now install OBS. For that, first, we shall add the corresponding repository from where the software will be downloaded and installed.

# /home/user# add-apt-repository ppa:obsproject/obs-studio Latest stable release of OBS Studio

After adding the repository in Ubuntu, we update the package manager to ensure that we have the latest packages available.

# /home/user# apt-get update

Finally, we install OBS by running the below command.

# /home/user# apt install obs-studio

 

Install OBS on Windows 10

  • First, we will go to the OBS website and download the appropriate version for Windows x64. In order to install OBS with all the associated libraries and codecs, we need to select the full version.
  • After downloading it, we run the Windows executable to begin the installation. An installation prompt appears where we click on the Next button.
  • After that, we accept the license agreement and click Next.
  • Then we select the location for the installation and then click the Install button.
  • The installation will display its progress.
  • In the final installation screen, we can choose to either launch the software or simply click the Finish button to complete the set up.
  • That’s it, the installation is now completed.

 

Install OBS on MacOS Catalina

  • This is similar to the Windows one. First, we go to the OBS website, selecting and then downloading the suitable version for our MacOS.
  • After downloading, we click the Start installation button.
  • Once it completes, it will automatically unzip, and a new frame will open. We click on the icon at the bottom of the toolbar to begin the installation.
  • Now, the installer will ask for permission to use the microphone and also offers to set up the necessary settings.
  • Finally, the OBS is installed.

 

Common installation errors

Now let’s discuss some of the common OBS installation errors that we have come across.

1. Unable to correct problems, you have held broken packages.

Normally, this error occurs while executing the command sudo apt-get install obs-studio:

[[email protected]]$ sudo apt-get install obs-studio
[sudo] password for bob:
Reading package lists… Done
Building dependency tree
Reading state information… Done
Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
obs-studio : Depends: obs-plugins (= 22.0.3+dfsg1-1) but it is not going to be installed
Depends: libobs0 (= 22.0.3+dfsg1-1) but it is not going to be installed
Depends: libpython3.7 (>= 3.7.0) but it is not going to be installed
Error: Unable to correct problems, you have held broken packages.

Solution:

We set the repo explicitly to unstable, as a 32-bit version of this package does not exist in stable yet.

For that, we run the below command.

apt -t unstable install obs-studio

 

2. Unable to locate package obs-studio

This error occurs while installing OBS.

[[email protected]]$ sudo add-apt-repository ppa:obsproject/obs-studio
[sudo] password for bob:
Latest stable release of OBS Studio
More info: https://launchpad.net/~obsproject/+archive/ubuntu/obs-studio
Press [ENTER] to continue or ctrl-c to cancel adding it

gpg: keyring `/tmp/tmpkf9hu8ew/secring.gpg’ created
gpg: keyring `/tmp/tmpkf9hu8ew/pubring.gpg’ created
gpg: requesting key F425E228 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmpkf9hu8ew/trustdb.gpg: trustdb created
gpg: key F425E228: public key “Launchpad PPA for obsproject” imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
OK
[[email protected]]$ sudo apt-get update && sudo apt-get install obs-studio
Hit:1 http://ppa.launchpad.net/obsproject/obs-studio/ubuntu xenial InRelease
Hit:2 http://ports.ubuntu.com xenial InRelease
Hit:3 http://ports.ubuntu.com xenial-updates InRelease
Hit:4 http://ppa.launchpad.net/ubuntu-pi-flavour-makers/ppa/ubuntu xenial InRelease
Hit:5 http://ports.ubuntu.com xenial-security InRelease
Hit:6 http://ports.ubuntu.com xenial-backports InRelease
Reading package lists… Done
Reading package lists… Done
Building dependency tree
Reading state information… Done
Error: Unable to locate package obs-studio

Solution:

In order to resolve this error, we install OBS manually.

To download the 64-bit version, we run:

$ wget https://launchpad.net/~obsproject/+archive/ubuntu/obs-studio/+files/obs-studio_0.16.2.1-544~xenial_amd64.deb -P ~/Downloads

Then we install the package which has been downloaded into the ~/Downloads folder. For that, we run:

$ sudo apt install ~/Downloads/obs-studio_0.16.2.1-544~xenial_amd64.deb

If it is the 32-bit package, we download it with:

$ wget https://launchpad.net/~obsproject/+archive/ubuntu/obs-studio/+files/obs-studio_0.16.2.1-544~xenial_i386.deb -P ~/Downloads

 

3. Some index files failed to download. They have been ignored, or old ones used instead

This error occurs while installing OBS using PPA. Here is how the error message appears.

Warning: Failed to fetch http://ppa.launchpad.net/kirillshkrogalev/ffmpeg-next/ubuntu/dists/vivid/main/binary-amd64/Packages 404 Not Found
Warning: Failed to fetch http://ppa.launchpad.net/kirillshkrogalev/ffmpeg-next/ubuntu/dists/vivid/main/binary-i386/Packages 404 Not Found
Error: Some index files failed to download. They have been ignored, or old ones used instead.

Solution:

This error occurs if FFmpeg is conflicting during installation.

So, we run the following command to remove FFmpeg PPA:

$ sudo apt-add-repository –remove ppa:kirillshkrogalev/ffmpeg-next
$ sudo apt-get update

Alternatively, we use PPA-purge as a safer option:

$ sudo apt-get install ppa-purge &&
$ sudo ppa-purge ppa:kirillshkrogalev/ffmpeg-next

Then we install OBS:

$ sudo apt-add-repository ppa:obsproject/obs-studio && sudo apt-get update && sudo apt-get install ffmpeg obs-studio

 

[Still not able to install OBS? – We are here to help you]

 

Conclusion

Today, we saw how our Support Engineers install OBS on Windows. Also, we saw some common errors that we came across while installing OBS.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

var google_conversion_label = "owonCMyG5nEQ0aD71QM";

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Privacy Preference Center

Necessary

Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.

PHPSESSID - Preserves user session state across page requests.

gdpr[consent_types] - Used to store user consents.

gdpr[allowed_cookies] - Used to store user allowed cookies.

PHPSESSID, gdpr[consent_types], gdpr[allowed_cookies]
PHPSESSID
WHMCSpKDlPzh2chML

Statistics

Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.

_ga - Preserves user session state across page requests.

_gat - Used by Google Analytics to throttle request rate

_gid - Registers a unique ID that is used to generate statistical data on how you use the website.

smartlookCookie - Used to collect user device and location information of the site visitors to improve the websites User Experience.

_ga, _gat, _gid
_ga, _gat, _gid
smartlookCookie

Marketing

Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.

IDE - Used by Google DoubleClick to register and report the website user's actions after viewing or clicking one of the advertiser's ads with the purpose of measuring the efficacy of an ad and to present targeted ads to the user.

test_cookie - Used to check if the user's browser supports cookies.

1P_JAR - Google cookie. These cookies are used to collect website statistics and track conversion rates.

NID - Registers a unique ID that identifies a returning user's device. The ID is used for serving ads that are most relevant to the user.

DV - Google ad personalisation

IDE, test_cookie, 1P_JAR, NID, DV, NID
IDE, test_cookie
1P_JAR, NID, DV
NID
hblid

Security

These are essential site cookies, used by the google reCAPTCHA. These cookies use an unique identifier to verify if a visitor is human or a bot.

SID, APISID, HSID, NID, PREF
SID, APISID, HSID, NID, PREF