Categories
Interior

How to watch hulu on ubuntu and other linux distributions

Chris Hoffman is Editor-in-Chief of How-To Geek. He’s written about technology for over a decade and was a PCWorld columnist for two years. Chris has written for The New York Times, been interviewed as a technology expert on TV stations like Miami’s NBC 6, and had his work covered by news outlets like the BBC. Since 2011, Chris has written over 2,000 articles that have been read nearly one billion times—and that’s just here at How-To Geek. Read more.

How to watch hulu on ubuntu and other linux distributions

Everything has DRM these days, and while Netflix, Amazon Video, Hulu, and even DVDs and Blu-rays “just work” on most systems, Linux users always have to do a little more work. Here’s how penguin lovers can get all those services working on their machines.

This is usually so complicated because DRM technologies generally don’t bother supporting Linux. Even downloaded video files require a bit of work due to patents that prevent Linux distribution from including the required codecs. But don’t worry: we’ve got you covered.

Netflix

You can watch Netflix on Linux without any dirty hacks, but you’ll have to install Google Chrome for Linux and use it to watch your shows. You can’t use the Firefox web browser, and you can’t even use Chromium.

That’s been the standard advice, anyway. However, Opera for Linux–itself based on the Chromium browser–now supports Netflix on Linux as well. So, if you’d rather not use Google’s web browser, you can turn to Opera.

This limitation is because Netflix doesn’t just use HTML5 video. It also uses the encrypted media extensions, or EME, for DRM. This isn’t built into every browser, but using Chrome is a small price to pay for easy Netflix watching.

How to watch hulu on ubuntu and other linux distributions

Amazon Instant Video

Amazon Instant Video was very annoying in the past. It used Flash, but Flash’s DRM required you install an older HAL compatability library. Flash also didn’t offer the best video quality, and Amazon encouraged you to use the Silverlight player instead. MIcrosoft’s SIlverlight never officially supported Linux, so you had to use a Wine-based Silverlight wrapper to use the Windows version of Silverlight.

Thankfully, that all seems in the past now. Amazon offers an HTML5-based video player, and Amazon says it will work with Google Chrome on Linux. As with Netflix, Firefox isn’t supported. To watch Amazon Instant Video on Linux, just open the website in Chrome. It may even work with Opera, too.

How to watch hulu on ubuntu and other linux distributions

Hulu hasn’t yet rolled out any sort of HTML5-based player. It also no longer offers the “Hulu Desktop” application, which once officially supported Linux. Hulu still relies on Adobe Flash, using the older DRM that doesn’t work out-of-the-box on modern Linux distributions. So to watch it, you’ll have to install HAL compatibility files using these instructions to get it to function.

This will also only work on Mozilla Firefox, which uses the older NPAPI version of Flash that Adobe is no longer supporting with anything but security updates. Google Chrome includes a newer PPAPI-based Flash plug-in, and that plug-in won’t work with Flash’s old Linux DRM technologies.

Hopefully, Hulu will switch to HTML5 in the future. For the time being, you’ll have to watch Netflix and Amazon in Chrome and Hulu in Firefox.

How to watch hulu on ubuntu and other linux distributions

DVDs and Blu-rays

While old-fashioned audio CDs don’t include any DRM and should just work on Linux, DVD and Blu-ray discs are another matter. Both these types of discs include DRM technologies that attempt to prevent you from playing them on unsupported players.

Thankfully, DVDs are easy. You can get every single video DVD ever made working in the VLC player on Linux without any hassle–you just have to install the libdvdcss library. After you do, you can insert DVDs and open them in VLC to play them with additional hassle.

Blu-rays are another matter. While older AACS-encrypted Blu-rays will often work in VLC, newer Blu-rays with the BD+ encryption are problematic. It’s still possible to watch Blu-rays on Linux, but you’ll need to “stream” them using MakeMKV, and it won’t necessarily work for every disc.

How to watch hulu on ubuntu and other linux distributions

Downloaded Video Files

You may want to throw up your hands and avoid all the DRM entirely, just ripping or downloading video files and playing them back on your computer. But even here, you’ll run into some trouble–efen if it’s not technically DRM.

Thanks to patent laws, Linux distributions can’t include the codecs that allow you to play back many types of audio and video files. Operating systems can’t just include the software required for H.264 playback without paying a fee. You can get these, but you’ll have to go out of your way to install them.

