Do you want to watch Hulu in Debian with Iceweasel/Firefox without having to go to Windows or Ubuntu? Of course, Adobe Flash is bad, and so is DRM. But if you’re going to watch it, isn’t it better to do it in Debian than having to restart your computer (or run a Virtualbox)?
There is a way to build the HAL package from Ubuntu’s PPA from source. I forget where I read it in Debian Forums, so I can’t give the shoutout, but I found this helpful website on how to build from the source package from a Ubuntu PPA. Here are my .deb files for Debian 64-bit. In the following, I will use Ubuntu 14.04 Utopic HAL PPA on Launchpad, as that is LTS, I believe.
Steps: [be careful not to copy and paste: use your own quotation marks in step 1, and for the –, use two dashes, instead!!! Comment below if you have any questions]
- As ROOT
$ aptitude install devscripts build-essential
$ echo “deb-src http://ppa.launchpad.net/mjblenner/ppa-hal/ubuntu utopic main” > /etc/apt/sources.list.d/hal.list
$ apt-key adv –keyserver keyserver.ubuntu.com –recv-keys BF7B8DAF
- (Note You may or may not need to update afterwards:)
$ aptitude update
- As normal user
$ apt-get source –build hal
- (Note, you may have to install a lot of other packages. Definitely use your mouse to highlight the packages needed and paste with middle click. Make sure not to paste in the (>= …). So there should be (in root):
$ aptitude install ***NEEDED_PACKAGES_HERE***
- When you are done, go back to ROOT
$ dpkg -i libhal-storage1*deb libhal1*.deb hal_0*.deb[Don’t actually type that though it will likely work … if not, use tab to help you type the full-name of the deb –> you need packages libhal1 and libhal-storage1]
[type hal_ then press tab to fill in information as needed until you get to the deb]
- (Note, you may need to first install some of the other deb files that the hal package depends on, which should be in your /home/USER/ folder. So you may have to repeat step 5 and install the other (non-dev) *.deb packages in your folder, where you substitute your own username instead of USER. You may have to install libhal1_*.deb and hal1*.deb, etc.)
- Now, if you are in Debian Jessie or Above, here’s the key. After installing all those DEB files, your HAL package is likely still broken. You need the now deprecated (old) package “hal-info” –> and this can only be found on wheezy.
- To do so, as root edit your /etc/apt/sources.list file with Wheezy repo’s in order to get hal-info. Once you install it, I recommend you comment out the wheezy repo’s [that is, place a “#” in front of the line starting with deb and/or deb-src … you may not need the deb-src line]$ nano /etc/apt/sources.list
- Add (and then later comment out after you’re done installing hal-info. Once you are in /etc/apt/sources.list, add two new lines (I may be overkilling it, but just to be safe, here’s all you need)
deb http://ftp.us.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.us.debian.org/debian/ wheezy main contrib non-free
- Then exit and save (Press “Ctrl+X” –> “y” for yes to save –> Enter). You will be back in your root terminal:$ aptitude update
$ aptitude install hal-info
- Once that’s done, you can go back and comment out the wheezy repo lines by typing # in front of the two lines. At this point, aptitude should have already reconfigured your (broken) hal package. If not, simply go back to step 5.
If you have any questions, feel free to leave a comment below.