Page 22 of 24 FirstFirst ... 122021222324 LastLast
Results 211 to 220 of 233

Thread: HOWTO: Install Rubyripper on Ubuntu

  1. #211
    Join Date
    Jul 2006
    Location
    Lancashire
    Beans
    Hidden!
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: HOWTO: Install Rubyripper on Ubuntu

    Quote Originally Posted by mc4man View Post
    I guess you moved to 10.04?
    (I know of a very interesting ppa for lucid...
    Yes, I went from Karmic to Natty to Lucid.
    Can I have information about that Lucid ppa please.

  2. #212
    Join Date
    Jun 2007
    Beans
    16,373

    Re: HOWTO: Install Rubyripper on Ubuntu

    Can I have information about that Lucid ppa please.
    https://launchpad.net/~guido-iodice/...e/guiodiclucid

    It now says unmaintained - not really
    Plus if you look at the list of contributors some very talented people (read - trustworthy
    Last week I had a lucid install to test something (the very poor decision to SRU a nautilus patch meant only for Mav and Natty
    Went ahead and used the ppa - no issue

    Another interesting thing for lucid - I have a semi-hidden how-to build/install totem-xine on karmic > natty
    It's a bit scattered, used more as a crib sheet for myself, let me know..

    Edit: if curious about what I believe was an improper patch see here -
    I spent 7+ months getting Mav and Natty fixed, don't intend to pursue this any further than..
    https://bugs.launchpad.net/ubuntu/+s...us/+bug/805753
    Last edited by mc4man; July 16th, 2011 at 07:12 PM.

  3. #213
    Join Date
    Jul 2006
    Location
    Lancashire
    Beans
    Hidden!
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: HOWTO: Install Rubyripper on Ubuntu

    Hi mc4man
    I've just followed your #174 tutorial with Natty.

    As you said... "Also works fine on natty, just did, though the ppa entries for ruby need to be edited after adding (no natty packages, edited to maverick".
    This is easy to understand.

    Then everything else went according to plan...
    Until I installed rubyripper with checkinstall.
    It gave error:-

    ruby configure --update-lang #update the locale files
    ruby-gettext is not found. Translations are disabled!
    install -D -m 644 rr_lib.rb /usr/local/local/lib/site_ruby/1.9.2/rr_lib.rb
    install: cannot create directory /usr/local/local/lib/site_ruby/1.9.2: No such file or directory
    make: *** [install] Error 1

    So I had to create manually the folders local/lib/site_ruby/1.9.2
    Then rr_lib.rb got installed in folder 1.9.2 OK.


    EDIT
    I think this is because of a change in GIT today.

    diff --git a/rubyripper_cli.rb b/rubyripper_cli.rb
    index 4540bde..315eb80 100755
    @@ -15,7 +15,7 @@
    # You should have received a copy of the GNU General Public License
    # along with this program. If not, see <http://www.gnu.org/licenses/>

    -RUBYDIR=[ENV['PWD'], File.dirname(__FILE__), "/usr/local/lib/ruby/site_ruby/1.8"]
    +RUBYDIR=[ENV['PWD'], File.dirname(__FILE__), "/usr/local/local/lib/site_ruby/1.9.2"]

    found_rrlib = false
    RUBYDIR.each do |dir|
    diff --git a/rubyripper_gtk2.rb b/rubyripper_gtk2.rb
    index 97604d5..0c84f23 100755
    @@ -16,7 +16,7 @@
    # along with this program. If not, see <http://www.gnu.org/licenses/>

    ICONDIR=[ENV['PWD'], "/usr/local/share/icons/hicolor/128x128/apps"]
    -RUBYDIR=[ENV['PWD'], File.dirname(__FILE__), "/usr/local/lib/ruby/site_ruby/1.8"]
    +RUBYDIR=[ENV['PWD'], File.dirname(__FILE__), "/usr/local/local/lib/site_ruby/1.9.2"]

    found_rrlib = false
    RUBYDIR.each do |dir|
    Last edited by ron999; August 7th, 2011 at 06:31 PM. Reason: About GIT change.

  4. #214
    Join Date
    Jun 2007
    Beans
    16,373

    Re: HOWTO: Install Rubyripper on Ubuntu

    ron - just did on a natty install, worked fine using previous method of installing to the default of /usr/local and also tried changing to install to /usr ( for default I don't specify prefix=, though no different if you do

    Where you install to determines where the /bin and /share libraries go, the rr_lib.rb file seems goes to go to - see below edit

    So if RR is installed to /usr you get this -
    [QUOTE]
    ========================= Installation results ===========================
    ruby configure --update-lang #update the locale files
    ruby-gettext is not found. Translations are disabled!
    install -D -m 644 rr_lib.rb /usr/local/lib/site_ruby/1.9.2/rr_lib.rb
    install -D -m 755 rubyripper_gtk2.rb /usr/bin/rrip_gui
    install -D -m 644 rubyripper.png /usr/share/icons/hicolor/128x128/apps/rubyripper.png
    install -D -m 644 rubyripper.desktop /usr/share/applications/rubyripper.desktop
    install -D -m 755 -D rubyripper_cli.rb /usr/bin/rrip_cli
    Which installs rr_lib.rb to the existing /usr/local/lib/site_ruby dir. created when installing ruby-gtk2

    The default of installing to /usr/local would do this -
    ========================= Installation results ===========================
    ruby configure --update-lang #update the locale files
    ruby-gettext is not found. Translations are disabled!
    install -D -m 644 rr_lib.rb /usr/local/local/lib/site_ruby/1.9.2/rr_lib.rb
    install -D -m 755 rubyripper_gtk2.rb /usr/local/bin/rrip_gui
    install -D -m 644 rubyripper.png /usr/local/share/icons/hicolor/128x128/apps/rubyripper.png
    install -D -m 644 rubyripper.desktop /usr/local/share/applications/rubyripper.desktop
    install -D -m 755 -D rubyripper_cli.rb /usr/local/bin/rrip_cli
    Where RR creates a new dir, /usr/local/local/...
    In either case RR installed fine here, in the latter /usr/local/local/ didn't exist and was created during install.

    Always thought that was odd (/usr/local/local) but never paid much mind because there was no issues seen here.

    It would seem that unless told differently RR installs rr_lib.rb to prefix+location of ruby_site


    Not sure why checkinstall failed to create /usr/local/ local/lib/site_ruby/1.9.2 for you, does so here, using
    Code:
    sudo checkinstall --fstrans=no --default --deldoc  --pkgversion 0.6+0607
    Edit: the makefile shows the install paths, the configure file determines them, seems the location of the site_ruby plays a part.
    Last edited by mc4man; August 7th, 2011 at 11:37 PM.

  5. #215
    Join Date
    Jun 2007
    Beans
    16,373

    Re: HOWTO: Install Rubyripper on Ubuntu

    11.10 just got a new ruby-gtk2 (1.0.0-1) upgrade that will work well with rubyripper.
    So RR can be configured against it and ruby1.9.1 (1.9.2.290-2) and should perform well
    The only thing to do is before configuring and installing RR is to run
    sudo update-alternatives --config ruby
    and set to /usr/bin/ruby1.9.1
    Otherwise it will use ruby1.8 and continue to hang as before

    Ex,
    Code:
    $ sudo update-alternatives --config ruby
    There are 3 choices for the alternative ruby (providing /usr/bin/ruby).
    
      Selection    Path                Priority   Status
    ------------------------------------------------------------
      0            /usr/bin/ruby1.9.2   400       auto mode
      1            /usr/bin/ruby1.8     50        manual mode
    * 2            /usr/bin/ruby1.9.1   10        manual mode
      3            /usr/bin/ruby1.9.2   400       manual mode
    Or you may just see this when running update-alternatives which is fine
    $ sudo update-alternatives --config ruby
    There is only one alternative in link group ruby: /usr/bin/ruby1.9.1
    Last edited by mc4man; September 8th, 2011 at 12:13 AM.

  6. #216
    Join Date
    Jun 2007
    Beans
    16,373

    Re: HOWTO: Install Rubyripper on Ubuntu

    Simplified method for install on 11.10
    11.10 has a new ruby-gtk so very easy to install a RR with no gui hang

    Code:
    sudo apt-get install ruby-gtk2 ruby1.9.1 \
    checkinstall libgettext-ruby1.9.1 git
    Edit : till -.7 releases I would not get the git, go to download page linked below, dl 0.6.2, extract & proceed
    Code:
    mkdir rubyr; cd rubyr; \
    git clone https://code.google.com/p/rubyripper/ && \
    cd rubyripper
    Edit:^ another way to get the source & possibly a better option option for some would be to grab a release version. Download, extract into a build folder, cd to it & proceed the same.
    http://code.google.com/p/rubyripper/downloads/list


    The blue are optional, remove as desired
    Code:
    sudo apt-get install cdparanoia eject cd-discid  \
    lame flac vorbis-tools mp3gain vorbisgain normalize-audio
    If normalize-audio is wanted then run this or RR will not find
    Code:
    sudo ln -s /usr/bin/normalize-audio /usr/local/bin/normalize
    Should not be needed but run to double ck. anyway, if it happens to show ruby1.8 as the default then switch to ruby1.9.1
    (if at any time RR gets the gui hang re-run this & ck.
    Code:
    sudo update-alternatives --config ruby
    configure RR

    Code:
    ./configure --enable-lang=de,hu --enable-gtk2 --enable-cli --prefix=/usr/local
    Should show similar to this - important in red

    Checking the NEEDED dependencies....
    cdparanoia found...

    Checking the OPTIONAL dependencies...
    Testing support for the graphical frontend...

    ruby-gtk2 bindings found

    Testing support for freedb metadata fetching...
    cd-discid or discid found...

    Testing support for ejecting the disk tray...
    eject or disktutil found...

    Testing support for different codecs on your system...
    flac found...
    oggenc (vorbis) found...
    lame (mp3) found...

    Testing support for replaygain...
    wavegain NOT found.
    vorbisgain found...
    mp3gain found...

    Testing support for normalize...
    normalize found...
    Creating the Makefile...
    A summary of your settings:

    Using the following locations for install:
    * Executables: /usr/local/bin
    * Localization files: /usr/local/share/locale
    * Icon file: /usr/local/share/icons/hicolor/128x128/apps
    * Desktop file: /usr/local/share/applications
    * Ruby library: /usr/local/local/lib/site_ruby/1.9.1

    Gtk2 frontend will be installed
    Cli frontend will be installed

    Languages to be installed: de, hu

    You can now run make install
    finish up with
    Code:
    sudo checkinstall --fstrans=no --default --deldoc  --pkgversion 0.6.2
    Last edited by mc4man; March 18th, 2012 at 05:03 AM. Reason: link to released versions>: use till 0.7 is released or fixed

  7. #217
    Join Date
    Jun 2007
    Beans
    16,373

    Re: HOWTO: Install Rubyripper on Ubuntu

    A follow up on previous post or maybe using the current git in general - note: have no issues with english

    this will now be reported when installed,
    Unfortunately ruby-gettext crashed at updating the po file.
    This is a known issue with ruby-1.9 and ruby-gettext.
    See also issue 400 at http://code.google.com/p/rubyripper.
    For official releases the po files are already updated.
    Otherwise 11.10 is good to go & certainly fine w/ english

  8. #218
    Join Date
    Mar 2006
    Location
    South Africa, Secunda
    Beans
    131
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: HOWTO: Install Rubyripper on Ubuntu

    [QUOTE=jeggerleg;9445077]
    Quote Originally Posted by ghindo View Post
    HOWTO: Install Rubyripper on Ubuntu

    Note: These instructions are aimed at Ubuntu 10.04 and above. Results on other Ubuntu releases may vary.

    What is Rubyripper?
    From the HydrogenAudio wiki:


    How is Rubyripper different from other CD rippers?
    Rubyripper differs from programs like K3b and Sound Juicer because it is much more thorough. Rubyripper rips each audio track at least twice, then compares each rip for differences and attempts to make the most accurate compilation of rips it possibly can. The result? Higher quality, accurate CD rips.

    Installation
    Unfortunately, Rubyripper isn't yet available in the official Ubuntu repositories. Fortunately, there's a personal package archive (PPA) available which makes installation easy! No more compiling from source!

    1. First, open up the terminal. You can do this by looking in the Applications menu, under Accessories.
    2. Next, copy the following text into the terminal and hit enter:
      Code:
      sudo add-apt-repository ppa:aheck/ppa
      This should prompt you for your password.
    3. Then, run the following command:
      Code:
      sudo apt-get update
    4. Finally, enter
      Code:
      sudo apt-get install rubyripper


    And that's it! Rubyripper should now be in the applications Applications menu under Sound & Video.

    Done all that:

    "couldn't find package rubyripper"
    Yeah, this is not working in 11.04...

  9. #219
    Join Date
    Aug 2011
    Beans
    13

    Question Re: HOWTO: Install Rubyripper on Ubuntu

    I've just installed 0.6.0 on my Kubuntu 10.10 system. I'm using the command-line version, and so far I'm ripping to ogg. But I seem not to understand how the "base directory" and file-naming settings work. I'll try to explain:

    1. I have my base directory set to ~/Music.

    2. I have my standard naming scheme set to %a (%g) %t (my various artists scheme is similar).

    3. When I select "Rip cd now," I get the following message:

    The directory ~/Music already exist. What do you want rubyripper to do?
    I can cancel the rip, overwrite the directory, or auto-rename the directory, none of which sounds like what I want. "Overwrite" sounds scary. When I try "auto-rename," RR creates a new directory called "Music#1" off my home directory. I assume it would continue doing that (sermons#2, etc.) on future runs.

    4. I use Amarok to organize my music, so I'd just as soon dump all my music files into ~/Music and let Amarok scan and refresh its database. I also prefer to use internal tags for metadata and I don't feel I need a file structure (ex.: /genre/artist/album/) to keep my stuff in order. That's Amarok's job.

    So, what am I getting wrong, and how do you think I can solve this issue. I'm holding off ripping because I don't want to make a big mess.

    Many thanks!

    Todd

  10. #220
    Join Date
    Jun 2007
    Beans
    16,373

    Re: HOWTO: Install Rubyripper on Ubuntu

    Quote Originally Posted by tcarney57 View Post
    I've just installed 0.6.0 on my Kubuntu 10.10 system. I'm using the command-line version, and so far I'm ripping to ogg. But I seem not to understand how the "base directory" and file-naming settings work. I'll try to explain:

    1. I have my base directory set to ~/Music.

    2. I have my standard naming scheme set to %a (%g) %t (my various artists scheme is similar).
    I believe RR need to save in a directory(new), not loose in an existing dir.

    You should use the gui to set this up - look at the "Example filename" to see, it changes as you adjust
    (if you set it to something unacceptable it will be changed, after setting click on "Disc Info", then click on "Preferences" again to see if altered

    the basename should end in a / like
    ~/Music/[/QUOTE]
    your standard should include at least 1 / , i'm sure you'll figure it out
    Ex. of a minimal standard
    %b/%n-%t

Page 22 of 24 FirstFirst ... 122021222324 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

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