This actually isn’t too complicated or unusual. If you’ve ever downloaded VLC on Windows or Mac, you’ve downloaded these codecs because VLC has them built-in. VLC is hosted in France and Linux distributions made in the US or elsewhere can’t necessarily get away with doing what VLC does, or at least don’t want to try.

So just like on Windows and OS X, the simplest solution is to install VLC and use it to play videos.

If you want the codecs themselves, though, it’s still not hard to get them on most Linux distributions. Ubuntu asks you if you’d like to include them during its initial installation. On other Linux distributions, you may be prompted to install them with a few clicks. If your distribution doesn’t do that, a simple web search should bring up instructions that will guide you through the process on your Linux distribution of choice.

How to watch hulu on ubuntu and other linux distributions

Things aren’t as complicated as they used to be. Netflix and Amazon “just work” in Google Chrome, and Hulu hopefully will soon, too. It’s easier to get the required video codecs installed on a modern Linux distribution than it used to be. Blu-rays are a pain point and sure to be one for the foreseeable future, but physical discs are becoming less and less important. None of these options are perfectly convenient, but it’s what we have for now–and at least it (mostly) works.

Previous Post
Next Post
Tip / Trick

How to watch hulu on ubuntu and other linux distributionsUsing modern Linux distribution, Hulu doesn’t work correctly. If you are using a Google Chrome then Netflix will work just fine. While Netflix “just works”, Hulu will not as it has become old. Hulu will work on Linux, but you have to change something to improve the working.

This was not much harder back then. Time was there when it was difficult for the users of Linux to use Netflix and Hulu offered it’s user at that point a desktop application of Linux. The application is no more there for desktop users. Hulu depends on for its function on Adobe Flash, but the DRM code of Adobe Flash doesn’t work well on Linux.How to watch hulu on ubuntu and other linux distributions

As Hulu depends on old DRM code of Adobe Flash that needs a library of Linux named as HAL. The library is not installed in latest Linux distributions by default, and this is now outdated. To function the HAL based DRM on your Linux, you have to download and install the compatibility package for that.

To watch Hulu you have to use the Mozilla Firefox browser as it will not work on Google Chrome.

Install Flash for Firefox on your Device:

Install the Flash Player plug-in for Firefox to watch Hulu. If the flash player is not installed on your device, then you will be unable to watch Hulu.

Using your Linux distribution’s software repositories, you can install the flash player. Make sure that you have installed the Flash plugin that is developed by Firefox or Mozilla etc.

Install the Old HAL Library on the Device:

When you have installed the plug-in of Flash player on Firefox browser, then move to Hulu’s site and try to play a video. But when you try to play it you will see an error message on your screen saying “there is a problem in playing this content.” Hulu will ask the user to make sure that the HAL package is installed on your device. Erase the flash cache of your device and reset the license files.

Now install the complete HAL package from the known circle in Ubuntu named as Zombie HAL PPA.How to watch hulu on ubuntu and other linux distributions

The Martin Wimpress provides you with software that has everything you require to play the protected content without the complete installation process of whole HAL layer. You have to add PPA provided by Martin Wimpress to your Ubuntu system to install the software on your device. Open the window and type in the commands and press enter after each command. The commands will add the PPA, downloads the package information and installs the HAL library to your device.

When the installation process is complete then browses Hulu in Firefox and try to play the video again, and it will play now instead of displaying any error message.

If the problem of error message is not resolved yet then closes the browser and restart the browser and if it persists then restart your computer and try playing the video.

Last updated December 24, 2015 By Abhishek Prakash 7 Comments

How to watch hulu on ubuntu and other linux distributions

Hulu not working in Linux?

Don’t feel alone. America based streaming content provider, Hulu has changed their video playback system which now employs Adobe Flash DRM technology. This completely messed up the things for Linux users because Adobe doesn’t support Flash on Linux for some years and Adobe Flash DRM requires HAL which is also removed from major Linux systems for years now.

This requirement for HAL leaves Hulu unplayable. If you try to use Hulu in Ubuntu or Linux Mint, you would get an error like:

“There was a problem playing this protected content. (Error Code: 3336)”

So, is there no way you could watch Hulu videos in Linux. Fortunately, there is and we are going to see how can we fix protected content issue with Hulu and Linux.

Watch Hulu on Ubuntu and Linux Mint

As explained earlier, we need HAL to be installed explicitly in Ubuntu. Thanks to this PPA, you can easily install HAL in Ubuntu and Linux Mint.

Read this tutorial to watch Hulu in Arch Linux based distributions.

