Installing Ruby Ripper - Mint 13 Cinammon

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
Satch
Level 1
Level 1
Posts: 9
Joined: Fri Jul 06, 2012 1:25 pm

Installing Ruby Ripper - Mint 13 Cinammon

Post by Satch »

Good evening chaps. I am a real newb here so go easy. Love Mint. Installing 13 was no big deal. It has its own hdd, no dual boot. Down to typical newb-ish stuff.

I really ike the idea of Ruby Ripper since it is sort the EAC of the Linux world and I thought it would be a good way to try to learn to install a programme in Linux from scratch(I think).

Here are the particulars for machinery if it makes a difference. Dell E310, P4 2.8Ghz, 1Gb Ram, 160G hdd.

I went to the Ruby Ripper page and downloaded the latest version and unzipped it to a folder called Ruby Ripper which contained the pertinent files. I did a quick web search for how to intsall and found the simple suggestion to read over the README file. Really quite plain and easy to understand. However, like most Linux newbs i ran into some issues. i went through each dependency they said to install prior trying to install Ruby Ripper itself. (As an aside I assume RR is a frontend since the ripping is done with cdparanoia?) It seemed each of these went well. i know almost nothing about using the command line but have repeatedly seen sudo apt-get referred to as the way to do it so that is what i did. For each dependency it seeemed to work.

Okay fine. I get to to the point of actually trying to install RR and finally discover i needed to open the terminal from the folder it was loacted in. Embarrassed but thinking this is how you learn I copied their command line instructions verbatim and pasted them in the terminal. It seemed happy and went to work straight away. At this point I am ASSuming it was compiling Ruby Ripper. Anyway it finished and told me I was ready to "make install" but after attemtping that it gave the error;

