PDA

View Full Version : Grip lists lame, but it seems to be missing: how to install?



keenPenguin
06-01-2007, 08:34 PM
Hi,

Knoppix 4.0 comes with Grip, which lists many MP3-codecs (among them lame) but the only codec that really seems to be preinstalled can only produce ogg-files. Also, I've read that lame has not been preinstalled due to copyright problems. Anyway: does the latest Knoppix version come with lame? If not, can you tell me how to install it on Knoppix?

keenPenguin

JohnnyH
06-01-2007, 09:37 PM
I don't know about Knoppix 5.2, but for 5.1.1 add
deb http://www.debian-multimedia.org etch main to your
/etc/apt/sources.list
and invoke (with root privilege)
apt-get install liblame0 lame

keenPenguin
06-03-2007, 09:38 AM
Hi Johnny,


I don't know about Knoppix 5.2, but for 5.1.1 add
deb http://www.debian-multimedia.org etch main to your
/etc/apt/sources.list
and invoke (with root privilege)
apt-get install liblame0 lame

What does
deb http://www.debian-multimedia.org etch main mean? As a command line in the terminal, it didn't work. And how do I add it to that list file? I went to http://www.debian-multimedia.org/mirrors.html, but did not find the corresponding line, as "etch" was not to be found there.

keenPenguin

JohnnyH
06-03-2007, 12:05 PM
I infer from the context of your questions that you are actually running Knoppix 5.1.1 (?), in which case the following will be available to you:-
1. Kmenu -> System -> More Applications -> File Manager - Super User Mode
2. Navigate in file manager to /etc/apt
3. Click on the sources.list file to open it with Kwrite
4. Add to sources.list file the statement
deb http://www.debian-multimedia.org etch main
BTW "etch" is an alias (or vice-versa) for what is now "stable" Debian. (I prefer to use named designations as it avoids ambiguity with older system sources.list files where "stable" used to be "sarge" - which is now "oldstable" ;) . )
BTW for these codec files you might be able to use lenny(=testing) or sid(=unstable) with Knoppix 5.1.1 libraries, but I haven't tried mixing them so no guarantees ;) .
5. Save the amended /etc/apt/sources.list file.
6. From a root-privileged console invoke
apt-get update (I forgot to mention this first time :oops: )
then
apt-get install liblame0 lame and it should install for you :) .

keenPenguin
06-04-2007, 08:04 AM
Hi again JohnnyH,

the steps you described worked perfectly on 5.1.1. But after executing them, I was shocked to find that Grip is missing. I tried all menues that made sense to find it, and I tried "grip" and "Grip" in the terminal, but Knoppix remained silent.

Where is Grip? Or is there another ripping tool for MP3s?

keenPenguin

JohnnyH
06-04-2007, 08:40 AM
Your question specifically asked about installing lame but not about grip ;) ; grip is available in the normal Debian repository. BTW You can find whether this is the case for any package by going to
http://www.debian.org/distrib/packages
and entering the package name in the appropriate search field. N.B. Sometimes you may know only the command name that you are looking for, which is not always the same as the package name; for this use the "Search the contents of packages" field.


apt-get install gripshould get it for you.

keenPenguin
06-07-2007, 08:10 AM
Hi JohnnyH,

Well, first of all, thank you for your patience! But I feel I will have to put some further strain on it :oops:

As already mentioned, the installation of lame worked fine. But after calling
apt-get install grip I get an error text. I made a screenshot here:
http://www.abload.de/img/knoppixscreenzuv.png

The screenshot is in German, but I hoped that you might happen to be familiar with this error. Anyway, calling grip does not work. If the screenshot does not really shed light on the problem, I might try to translate it, or download an English Knoppix 5.1.1. and repeat the process.

keenPenguin

JohnnyH
06-07-2007, 01:17 PM
The error messages indicate significant incompatibility of your 5.1.1 libraries with what is *now* "testing" or "unstable" in the repositories.
Invoking apt-get -f install (as it suggests) *might* work OK but it would be a pretty brutal upgrade step and might leave you with problems ;)