Open a terminal and use the following commands:

Note that even with HAL installed, Hulu will not work in Chrome or Chromium. The only way possible is to use Mozilla Firefox.

Once you have installed HAL, just refresh the browser window. No need of a restart or log out. It will start working as previously. Here is a screenshot of Hulu running in Firefox in Ubuntu 15.04:

How to watch hulu on ubuntu and other linux distributions

Just to add watching Hulu outside USA, can be easily done with DNS service. There was a free DNS unblocking service Tunlr but it got canned. Now I use Unblock Us which works great and requires no efforts in set up.

Like what you read? Please share it with others.

How to watch hulu on ubuntu and other linux distributionsWant to know how to watch Hulu on Ubuntu 14.04 LTS and up?

Well, we’re going to show you.

The American streaming service Hulu uses Adobe Flash to play back video in the browser, and uses Adobe Flash DRM to encrypt it.

Adobe Flash DRM uses a library called HAL (‘Hardware Abstraction Layer’) to identify your computer and fetch a token to ‘allow’ playback.

The problem? Ubuntu no longer includes HAL by default, nor is it available to install from the Ubuntu Archive. Sites that use Flash DRM (or any other technology that relies on HAL) therefore don’t work on Ubuntu out of the box.

This means if you want to watch Hulu on Ubuntu, as well as other sites that use Flash DRM like Amazon Instant video, you will need to install the HAL library from a third-party PPA.

Install HAL on Ubuntu To Watch Hulu & Amazon Instant

We’re going to walk you through adding Martin Wimpress’ HAL-flash PPA and not the more commonly suggested zombie HAL repository that is maintained by Michael Blennerhassett.

In short because a full-fat, fully functional HAL layer is not needed in Ubuntu (nor most modern Linux distributions). The smaller Hal-flash package provides you with everything you need to play Flash DRM content on Ubuntu and without the overhead (read: cruft) installed with the full Hal library set.

1. Add the Ubuntu Hal PPA

The cleanest way to install HAL on Ubuntu is through a third-party repository or personal package archive (PPA). And the fastest way to add a PPA is using the Terminal.

If using the command line is too intimidating a task you can do it the GUI way (though if you’re scared by the command line you probably shouldn’t be adding libraries from third-party PPAs).

Copy and paste the following command into the terminal, and enter your user password when prompted:

When complete, move on to the next step.

2. Install HAL

Having added the PPA you now need to install HAL. We will use the Terminal to do this:

Allow the process to fully complete. Then reboot your system. This is not strictly necessary but is advised to ensure that browser and plugin processes quit correctly.

3. Watch Hulu on Ubuntu

With Hal installed all that’s left to do is watch some content! Open the Hulu website in your browser, log in with your account details and select a TV show or movie to stream.

Note: as I am in the UK I am unable to test hal-flash with Hulu personally but I am told this should work.

Home » How To » How To Watch Hulu on Ubuntu 14.04 and Up

Last updated December 24, 2015 By Community 2 Comments

How to watch hulu on ubuntu and other linux distributions

Since Hulu uses Adobe Flash DRM for its video system, its video player does not work by default in Arch Linux-based distros, even with Flash Player installed.

We have earlier discussed how to watch Hulu on Ubuntu based Linux. In this article, we´ll focus on making Hulu work in Arch Linux-based distros.

The first thing to note is that due to the way in which Flash Player is handled in Linux for Google Chrome and Chromium, even with this fix Hulu cannot be run in those browsers. This method can only fix the Hulu video player for Firefox.

This method works through the use of the HAL daemon, which is required by the DRM system that Hulu uses.

Installing HAL

If you have not yet already, then you should be sure to install the firefox and flashplugin packages from the official repositories.

sudo pacman -S firefox
sudo pacman -S flashplugin

Then once you have Flash Player working in Firefox, you will need to install the hal-info and hal packages from the AUR. You can do this using an AUR client such as yaourt, or by git cloning the installation file repos and packaging them with makepkg and installing the generated packages with sudo pacman -U PKGNAMEHERE .

yaourt hal-info
yaourt hal

Running HAL

Once you have installed all of the necessary packages, you now need to start the HAL daemon provided by the hal and hal-info packages. You can do this by running the following commands to start the daemon, and enable it to be run on boot.

sudo systemctl start hal
sudo systemctl enable hal

Once you have started and enabled the HAL service, you can check to make sure that it is working by running the following command.