make install
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.8/rr_lib.rb
install: cannot create regular file `/usr/local/lib/site_ruby/1.8/rr_lib.rb': Permission denied
make: *** [install] Error 1



Okay, what did i muss up and how do i fix it? I have included the Read Me text for anyone who wants to look at it. it is not real long and section 3 is the pertinent one for installation. As i read it it is unhappy that ruby-gettext is not installed but I would have sworn it went okay when I did it. I did it this way in the terminal; sudo apt-get install ruby-gettext. At least I think I did. Anyroad, where from here? Do I need to start all over with the Ruby download or is it okay to start from the files? Thanks and sorry to be so long.


3. HOW TO INSTALL

Dependencies:
* cdparanoia
* ruby

Suggested:
* ruby-gettext (for translations)
* ruby-gtk2 (for gtk2 gui)
* cd-discid or discid (for proper freedb support)
* eject or diskutil for MacOS (for eject support)
* flac, oggenc, lame (if the codec is wanted)
* wavgain, vorbisgain, mp3gain (for replaygain support)
* normalize (for normalize support)

Run from directory:
(1) ./rubyripper_gtk2.rb or
(1) ./rubyripper_cli.rb

To install:
(1) ./configure --enable-lang-all --enable-gtk2 --enable-cli --prefix=/usr or
(1) ./configure --enable-lang=de,hu --enable-gtk2 --enable-cli --prefix=/usr
(2) make install
The executables will be named `rrip_cli` and `rrip_gui`

To uninstall: (1) `make uninstall`
To cleanup: (1) `make clean`

3a) MACOS SUPPORT

The CLI now works in MacOS. However, if your cdparanoia version
doesn't support the -d switch (to set the device), only the default
drive can be used. Rubyripper doesn't do this for you, so if you got
weird results with freedb fetching, use your other cdrom drive.

A cdparanoia port for MacOS that supports the -d switch can be found here:
http://sourceforge.net/project/showfile ... _id=158413

For MacOS on x86 systems cd-discid is not working (ppc does), but discid is:
website => http://discid.sourceforge.net/
You can also test the fallback code for creating the discid ourselves,
but it may not work on audio-cd's with a data track.



Satch
Level 1
Level 1
Posts: 9
Joined: Fri Jul 06, 2012 1:25 pm

Re: Installing Ruby Ripper - Mint 13 Cinammon

Post by Satch »

Okay I found another error regarding ruby-gettext. I went back and went through the whole sudo apt-get routine and this is the error it returned;

Reading package lists... Done
Building dependency tree
Reading state information... Done
Package ruby-gettext is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source


Okay, i get it is not available as a package but how does knowing it is referenced by another package hlep to get it installed? Sorry, just a newb splashing his way through.

Lantesh
Level 6
Level 6
Posts: 1214
Joined: Sat Apr 12, 2008 1:02 pm

Re: Installing Ruby Ripper - Mint 13 Cinammon

Post by Lantesh »

Version 0.6.2-1 is available in the removed repositories. Mint ships with this repository already included in the software sources, just disabled. All you have to do is go into software sources, and enable it. After that you can install rubyripper using apt-get on the command line, or graphically in Synaptic Package Manager.

Satch
Level 1
Level 1
Posts: 9
Joined: Fri Jul 06, 2012 1:25 pm

Re: Installing Ruby Ripper - Mint 13 Cinammon

Post by Satch »

Thank you so much. Can you tell I sm not exactly confident in what I am doing? I will attempt the things you mention and report back. Should I remove the components I installed first?

Satch
Level 1
Level 1
Posts: 9
Joined: Fri Jul 06, 2012 1:25 pm

Re: Installing Ruby Ripper - Mint 13 Cinammon

Post by Satch »

Okay, here is what i have done so far. I went to the Software Manager>Edit>Software Sources>Other Software. There were a few "removed" entries and one, http://archive.removed/ubuntu precise-removed apps(source) , was already enabled. This left http://archive.removed/ubuntu precise-removed apps and http://archive.removed/ubuntu precise-removed games not enabled. I tried just ticking the check box and hitting the "add" button at the bottom but it brought up a dialog box directing me to manually enter the "complete APT line of the repsitory you want to add as source" I entered the strings i typed above and it seemed to install something but a sudo apt-get install ruby ripper did nothing so I searched through Synaptic Package Manager and the ruby ripper option was not there. Likely i just messed something up. Any ideas?

Satch
Level 1
Level 1
Posts: 9
Joined: Fri Jul 06, 2012 1:25 pm

How To Enable And Update The removed Repositories

Post by Satch »

Good afternoon. I recently started a thread about installing Ruby Ripper. I got a nice piece of advice to enable the removed archive(repositories?) in Linux Mint since deb has an installer for Ruby Ripper there. I had tried to enable them and they show up with a green checkmark but a search shows no Ruby Ripper. When I went tried to update them it gave an error simply saying it was unable to update. I always suspect myself when this stuff goes on. However, I wonder that something is missing or broken for this app under Mint 13? I tried downloading the tarball from Ripper's Google site and following their instructions to the letter but always get a "unable to install" error. After enabling removed and trying to force the issue by typing in termial; sudo apt-get install ruby ripper it gave the error it was not found. Any suggestions? Again, I suspect I am not doing things correctly.

Moved here by moderator - same topic.

Lantesh
Level 6
Level 6
Posts: 1214
Joined: Sat Apr 12, 2008 1:02 pm

Re: Installing Ruby Ripper - Mint 13 Cinammon

Post by Lantesh »

Ok let's try this a different way. Open your terminal and enter this command.

Code: Select all

sudo gedit /etc/apt/sources.list
Your actual sources file is going to open up so you can edit it using the program gedit. You will see something that looks similar to this. You are looking for the removed respository lines.

Code: Select all

deb http://packages.linuxmint.com/ maya main upstream import backport romeo
deb http://archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ precise partner
deb http://packages.medibuntu.org/ precise free non-free

# deb http://archive.removed/ubuntu precise-removed apps
# deb http://archive.removed/ubuntu precise-removed games
Notice the pound sign (#) in front of each removed line. You need to remove it so those lines now look like this.

Code: Select all

deb http://archive.removed/ubuntu precise-removed apps
deb http://archive.removed/ubuntu precise-removed games
Hit the save button, and close the file. Now enter this command. It will refresh your sources to include the removed repository.

Code: Select all

sudo apt-get update
Finally enter the install command. This will install the program.

Code: Select all

sudo apt-get install rubyripper
As for removing what you have already done I'll let someone else chime in. I don't think it will really matter. Yes you might have some cruft left behind by the botched attempt, but the new install should override any of that.

rhodry
Level 4
Level 4
Posts: 343
Joined: Mon Jun 04, 2007 7:32 am

Re: Installing Ruby Ripper - Mint 13 Cinammon

Post by rhodry »

To the OP;

The standard method for install from source is three cli commands from the folder in which the archive has been extracted/placed (assuming all dependencies are in place):

./configure
make
make install

However, the first two commands are issued as yourself, the third - "make install" MUST be issued as the superuser either through using "sudo" or becoming "root". The install places the relevant files, including executables, in their proper system location and for that you need superuser permission. "Make install" will not work as ordinary user.

Installing software in this manner will not register it in the software installed database used by the package manager! If you want to install it as a "package" you can install the program 'checkinstall' and run that (as superuser) in place of the "make install" command. What this does is run the "make install" but instead of placing files in the system it places them in a .deb package. You then run the .deb package ( as superuser) using "dpkg -i filename.deb" and dpkg will register the install, for update checking and other package management purposes.

Your mistake, from my brief perusal above, appears to be that you did not run the "make install" command as the superuser.

This is just FYI as, in this case, the software is in the repos and you should always use that version unless you have compelling reasons not to!

cheers,
rhodry.
Life isn't about waiting for the storm to pass...
it's about learning to dance in the rain.

Satch
Level 1
Level 1
Posts: 9
Joined: Fri Jul 06, 2012 1:25 pm

Re: Installing Ruby Ripper - Mint 13 Cinammon

Post by Satch »

Thank you for the help lads. I will certainly try the updated repositories first. Installing from the software manager has to be easier. And as mentioned it wil show up in package manager as well. As for the superuser I think I know what you mean. When I attempted the install from the download I copied and pasted the configure line the ruby developers had in the readme. It prompted me to enter my password after that. I then entered sudo apt-get make install and it seemed to go fine till the end when it gave the error. Still, I would rather investigate the deb packages first. KISS applies here I hope.

Lantesh
Level 6
Level 6
Posts: 1214
Joined: Sat Apr 12, 2008 1:02 pm

Re: Installing Ruby Ripper - Mint 13 Cinammon

Post by Lantesh »

So how did you make out?

Satch
Level 1
Level 1
Posts: 9
Joined: Fri Jul 06, 2012 1:25 pm

Re: Installing Ruby Ripper - Mint 13 Cinammon

Post by Satch »

High Lantesh. Here's the scoop. I am sure I hosed something in my Mint install because it kept locking up and would not do much of anything. So I blasted Mint 13 and reinstalled. Then I used your suggestions for updating the deb repositories and it worked a treat. Ruby Ripper showed up as a package in the software manager. A few clicks and it was installed. Pretty painless.

Rubyripper however is another story. I inserted a cd and it took forever to do anything with it. Twice I got " the disc has been spinning for more than 30 minutes so a 2 minute timeout will be taken to cool it down". Good grief. Finally it hung on one track and I aborted the process. I remembered the one track had given me issues before but the first timeout took place well before that. In Winodoze EAC takes these discs in stride though I must say it choked on that one track that Rubyripper did as well. Still, over 30 minutes to rip ten or twelve tracks is unacceptable. EAC pops them out in about 7-8 minutes and I have it set to be pretty picky about the rip. A bit more testing is always warranted but Rubyripper is not looking too great at the moment.

More importantly a big thank you to you and the other respondents. I am Linux dumb and you guys made a lot of this much easier to work through. But I now know to check and update repositories before jumping in. I am still more than impressed by Linux Mint's package and software managers. Ubuntu like I suppose since it is based on it. I can see why it is popular. It is pretty easy to deal with. Thanks again.

Lantesh
Level 6
Level 6
Posts: 1214
Joined: Sat Apr 12, 2008 1:02 pm

Re: Installing Ruby Ripper - Mint 13 Cinammon

Post by Lantesh »

Well I am glad the install worked out even if the program ultimately wasn't what you needed. You can always try sound-juicer instead. It rips pretty quickly.

Post Reply

Return to “Software & Applications”