Michael,

Thanks for your concise answer!
Thanks to William too :-)

Here's what I did:
1 - download findutils package from sunfreeware.com (using OSOL gnome
desktop)
   - unpacked
   - pkg install findutils*
2. After 1, the locate command was not found yet. (PATH?)
    Going into /usr/local/bin and running ./locate gave me: (missing
dependency?)
    -----------------------
    erwin at opensolaris:/usr/local/bin# ./locate
    ld.so.1: locate: fatal: libintl.so.8: open failed: No such file or
directory
    Killed
    erwin at opensolaris:/usr/local/bin#
    ------------------------
3. - next I added sunfreeware.com to package list with:
    pfexec pkg set-publisher -O http://pkg.sunfreeware.com:9000
sunfreeware.com
4. - next
    erwin at opensolaris:~$ pfexec pkg install SUNWgnu-findutils
    DOWNLOAD                                  PKGS       FILES    XFER (MB)
    Completed                                  1/1       12/12      0.3/0.3

    PHASE                                        ACTIONS
    Install Phase                                  38/38

Still I can't run locate command...
Nor does 'find' seems to find 'locate'

Question:
Will doing an install with pkg install like I did handle dependencies?
How do I solve this?

B.t.w thanks for pointing to documentation, however it is somehow
overwhelming :-) howmany thousands of pages??
This one thoug very good about pkg:
http://dlc.sun.com/osol/docs/content/dev/IMGPACKAGESYS/gentextid-410.html

Erwin






Michael Schuster wrote:
> Erwin Panen wrote:
>> Hi forum,
>>
>> Totally new to OSOL but have some Linux background.
>> I'm missing some commands such as locate.
>> Some searching learned locate is packed in findutils. (sunfreeware.com)
>
> IIRC, sunfreeware.com publishes SysV packages, so what you need to do 
> is download the package in question, unpack/uncompress/whatever and 
> then do "pkgadd -d <directory of package> <pkgname>"
>
>> What 's the appropriate way to get this installed and take into 
>> account dependencies?
>
> I don't know about automatic dependency handling.
>
>> Is it possible to add 'repositories' and to install from them?
>> Does some apt-get equivalent exist?
>
> that's the "pkg" command; see "man pkg" for details, subcommands etc. 
> There's also a gui, the Update Manager, that you can find under 
> System->Administration.
>
> HTH
> Michael

Reply via email to