systemctl status hal

If the service is running then you should get an output which begins with something like this.

]$ systemctl status hal
● hal.service – Hardware Abstraction Layer
Loaded: loaded (/usr/lib/systemd/system/hal.service; enabled; vendor preset: disabled)
Active: active (running) since Tue 2015-12-22 09:54:49 EST; 57min ago

How to watch hulu on ubuntu and other linux distributions

Once you have successfully started and enabled the HAL service you should be able to watch Hulu videos in Firefox. You also do not need to reboot your system, as you have already run the HAL daemon on the current login.

For further information on the HAL package, see the Arch Linux Wiki’s page on Flash DRM content.

Like what you read? Please share it with others.

Want to know how to watch Hulu on Ubuntu 16.04 LTS and up?

Well, we’re going to show you.

The American streaming service Hulu uses Adobe Flash to play back video in the browser, and uses Adobe Flash DRM to encrypt it.

Adobe Flash DRM uses a library called HAL (‘Hardware Abstraction Layer’) to identify your computer and fetch a token to ‘allow’ playback.

The problem? Ubuntu no longer includes HAL by default, nor is it available to install from the Ubuntu Archive. Sites that use Flash DRM (or any other technology that relies on HAL) therefore don’t work on Ubuntu out of the box.

This article is not a treatise on DRM or Adobe Flash. It’s a tutorial to let those who want to watch Hulu on Ubuntu do so.

This means if you want to watch Hulu on Ubuntu, as well as other sites that use Flash DRM like Amazon Instant video, you will need to install the HAL library from a third-party PPA.

We’re going to walk you through adding Martin Wimpress’ HAL-flash PPA and not the more commonly suggested zombie HAL repository that is maintained by Michael Blennerhassett.

In short because a full-fat, fully functional HAL layer is not needed in Ubuntu (nor most modern Linux distributions). The smaller Hal-flash package provides you with everything you need to play Flash DRM content on Ubuntu and without the overhead (read: cruft) installed with the full Hal library set.

The cleanest way to install HAL on Ubuntu is through a third-party repository or personal package archive (PPA). And the fastest way to add a PPA is using the Terminal.

If using the command line is too intimidating a task you can do it the GUI way (though if you’re scared by the command line you probably shouldn’t be adding libraries from third-party PPAs).

Copy and paste the following command into the terminal, and enter your user password when prompted:

sudo add-apt-repository ppa:flexiondotorg/hal-flash

When complete, move on to the next step.

Having added the PPA you now need to install HAL. We will use the Terminal to do this:

sudo apt-get update && sudo apt-get install libhal1-flash

Allow the process to fully complete. Then reboot your system. This is not strictly necessary but is advised to ensure that browser and plugin processes quit correctly.

With Hal installed all that’s left to do is watch some content! Open the Hulu website in your browser, log in with your account details and select a TV show or movie to stream.

How to watch hulu on ubuntu and other linux distributions

Hulu virker ikke ude af købet på moderne Linux-distributioner. Mens Netflix “virker bare”, hvis du bruger Google Chrome, er Hulu’s DRM blevet gammel og klumpet. Du kan få Hulu til at arbejde på Linux, men det vil tage lidt tilpasning.

Det var ikke altid så svært. Tilbage, da Netflix gjorde livet svært for Linux-brugere, tilbød Hulu endda en Linux desktop app. Men den desktop app er nu afbrudt. Hulu er afhængig af Adobe Flash, og Adobe Flashs DRM-kode falder fra hinanden på Linux.

Du skal bruge Firefox

RELATED: Brug Firefox på Linux? Din Flash Player er gammel og forældet! ​​

Her er problemet: Hulu er afhængig af den gamle Adobe Flash DRM-kode, der kræver et Linux-bibliotek kendt som HAL. Denne gamle HAL-software er dog ret forældet og er ikke installeret som standard på moderne Linux-distributioner i årevis. Du skal installere kompatibilitetspakker, der gør det muligt for denne HAL-baserede DRM at fungere.

Du skal også bruge Mozilla Firefox til at se Hulu. Den gamle HAL-baserede DRM fungerer kun i den ældre version af Linux Flash plug-in Firefox-tilbud. Den nyere PPAPI (Pepper API) -baserede Flash Player inkluderet i Google Chrome fungerer ikke med Hulu’s gamle DRM-kode.

Ja, det betyder at du skal se Netflix i Google Chrome og Hulu i Mozilla Firefox. Er ikke livet grand?

