• stephen@mathsgrinds.ie

Maths Grinds ie

  • Grinds
    • Junior Cert Maths Grinds
    • Leaving Cert Maths Grinds
    • Applied Maths Grinds
    • Leaving Cert Physics Grinds
    • University Maths Grinds
    • University Statistics Grinds
    • University Physics Grinds
  • Classes
    • Christmas Revision
    • Leaving Cert Applied Maths
    • Leaving Cert Maths
    • Leaving Cert Physics
  • Corporate
  • Thesis
  • Blog
  • Contact
  • Login
 
 

libdvdcss

Posted Oct 30, 12:37 am

I wrote a little bit of bash code that will download the latest version of libdvdcss ad install it on my linux system. I thought I'd share it in case anyone wants to use it :)


#!/bin/bash
tmpfil=\$(mktemp);
wget http://download.videolan.org/pub/libdvdcss/last/ -k -q -O "\$tmpfil";
grep -o "http://[^'\"<>]*.bz2" "\$tmpfil";
url=`grep -o "http://[^'\"<>]*.bz2" "\$tmpfil" | head -n 1`
sudo rm -R libdvd*;
wget \$url;
rm "\$tmpfil";
sudo apt-get update;
sudo apt-get install -y bzip2 gcc make;
tar -xvjpf *.tar.bz2;
cd libdvdcss*;
./configure;
make;
sudo make install;
sudo cp /usr/local/lib/libdvdcss* /lib;
exit;



Author
Stephen Easley-Walsh


 

© 2008-2015 Stephen Easley-Walsh. ALL RIGHTS RESERVED. This website contains material protected under International Copyright Laws and Treaties. Any unauthorized use of this material is prohibited. No part of this website may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying, recording, or by any information storage and retrieval system without express written permission from the author.You can read the Privacy Policy here.

HTML5 Powered

HTML 5 VALID   |   CSS 3 VALID   |   SITEMAP   |   SERVER