I suggest that you (backing it up first) replace your /etc/apt/sources.list file with the following which I use with 5.1.1 (I've left in the 'cruft' which you can remove if you like).
[Edited line deb ... download.videolan.org/pub/videolan/debian sid main 14:07 hrs BST]

# deb http://ftp.uk.debian.org/debian/ etch main

deb http://ftp.uk.debian.org/debian/ etch main non-free contrib
#deb-src http://ftp.uk.debian.org/debian/ etch main non-free contrib

deb http://security.debian.org/ etch/updates main contrib non-free
#deb-src http://security.debian.org/ etch/updates main contrib non-free

# VLC Player and libdvdcss
#deb http://download.videolan.org/pub/videolan/debian sarge main
deb http://download.videolan.org/pub/videolan/debian sid main

# w32codecs
#deb http://www.debian-multimedia.org lenny main
deb http://www.debian-multimedia.org etch main

# cinelerra
deb http://www.kiberpipa.org/~minmax/cinelerra/builds/sid/ ./

If you are in the us you can replace uk by us to get your nearest mirror, or whatever is your appropriate country code.

Then invoke successively

apt-get update
apt-get install grip

and good luck ;)

keenPenguin
06-12-2007, 06:48 PM
Hi JohnnyH,

sorry for getting on your nerves, but apt-get just wouldn't work. I replaced my sources.list by yours, but calling

apt-get update always fails. Here's a screen shot:
http://www.abload.de/img/aptgetscreen21l.png

keenPenguin

JohnnyH
06-13-2007, 09:38 AM
1] You don't say that you invoked
apt-get install grip after
apt-get update - what is the result ?

2](i) The screen shot http://www.abload.de/img/aptgetscreen21l.png is not showing a 'show-stopper' failure of apt-get update ; it is telling you that the 'unofficial' codec packages are not verified by your system.

2](ii) You can still download & install them by accepting them unverified when prompted by apt-get install <whatever-codec>

2](iii) The verification tool is installed as follows ; from a root-privileged console invoke successively :-

apt-get install debian-multimedia-keyring
gpg --keyserver hkp://wwwkeys.eu.pgp.net --recv-keys 1F41B907
gpg --armor --export 1F41B907 | apt-key add -

(I recommend that you copy & paste each complete line into the console to avoid transcription errors).

*Don't* give up if you think you see an error reported ;) complete the instructions, then try
apt-get update again and report as necessary.

keenPenguin
06-13-2007, 04:26 PM
Hi JohnnyH,

thank you very much, it works! Works perfectly!

The reason why id did not before is that I was too impressed by that apt-get update error and that I always executed the commands in the wrong order. That is because I've read some place that even if grip is installed before the lame codec, it should automatically be familiar with the directory lame is in and thus work fine, even if the codec should be post-installed:

(root)
apt-get update
apt-get install grip
apt-get install liblame0 lame

Well, that was the worng order.


Now, for the first time, I tried:

(root)
apt-get update
apt-get install liblame0 lame
apt-get install grip

That worked fine :D Thank you very much!

But if you thought that finally you'll have peace, I must disappoint you :shock:
Because in your sources.list, you also have a VLC-mirror. I was wondering which package to (apt-)get in order to run VLC? How could I find out on my own? And what is "libdvdcss"?

keenPenguin

JohnnyH
06-13-2007, 06:50 PM
...Because in your sources.list, you also have a VLC-mirror. I was wondering which package to (apt-)get in order to run VLC? How could I find out on my own? And what is "libdvdcss"?...
You can use a search engine e.g. Google to answer such questions; putting in a search for
vlc linux
brought up www.videolan.org/vlc/ where you can navigate to Debian GNU/Linux at http://www.videolan.org/vlc/download-debian.html
which gives you the answer.
libdvdcss2 (current version) is a decoder for DVDs that have constraints on how the user can use them- again, use Google for your research.