How to watch hulu on ubuntu and other linux distributions

Trin 1: Installer Flash til Firefox

Først skal du installere Flash Player plug-in til Firefox. Hvis du ikke har installeret Flash endnu, vil du se en besked, der siger, at Hulu har brug for Flash installeret, når du prøver at se det.

Du kan generelt installere Flash fra din Linux-distributionens softwarelager. For eksempel, på Ubuntu, skal du åbne Ubuntu Software Center og søge efter “flash”. Installer “Adobe Flash plug-in” softwaren.

Sørg for at installere Flash plugin designet “til Mozilla,” “for Firefox” eller “NPAPI” -versionen af ​​plug-in’en. “PPAPI” eller “for Chrom” -versionen af ​​Flash fungerer kun med Chrome og Chrome-baserede browsere.

How to watch hulu on ubuntu and other linux distributions

Trin to: Installer det gamle HAL-bibliotek

Når du har Firefox og Flash-plug-in til Firefox installeret , kan du gå til Hulu hjemmeside og prøve at spille en video. Du ser dog sandsynligvis en fejlmeddelelse, når du gør det. Fejlmeddelelsen siger “Der opstod et problem med at afspille dette beskyttede indhold. (Fejlkode: 2203) “. Hulu vil bede dig om at sikre, at HAL-pakken er installeret, ryd din flashcache og nulstil licensfiler.

Hulu forbinder dig med en Adobe-side, der anbefaler at du installerer pakken med navnet “hal”, men denne pakke er ikke længere lige til stede til installation på moderne versioner af Ubuntu og andre moderne Linux-distributioner.

How to watch hulu on ubuntu and other linux distributions

I stedet for at installere en version af hele HAL-pakken – fra “zombie HAL PPA”, som det er kendt i Ubuntu-kredse, vil vi henvise dig til en mere let løsning.

Martin Wimpress, projektledende for Ubuntu MATE, giver en “hal-flash” PPA, der giver alt, hvad du behøver for at afspille DRM-beskyttet Flash-indhold uden at installere hele HAL-laget. Denne software skal du tilføje denne PPA til dit Ubuntu-system (dette skal også fungere på Linux Mint og andre Ubuntu-afledte distributioner). Åbn en terminal fra bindestreg og indsæt eller skriv følgende kommandoer i rækkefølge, tryk på Enter efter hver. Den første kommando tilføjer PPA, den anden downloadsoplysninger om pakkerne i den, og den tredje installerer HAL-biblioteket.

sudo add-apt-depot ppa: flexiondotorg / hal-flash

Når det er installeret, skal du besøge Hulu i Firefox, prøv at afspille en video igen, og det skal nu fungere i stedet for at vise dig et “beskyttet indhold” fejlmeddelelse.

How to watch hulu on ubuntu and other linux distributions

Hvis du fortsætter med at se en fejlmeddelelse, skal du muligvis lukke Firefox og genstarte den. Hvis det ikke virker, skal du prøve at genstarte computeren helt, inden du fortsætter.

Dette har været et problem i mange år nu. Adobe-siden siger, at HAL skal installeres på versioner 10.x og op af Ubuntu – det refererer til versioner af Ubuntu, der blev frigivet helt tilbage i 2010.

How to watch hulu on ubuntu and other linux distributions

Adobe ønsker ikke længere at udvikle Flash på Linux. Den rigtige løsning her kommer ikke, når Adobe løser sin Flash DRM. I stedet skal Hulu skifte til moderne HTML5-baseret videoafspilning, som Netflix bruger i Google Chrome. Indtil de gør det, vil Linux-afspilning være lidt af et besvær.

How to watch hulu on ubuntu and other linux distributions

Hvis du bruger de komprimerede mapper, der er indbygget i Windows til oprettelse af zip-filer, har du muligvis bemærket, at den opretter filen med samme navn som den valgte fil, hvilket bliver underligt, når du vælger flere filer. Sådan gør du det rigtige navn. I princippet vil Windows bruge filnavnet til den fil, som du højreklikker på, selv når du har valgt flere filer.

How to watch hulu on ubuntu and other linux distributions

Du kan personliggøre din Apple Watch med forskellige se ansigter og komplikationer, men hvis du virkelig vil føje et personligt tryk, Farve “uret ansigt har en cool Monogram komplikation, som giver dig mulighed for at vise op til fire tegn på uret ansigt. Monogramkomplikationen er mere tilpasselig, end folk indser.

