Find the answer to your Linux question:
Page 2 of 2 FirstFirst 1 2
Results 11 to 16 of 16
Code: apt-cache policy cclive will show if it is available nuj in jaunty....
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #11
    Linux Guru rokytnji's Avatar
    Join Date
    Jul 2008
    Posts
    3,844

    Code:
    apt-cache policy cclive
    will show if it is available nuj in jaunty.
    Linux Registered User # 475019
    Lead,Follow, or get the heck out of the way
    Tech Books
    Free Linux Books
    Newbie Guide
    Courses at Home

  2. #12
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    What is the -b flag you're using with youtube-dl? I don't have that listed in my version.

    Since you do have Python 2.5+, and it's just a python script, you can update just by overwriting the script.

    First back up the original
    Code:
    cp /usr/bin/youtube-dl ~/youtube-dl.bak
    Code:
    cd /usr/bin
    sudo wget https://github.com/rg3/youtube-dl/raw/2011.03.29/youtube-dl --no-check-certificate
    The updated version will hopefully work.

    EDIT: Probably need to change permissions on the file after that
    Code:
    sudo chmod +x /usr/bin/youtube-dl
    And wait, I just tried that and it's giving me a syntax error now...hrm.

  3. #13
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    Hrm, I just tried it again and it worked. So maybe I just did something weird the first time around.

  4. #14
    Linux Engineer nujinini's Avatar
    Join Date
    Apr 2009
    Posts
    1,272
    Quote Originally Posted by rokytnji View Post
    Code:
    apt-cache policy cclive
    will show if it is available nuj in jaunty.
    I'm afraid it's not available rok,

    Code:
    jun@jun-laptop:~$ apt-cache policy cclive
    W: Unable to locate package cclive
    jun@jun-laptop:~$
    I tried to download from the site reed9 gave but when I was trying to install, I got lost .

    Code:
    jun@jun-laptop:~/Downloads$ ls
    cclive-0.7.3.1
    cclive-0.7.3.1.tar.gz
    
    jun@jun-laptop:~$ cd Downloads/cclive-0.7.3.1/
    jun@jun-laptop:~/Downloads/cclive-0.7.3.1$ ls
    ChangeLog             config.h.cmake.in  man1     toolchains
    ChangeLog.pre-gitlog  COPYING            NEWS     uninstall.cmake.in
    CMakeCache.txt        examples           README
    CMakeFiles            include            scripts
    CMakeLists.txt        INSTALL            src
    jun@jun-laptop:~/Downloads/cclive-0.7.3.1$ 
    
    
    jun@jun-laptop:~/Downloads/cclive-0.7.3.1$ cat INSTALL 
    
    
                Prerequisites
    
    * libquvi    (0.2.0+)
    * libboost   (1.42.0+)
    * libpcrecpp (8.02+)
    * libcurl    (7.20.0+)
    
    -- Additionally for building
    
    * gcc/++ (4.5.0+, 4.2 should be OK)
    * cmake  (2.8.2+, looks for 2.8, see top-level CMakeLists.txt)
    
    Note that cclive may or may not compile with earlier versions.
    The above versions are the ones that I've tested.
    
    
        Installation
    
    % mkdir  tmp; cd tmp
    % cmake -DCMAKE_BUILD_TYPE=debug -DCMAKE_INSTALL_PREFIX=/usr ..
    % make install
    ...
    % make uninstall
    
    
        Installation: Variables
    
    These are some of the frequently used ones.
    
        * CMAKE_INSTALL_PREFIX=(...PATH...)
            Install destination for cclive, default may vary.
    
        * CMAKE_BUILD_TYPE=(none|debug|release|relwithdebinfo|minsizerel)
            Type of build, default is debug.
    
        * CMAKE_VERBOSE_MAKEFILE=(true,false)
            Build with verbose makefiles, default is false.
    
        * WITHOUT_DOC=(true|false)
            Install without documentation (e.g. man/cclive.1), default is false.
    
    Example:
        % mkdir tmp; cd tmp
        % cmake -DWITHOUT_DOC=true -DCMAKE_INSTALL_PREFIX=/usr/local ..
        % make install
    
    Take a look at the CMakeLists.txt files found in the source tree,
    if you need to dig deeper. The cmake (2.8) documentation can be
    found at:
        <http://www.cmake.org/cmake/help/cmake-2-8-docs.html>
    
    Note that you could also run cmake with -i (wizard mode).
    
    
        Notes for porters and packagers
    
    Please ask the platform specific questions from those familiar with your
    platform. I develop cclive on Linux for Linux, and test it occasionally on
    FreeBSD.
    
    If you need an additional check for, e.g. a symbol or a function, see
    the top-level CMakeLists.txt and config.h.in files. We can add those
    at the upstream if that makes the porting easier.
    
    
    jun@jun-laptop:~/Downloads/cclive-0.7.3.1$
    I'm afraid this is too rich for my puny linux brain

    Will be trying reed9's suggestion in a while. Fingers crossed
    nujinini
    Linux User #489667

  5. #15
    Linux Engineer nujinini's Avatar
    Join Date
    Apr 2009
    Posts
    1,272
    reed9,

    What is the -b flag you're using with youtube-dl?

    Code:
    -b, --best-quality
                  try to download the best quality version
    Code:
    jun@jun-laptop:~$ youtube-dl http://www.youtube.com/watch?v=i2945SHlFIk
    Retrieving video webpage... done.
    Extracting URL "t" parameter... failed.
    Error: unable to extract URL "t" parameter.
    Try again several times. It may be a temporary problem.
    Other typical problems:
    
    * Video no longer exists.
    * Video requires age confirmation but you did not provide an account.
    * You provided the account data, but it is not valid.
    * The connection was cut suddenly for some reason.
    * YouTube changed their system, and the program no longer works.
    
    Try to confirm you are able to view the video using a web browser.
    Use the same video URL and account information, if needed, with this program.
    When using a proxy, make sure http_proxy has http://host:port format.
    Try again several times and contact me if the problem persists
    I am posting the "t" parameter FWIW


    Code:
      -t, --title
                  use title in file name
    nujinini
    Linux User #489667

  6. #16
    Linux Guru rokytnji's Avatar
    Join Date
    Jul 2008
    Posts
    3,844
    Nuj, since you are online. Provide me with the link and I will download with cclive to test . Just finished New AntiX Install.

    If it works. I can probably find you cclive Ubuntu all deb somewhere. You can install with gdebi.
    Linux Registered User # 475019
    Lead,Follow, or get the heck out of the way
    Tech Books
    Free Linux Books
    Newbie Guide
    Courses at Home

Page 2 of 2 FirstFirst 1 2

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •