Re: [opensuse] searching for and installing a package



2007/7/13, Jos van Kan <vankan@xxxxxxxxxxxx>:
Denis wrote:
> People, how can I search for g77 compiler and isntall it?
>
> The packages for opensuse Runs on enterprise server?
>
>
> Tanx.
>
>
> Exist any way to make a search for a package by a file that I know
> that should be in the packege, but I dont know the name of the
> package?

There is a utility named "pin" that does just that. On my 9.3 system I get:
<quote>
vankan@pavilion:~> pin g77

grepping /var/lib/pin/ARCHIVES.gz ... please wait

pin 0.30 - package info for g77

------------------------------------------------------------------
*** no rpm named g77 installed
------------------------------------------------------------------

maybe just a typo? what about this:

gcc-g77-3.3.5-5

maybe better restart with another option? grepping anyway ...


------------------------------------------------------------------
*** zgrep g77 /var/lib/pin/ARCHIVES.gz
------------------------------------------------------------------

---> ./DVD1/suse/i586/gcc-g77-3.3.5-5.i586.rpm
---> ./DVD1/suse/x86_64/gcc-g77-32bit-9.3-7.x86_64.rpm
---> ./DVD1/suse/x86_64/gcc-g77-3.3.5-5.x86_64.rpm
.
.
.
</quote>
where the vertical dots stand for a truckload of less important info.

Regards,
--
Jos van Kan registered Linux user #152704
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx



Jos,

Im Using Enterprise SuSE 10.2 but I couldn't find the pin command
neither a package.

denismpa@bachianas:~/corsika> ls /var/lib/pin
/bin/ls: /var/lib/pin: No such file or directory


In yast, searching for 'pin'


│Name │Avail. Vers. │Inst. Vers. │Summary

│Size │
│ i │MozillaFirefox │1.5.0.4 │1.5.0.4
│Mozilla Firefox Web Browser
│ 37│
│ i │TPSSMRuntime │ │09.12.A8.01
│Total Performance Storage System Runtime
│ 69│
│ │cracklib-devel │2.8.6 │
│Header files and libraries for developing apps which will use
CrackLib │ 75│
│ i │esp │3.0 │3.0
│ESP for Linux Package
│ 25│
│ │fping │2.4b2 │
│A Program to Ping Multiple Hosts
│ 74│
│ │heartbeat │2.0.5 │
│The Heartbeat Subsystem for High-Availability Linux
│ 6│
│ │icmpinfo │1.11 │
│A Tool for Looking at ICMP Messages
│ 35│
│ i │iputils │ss021109 │ss021109
│IPv4and IPv6 Networking Utilities
│ 313│
│ │kdepim3 │3.5.1 │
│Personal Information Manager Software for KDE
│ 72│
│ │ldapcpplib-devel │0.0.4 │
│Files for Developing ldapcpplib Applications
│ 4│
│ │mtr │0.69 │
│Ping and Traceroute Network Diagnostic Tool
│ 149│
│ │mtr-gtk │0.69 │
│Ping and Traceroute Network Diagnostic Tool
│ 198│
│ i │nautilus-cd-burner │2.12.3 │2.12.3
│CD Burning Extension for Nautilus
│ 1│
│ i │nautilus-cd-burner-x86 │2.12.3 │2.12.3
│CD Burning Extension for Nautilus
│ 103│
│ i │nfsidmap │0.12 │0.12
│NFSv4 ID Mapping Library
│ 131│
│ │openwbem │3.2.0 │
│Web Based Enterprise Management (WBEM) Implementation
│ 19│
│ -i- │pbs │ │8.0.0.63106
│PBS Portable Batch System
│ 46│
│ i │perl │5.8.8 │5.8.8
│The Perl interpreter
│ 50│
│ │perl-Tk │804.027 │
│Perl Tk
│ 9│
│ i │pinentry │0.7.2 │0.7.2
│Collection of Simple PIN or Passphrase Entry Dialogs
│ 595│
│ │ppp-devel │2.4.3 │
│Header Files Required for Developing Plugins for pppd
│ 91│
│ i │qt3 │3.3.5 │3.3.5
│A library for developing applications with graphical user interfaces
│ 17│
│ i │qt3-x86 │3.3.5 │3.3.5
│A library for developing applications with graphical user interfaces
│ 7│
│ │sapinit │1.1 │
│SAP runtime initializiation
│ 21│
│ │scim-pinyin │0.5.91.20050815│
│Intelligent Pinyin input module for Smart Chinese/Common Input Method
platform│ 5│
│ │scim-pinyin-skim │0.5.91.20050815│
│Intelligent Pinyin input module for Smart Chinese/Common Input Method
platform│ 180│
│ │sgi-xvm-standalone-kmp-debug │2.6.16.21_0.8 │
│xvm-standalone kernel module for 2.6.16.21-0.8-debug
│ 13│
│ i │sgi-xvm-standalone-kmp-default │2.6.16.21_0.8
│2.6.16.21_0.8│xvm-standalone kernel module for 2.6.16.21-0.8-default
│ 1│
│ │sgi-xvm-standalone-kmp-sltdebug│2.6.16.21_0.8 │
│xvm-standalone kernel module for 2.6.16.21-0.8-sltdebug
│ 1│
│ │xorg-x11-sdk │6.9.0 │
│X.Org SDK for building drivers
│ 29│
│ i │xorg-x11-server │6.9.0 │6.9.0
│X Window System modularized server
│ 16│
│ i │yast2-storage │2.13.69 │2.13.69
│YaST2 - Storage Configuration
│ 3│


thanks.

I don't know if I was clearly, but what I Want is something like
apt-file in debian, or like the form that have in debian.org that u
can look for a filename and it show wich package provides that file.

thank u

Regards,

Denis A.
N▀╖╡ФЛr╦⌡yИ ┼Z)z{.╠О╝·к⌡╠йБmЙ)z{.╠Й+─Z+iвb╤*'jW( f╖vг╕j)h╔ИЛ╨г╬┘Иi╒≈╖╡К╒╦