How to watch hulu on ubuntu and other linux distributions

Geoffrey_Carr

How to watch hulu on ubuntu and other linux distributions

Hulu nepracuje na moderných distribuciách Linuxu. Zatiaľ čo Netflix “funguje”, ak používate prehliadač Google Chrome, DRM zariadenia Hulu je staré a nepríjemné. Môžete dostať Hulu pracovať na Linuxe, ale to bude trochu ladenie.

Nebolo to vždy tak ťažké. Späť, keď Netflix robil život pre používateľov Linuxu, Hulu dokonca ponúkal Linuxovú desktopovú aplikáciu. Táto aplikácia pre počítače je však teraz ukončená. Hulu sa spolieha na Adobe Flash a kód DRM Adobe Flash sa rozpadá na Linuxe.

Budete musieť používať Firefox

Tu je problém: Hulu sa spolieha na starý kód Adobe Flash DRM, ktorý vyžaduje knižnicu Linux známu ako HAL. Tento starý softvér HAL je však pomerne zastaraný a predtým nebol nainštalovaný na moderné distribucie Linuxu už roky. Budete musieť nainštalovať balíky kompatibility, ktoré umožnia fungovanie DRM založeného na HAL.

Budete tiež musieť použiť Mozilla Firefox na sledovanie Hulu. Stará DRM založená na HAL funguje iba v staršej verzii doplnkov Firefoxu pre systém Linux Flash Firefox. Novší prehrávač Flash Player založený na PPAPI (Pepper API), ktorý je súčasťou prehliadača Google Chrome, nebude fungovať s pôvodným DRM kódom spoločnosti Hulu.

Áno, znamená to, že budete musieť sledovať Netflix v prehliadači Google Chrome a Hulu v Mozille Firefox. Nie je život veľký?

How to watch hulu on ubuntu and other linux distributions

Krok 1: Nainštalujte Flash pre Firefox

Najskôr budete musieť nainštalovať doplnok Flash Player pre Firefox. Ak ste ešte nenainštalovali Flash, uvidíte správu, že Hulu potrebuje Flash nainštalovaný pri pokuse o sledovanie.

Všeobecne môžete nainštalovať softvér Flash zo svojich softvérových archívov distribúcie Linuxu. Napríklad v Ubuntu otvorte softvérové ​​centrum Ubuntu a vyhľadajte “flash”. Nainštalujte softvér “Adobe Flash plug-in”.

Uistite sa, že nainštalujete doplnok Flash navrhnutý pre “Mozilla”, “pre Firefox” alebo verziu “plug-in” “NPAPI”. Verzia Flash “PPAPI” alebo “pre Chromium” bude fungovať len s prehliadačmi Chrome a Chromium.

How to watch hulu on ubuntu and other linux distributions

Druhý krok: Nainštalujte starú knižnicu HAL

Akonáhle máte nainštalovaný Firefox a doplnok Flash pre Firefox, môžete sa dostať na internetovú stránku spoločnosti Hulu a vyskúšať si video. Pravdepodobne sa však zobrazí chybové hlásenie. Chybové hlásenie hovorí: “Vyskytol sa problém s prehrávaním tohto chráneného obsahu. (Kód chyby: 2203) “. Hulu vás požiada, aby ste zabezpečili, že balík HAL je nainštalovaný, vymažte pamäť flash cache a obnovte licenčné súbory.

Hulu vás spojí so stránkou Adobe, ktorá odporúča nainštalovať balík s názvom “hal”, ale tento balík už nie je prítomný pre inštaláciu na moderných verziách Ubuntu a iných moderných distribucií Linuxu.

Namiesto toho, aby ste si nainštalovali verziu úplného balíka HAL – z “zombie HAL PPA”, ako je známe v kruhoch Ubuntu – nasmerujeme vás na ľahšie riešenie.

Martin Wimpress, vedúci projektu pre Ubuntu MATE, poskytuje “hal-flash” PPA, ktorý poskytuje všetko, čo potrebujete na prehrávanie obsahu Flash chráneného DRM bez inštalácie celej vrstvy HAL.

Ak chcete tento softvér nainštalovať, budete musieť tento PPA pridať do vášho systému Ubuntu (to by malo fungovať aj v prípade Linux Mint a iných distribúcií odvodených z Ubuntu). Otvorte terminál z pomlčky a vložte ho alebo zadajte nasledovné príkazy do poľa a po každom stlačení klávesu Enter. Prvý príkaz pridá PPA, druhú sťahuje informácie o balíkoch v nej a tretia nainštaluje knižnicu HAL.

