How to find the name of programs in SuSE 7.2?
One of the most frustrating things that I have found with 7.2, is that the description or details of a package no longers lists the name of files it contains. Over the weekend, I installed the fpk package (pascal compiler). It unpacks its files in a directory called fpc and the compiler is ppc386. It took me ages to find this out (actually by using an earlier distribution CD). Perhaps someone can enlighten me as to an alternative (easier) method. Don't get me wrong. I love SuSE 7.2 and was boasting about it to a friend who has had continuous problems with several of his systems running MS stuff. However, I would really appreciate some guidance here because it can get frustrating at times? TIA Eddie
Eddie Howson (eddie@cs.rhul.ac.uk) [010702 00:14]:
One of the most frustrating things that I have found with 7.2, is that the description or details of a package no longers lists the name of files it contains. Over the weekend, I installed the fpk package (pascal compiler). It unpacks its files in a directory called fpc and the compiler is ppc386. It took me ages to find this out (actually by using an earlier distribution CD). Perhaps someone can enlighten me as to an alternative (easier) method. Don't get me wrong. I love SuSE 7.2 and was boasting about it to a friend who has had continuous problems with several of his systems running MS stuff. However, I would really appreciate some guidance here because it can get frustrating at times?
rpm -qif <packagename> -- I can't believe it's not UNIX!!! ------------------------------------------------------------ Leah Cunningham | (heinous)@openprojects #suse www.heinous.org | Linux geek, et al.
On Wednesday 04 July 2001 6:09 am, Leah Cunningham wrote:
Eddie Howson (eddie@cs.rhul.ac.uk) [010702 00:14]:
One of the most frustrating things that I have found with 7.2, is that the description or details of a package no longers lists the name of files it contains. Over the weekend, I installed the fpk package (pascal compiler). It unpacks its files in a directory called fpc and the compiler is ppc386. It took me ages to find this out (actually by using an earlier distribution CD). Perhaps someone can enlighten me as to an alternative (easier) method. Don't get me wrong. I love SuSE 7.2 and was boasting about it to a friend who has had continuous problems with several of his systems running MS stuff. However, I would really appreciate some guidance here because it can get frustrating at times?
rpm -qif <packagename>
Thanks Leah However, this command only gives me information about the package if I specify the location and name of the file. (If I put the name of the package as you suggest I get a no such file error message). I need the exact opposite. I need to be able to state the package and get the name of the files and their location. Someone did post me a script but I haven't got around to testing it as yet. Eddie
On Wed, 4 Jul 2001, Eddie Howson wrote:
On Wednesday 04 July 2001 6:09 am, Leah Cunningham wrote:
Eddie Howson (eddie@cs.rhul.ac.uk) [010702 00:14]:
One of the most frustrating things that I have found with 7.2, is that the description or details of a package no longers lists the name of files it contains. Over the weekend, I installed the fpk package (pascal compiler). It unpacks its files in a directory called fpc and the compiler is ppc386. It took me ages to find this out (actually by using an earlier distribution CD). Perhaps someone can enlighten me as to an alternative (easier) method. Don't get me wrong. I love SuSE 7.2 and was boasting about it to a friend who has had continuous problems with several of his systems running MS stuff. However, I would really appreciate some guidance here because it can get frustrating at times?
rpm -qif <packagename>
However, this command only gives me information about the package if I specify the location and name of the file. (If I put the name of the package as you suggest I get a no such file error message). I need the exact opposite. I need to be able to state the package and get the name of the files and their location. Someone did post me a script but I haven't got around to testing it as yet.
If you know the name of the file, but are not sure in which package it is included, you can grep over the content description files on CD1: mount /cdrom grep <filename> /cdrom/suse/contents/* or zgrep <filename> /cdrom/ARCHIVES.gz Bye, LenZ -- ------------------------------------------------------------------ Lenz Grimmer SuSE GmbH mailto:grimmer@suse.de Schanzaeckerstr. 10 http://www.suse.de/~grimmer/ 90443 Nuernberg, Germany Please come back to Detroit, we missed you the first time
On Wednesday 04 July 2001 9:08 am, you wrote:
On Wed, 4 Jul 2001, Eddie Howson wrote:
On Wednesday 04 July 2001 6:09 am, Leah Cunningham wrote:
Eddie Howson (eddie@cs.rhul.ac.uk) [010702 00:14]:
One of the most frustrating things that I have found with 7.2, is that the description or details of a package no longers lists the name of files it contains. Over the weekend, I installed the fpk package (pascal compiler). It unpacks its files in a directory called fpc and the compiler is ppc386. It took me ages to find this out (actually by using an earlier distribution CD). Perhaps someone can enlighten me as to an alternative (easier) method. Don't get me wrong. I love SuSE 7.2 and was boasting about it to a friend who has had continuous problems with several of his systems running MS stuff. However, I would really appreciate some guidance here because it can get frustrating at times?
rpm -qif <packagename>
However, this command only gives me information about the package if I specify the location and name of the file. (If I put the name of the package as you suggest I get a no such file error message). I need the exact opposite. I need to be able to state the package and get the name of the files and their location. Someone did post me a script but I haven't got around to testing it as yet.
If you know the name of the file, but are not sure in which package it is included, you can grep over the content description files on CD1:
mount /cdrom grep <filename> /cdrom/suse/contents/*
or
zgrep <filename> /cdrom/ARCHIVES.gz
Bye, LenZ
And if I know the name of the package but don't know the file names or locations? TIA Eddie
On Wednesday 04 July 2001 9:08 am, you wrote:
On Wed, 4 Jul 2001, Eddie Howson wrote:
On Wednesday 04 July 2001 6:09 am, Leah Cunningham wrote:
Eddie Howson (eddie@cs.rhul.ac.uk) [010702 00:14]:
One of the most frustrating things that I have found with 7.2, is that the description or details of a package no longers lists the name of files it contains. Over the weekend, I installed the fpk package (pascal compiler). It unpacks its files in a directory called fpc and the compiler is ppc386. It took me ages to find this out (actually by using an earlier distribution CD). Perhaps someone can enlighten me as to an alternative (easier) method. Don't get me wrong. I love SuSE 7.2 and was boasting about it to a friend who has had continuous problems with several of his systems running MS stuff. However, I would really appreciate some guidance here because it can get frustrating at times?
rpm -qif <packagename>
However, this command only gives me information about the package if I specify the location and name of the file. (If I put the name of the package as you suggest I get a no such file error message). I need
rpm -q pack
this gives result is present. Otherwise use
rpm-qa |grep pack
this will list al packeges but with the pack in it
then
rpm -qf pack.
if you have X you can use Kpackage or the Gnome version of it (I don't
recall the name)
or, if you ave webmin you can query from there.
hope this helps
----- Original Message -----
From: Eddie Howson
exact opposite. I need to be able to state the package and get the name of the files and their location. Someone did post me a script but I haven't got around to testing it as yet.
If you know the name of the file, but are not sure in which package it is included, you can grep over the content description files on CD1:
mount /cdrom grep <filename> /cdrom/suse/contents/*
or
zgrep <filename> /cdrom/ARCHIVES.gz
Bye, LenZ
And if I know the name of the package but don't know the file names or locations?
TIA
Eddie
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq and the archives at http://lists.suse.com
rpm -ql package will list all the files from that rpm rpm -qpl package will list all the files from the uninstalled rpm rpm -qf /full/path/file will give which package this file belongs man rpm has other options you may want to use so have a look Alternatively use Yast -- Togan Muftuoglu
"rpm -ql <package>" That's what I'm looking for! Thanks Togan. It works like a charm. Eddie ps. I've not been able to do it through Yast (as the description no longer includes the files and there location), but that could just be me. On Wednesday 04 July 2001 11:04 am, you wrote:
rpm -ql package will list all the files from that rpm rpm -qpl package will list all the files from the uninstalled rpm rpm -qf /full/path/file will give which package this file belongs
man rpm has other options you may want to use so have a look
Alternatively use Yast
Eddie Howson (eddie@cs.rhul.ac.uk) [010704 01:00]:
On Wednesday 04 July 2001 6:09 am, Leah Cunningham wrote:
Eddie Howson (eddie@cs.rhul.ac.uk) [010702 00:14]:
One of the most frustrating things that I have found with 7.2, is that the description or details of a package no longers lists the name of files it contains. Over the weekend, I installed the fpk package (pascal compiler). It unpacks its files in a directory called fpc and the compiler is ppc386. It took me ages to find this out (actually by using an earlier distribution CD). Perhaps someone can enlighten me as to an alternative (easier) method. Don't get me wrong. I love SuSE 7.2 and was boasting about it to a friend who has had continuous problems with several of his systems running MS stuff. However, I would really appreciate some guidance here because it can get frustrating at times?
rpm -qif <packagename>
Thanks Leah
However, this command only gives me information about the package if I specify the location and name of the file. (If I put the name of the package as you suggest I get a no such file error message). I need the exact opposite. I need to be able to state the package and get the name of the files and their location. Someone did post me a script but I haven't got around to testing it as yet.
Sorry about that, I mistook what you were looking for. Cheers, Leah -- I can't believe it's not UNIX!!! ------------------------------------------------------------ Leah Cunningham | (heinous)@openprojects #suse www.heinous.org | Linux geek, et al.
participants (5)
-
Eddie Howson
-
Leah Cunningham
-
Lenz Grimmer
-
Oyku Gencay
-
Togan Muftuoglu