Professional Web Applications Themes

Determining what port owns a file - FreeBSD

I want to put kghostview on a machine, but I don't want to install too much of KDE in the progress. Given that I have another machine with it already installed, how might I go about figuring out which port owns, say, /usr/local/bin/kghostview? (If anybody happens to know offhand, that would work too) Thanks! --Mac -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (SunOS) iD8DBQFCUaTZ1AphoTGXiN0RAuKYAJ9O9mtCNU4TLV5iaba8M6 q9pvDyVQCgiO8q OdWDK6bLWt62Imo8mQLhv1E= =GIWG -----END PGP SIGNATURE-----...

  1. #1

    Default Determining what port owns a file

    I want to put kghostview on a machine, but I don't want to install too
    much of KDE in the progress.

    Given that I have another machine with it already installed, how might I
    go about figuring out which port owns, say, /usr/local/bin/kghostview?

    (If anybody happens to know offhand, that would work too)

    Thanks!

    --Mac

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.2.4 (SunOS)

    iD8DBQFCUaTZ1AphoTGXiN0RAuKYAJ9O9mtCNU4TLV5iaba8M6 q9pvDyVQCgiO8q
    OdWDK6bLWt62Imo8mQLhv1E=
    =GIWG
    -----END PGP SIGNATURE-----

    Mac Guest

  2. #2

    Default Re: Determining what port owns a file

    Mac Mason <hmc.edu> writes:
     

    If you have portupgrade installed, then pkg_which(1) will tell you.
    Otherwise, "pkg_info -La" and a bit of searching will do the job.
    Lowell Guest

  3. #3

    Default Re: Determining what port owns a file

    In the last episode (Apr 04), Lowell Gilbert said: 
    >
    > If you have portupgrade installed, then pkg_which(1) will tell you.
    > Otherwise, "pkg_info -La" and a bit of searching will do the job.[/ref]

    "pkg_info -W filename" does what "pkg_which filename" does, just a bit
    slower (and for only one file at a time)

    --
    Dan Nelson
    com
    Dan Guest

Similar Threads

  1. Determining file size
    By Velaria in forum Coldfusion - Getting Started
    Replies: 2
    Last Post: June 23rd, 03:22 PM
  2. Determining resolution of file sent to me
    By HEH_Associates@adobeforums.com in forum Adobe Acrobat Macintosh
    Replies: 5
    Last Post: May 23rd, 06:00 PM
  3. Determining size of gif or jpg file
    By Jimstone77@aol.com in forum PERL Beginners
    Replies: 2
    Last Post: October 29th, 03:16 PM
  4. Determining which ip address and port an inbound packet was sent to
    By Raja Sambasivan in forum UNIX Programming
    Replies: 0
    Last Post: July 10th, 08:01 PM
  5. Filesystem - Who Owns a Created File?
    By P'tit Marcel in forum PHP Development
    Replies: 1
    Last Post: July 2nd, 09:24 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139