sudo add-apt-repository ppa:flexiondotorg/hal-flash sudo apt-get update sudo apt-get install libhal1-flash

Ak používate inú Linuxovú distribúciu – to je niečo iné ako Ubuntu, Linux Mint alebo niečo odvodené z Ubuntu – budete musieť nájsť balík HAL pre Flash pre distribúciu Linux. Môže byť súčasťou repozitárov balíkov vašej distribučnej siete Linux, alebo môže byť v repozitári tretej strany, ako je to u Ubuntu.

How to watch hulu on ubuntu and other linux distributions

Akonáhle je nainštalovaný, navštívte stránku Hulu v prehliadači Firefox, skúste znova prehrať video a teraz by mal fungovať namiesto zobrazenia chybového hlásenia “chráneného obsahu”.

Ak sa naďalej zobrazuje chybové hlásenie, možno budete musieť zavrieť Firefox a reštartovať ho. Ak to nefunguje, pred pokračovaním skúste úplne reštartovať počítač.

How to watch hulu on ubuntu and other linux distributions

To je problém už mnoho rokov. Na stránke Adobe sa hovorí, že HAL je potrebné nainštalovať na verzie 10.x a vyššej verzie Ubuntu – ktorá sa týka verzií Ubuntu, ktoré boli vydané až v roku 2010.

Spoločnosť Adobe už nechce vyvíjať Flash v systéme Linux. Skutočné riešenie tu nepríde, keď Adobe opraví svoje Flash DRM. Namiesto toho musí Hulu prejsť na moderné prehrávanie videa založené na jazyku HTML5, ako to používa Netflix v prehliadači Google Chrome. Až k tomu nedôjde, bude prehrávanie Linuxu trochu ťažké.

How to watch hulu on ubuntu and other linux distributions

Geoffrey_Carr

How to watch hulu on ubuntu and other linux distributions

Hulu không hoạt động trên các bản phân phối Linux hiện đại. Mặc dù Netflix “chỉ hoạt động” nếu bạn đang sử dụng Google Chrome, nhưng DRM của Hulu đã trở nên cũ kỹ và vụng về. Bạn có thể khiến Hulu hoạt động trên Linux, nhưng sẽ cần một chút chỉnh sửa.

Nó không phải luôn luôn khó khăn như vậy. Quay trở lại khi Netflix làm cho cuộc sống của người dùng Linux trở nên khó khăn, Hulu thậm chí còn cung cấp ứng dụng máy tính để bàn Linux. Nhưng ứng dụng dành cho máy tính để bàn đó hiện đã bị ngừng hoạt động. Hulu dựa vào Adobe Flash và mã DRM của Adobe Flash bị phân tách trên Linux.

Bạn sẽ phải sử dụng Firefox

Đây là vấn đề: Hulu dựa vào mã DRM Adobe Flash cũ yêu cầu thư viện Linux được gọi là HAL. Tuy nhiên, phần mềm HAL cũ này khá lỗi thời và chưa được cài đặt theo mặc định trên các bản phân phối Linux hiện đại trong nhiều năm. Bạn sẽ cần phải cài đặt các gói tương thích sẽ cho phép DRM dựa trên HAL hoạt động.

Bạn cũng sẽ phải sử dụng Mozilla Firefox để xem Hulu. DRM dựa trên HAL cũ chỉ hoạt động trong phiên bản cũ hơn của trình cắm thêm Linux Flash mà Firefox cung cấp. Trình phát Flash dựa trên PPAPI (Pepper API) mới hơn được bao gồm trong Google Chrome sẽ không hoạt động với mã DRM cũ của Hulu.

Có, điều này có nghĩa là bạn sẽ phải xem Netflix trong Google Chrome và Hulu trong Mozilla Firefox. Không phải là cuộc sống lớn?

How to watch hulu on ubuntu and other linux distributions

Bước một: Cài đặt Flash cho Firefox

Trước tiên, bạn sẽ cần phải cài đặt trình cắm Flash Player cho Firefox. Nếu bạn chưa cài đặt Flash, bạn sẽ thấy thông báo cho biết Hulu cần cài đặt Flash khi bạn cố gắng xem nó.

Bạn thường có thể cài đặt Flash từ kho phần mềm phân phối Linux của mình. Ví dụ, trên Ubuntu, mở Trung tâm phần mềm Ubuntu và tìm kiếm “flash”. Cài đặt phần mềm “Adobe Flash plug-in”.

Hãy chắc chắn rằng bạn cài đặt plugin Flash được thiết kế “cho Mozilla”, “cho Firefox” hoặc phiên bản “NPAPI” của trình cắm. Phiên bản Flash “PPAPI” hoặc “cho Chromium” sẽ chỉ hoạt động với trình duyệt Chrome và Chromium.

How to watch hulu on ubuntu and other linux distributions

Bước hai: Cài đặt Thư viện HAL cũ

Khi bạn đã cài đặt Firefox và plugin Flash cho Firefox, bạn có thể truy cập trang web của Hulu và thử phát video. Tuy nhiên, có thể bạn sẽ thấy thông báo lỗi khi bạn làm như vậy. Thông báo lỗi cho biết “Đã xảy ra sự cố khi phát nội dung được bảo vệ này. (Mã lỗi: 2203) ”. Hulu sẽ yêu cầu bạn đảm bảo cài đặt gói HAL, xóa bộ nhớ cache flash và đặt lại các tệp giấy phép.

Hulu liên kết bạn với một trang Adobe khuyên bạn nên cài đặt gói có tên “hal”, nhưng gói này không còn hiện diện để cài đặt trên các phiên bản Ubuntu hiện đại và các bản phân phối Linux hiện đại khác.

Thay vì bạn cài đặt phiên bản của gói HAL đầy đủ – từ “zombie HAL PPA” như được biết đến trong vòng kết nối Ubuntu – chúng tôi sẽ hướng bạn đến một giải pháp nhẹ hơn.

Martin Wimpress, dự án dẫn đầu cho Ubuntu MATE, cung cấp PPA “hal-flash” cung cấp mọi thứ bạn cần để phát lại nội dung Flash được bảo vệ bởi DRM mà không cần cài đặt toàn bộ lớp HAL.

Để cài đặt phần mềm này, bạn sẽ cần phải thêm PPA này vào hệ thống Ubuntu của bạn (điều này cũng sẽ hoạt động trên Linux Mint và các bản phân phối có nguồn gốc từ Ubuntu). Mở một Thiết bị đầu cuối từ dấu gạch ngang và dán hoặc nhập các lệnh sau theo thứ tự, nhấn Enter sau mỗi lệnh. Lệnh đầu tiên thêm PPA, thông tin tải về thứ hai về các gói trong đó, và thứ ba cài đặt thư viện HAL.

sudo add-apt-repository ppa:flexiondotorg/hal-flash sudo apt-get update sudo apt-get install libhal1-flash

Nếu bạn đang sử dụng một bản phân phối Linux khác – tức là, một cái gì đó không phải là Ubuntu, Linux Mint hoặc thứ gì đó có nguồn gốc từ Ubuntu – bạn sẽ cần phải tìm kiếm gói HAL dành cho Flash được cung cấp cho bản phân phối Linux của bạn. Nó có thể là một phần của kho lưu trữ gói phân phối Linux của bạn, hoặc nó có thể nằm trong kho lưu trữ của bên thứ ba giống như nó dành cho Ubuntu.

How to watch hulu on ubuntu and other linux distributions

Sau khi cài đặt xong, hãy truy cập Hulu trong Firefox, thử phát lại video và giờ nó sẽ hoạt động thay vì hiển thị cho bạn thông báo lỗi “nội dung được bảo vệ”.

Nếu bạn tiếp tục thấy thông báo lỗi, bạn có thể cần đóng Firefox và khởi động lại. Nếu cách này không hiệu quả, hãy thử khởi động lại hoàn toàn máy tính của bạn trước khi tiếp tục.

How to watch hulu on ubuntu and other linux distributions

Đây là một vấn đề trong nhiều năm nay. Trang Adobe cho biết HAL cần phải được cài đặt trên các phiên bản 10.x và lên của Ubuntu – đề cập đến các phiên bản của Ubuntu được phát hành vào năm 2010.

Adobe không muốn phát triển Flash trên Linux nữa. Giải pháp thực sự ở đây sẽ không đến khi Adobe sửa chữa Flash DRM của mình. Thay vào đó, Hulu cần chuyển sang phát lại video dựa trên HTML5 hiện đại, như Netflix sử dụng trong Google Chrome. Cho đến khi họ làm như vậy, phát lại Linux sẽ có một chút rắc rối.