vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| How can I find out what packages are required for a certain package? I tried "pkg_info -D package_name.tgz" but it produced no output. TIA, -- Zoong PHAM UNIX Systems Administrator Mercy Health and Aged Care Inc. Melbourne - Australia zpham@mercy_dot_com_dot_au +61 - 3 - 84167747 PGP public key is available on request |
| |||
| On 3 Nov 2003, Zoong Pham wrote: > How can I find out what packages are required for a certain package? > I tried "pkg_info -D package_name.tgz" but it produced no output. that's because -D isn't supposed to print dependencies. try pkg_info -v -- "The laws in this city are clearly racist. All laws are racist. The law of gravity is racist." - M. Barry, Mayor of Washington, DC |
| |||
| In article <Pine.GSO.4.44.0311030037430.13196-100000@elaine40.Stanford.EDU>, Ted Unangst wrote: > that's because -D isn't supposed to print dependencies. try pkg_info -v Thanks Ted, pkg_info -v package_name does list dependencies. Note that package_name doesn't contains ".tgz". Cheers, -- Zoong PHAM UNIX Systems Administrator Mercy Health and Aged Care Inc. Melbourne - Australia zpham@mercy_dot_com_dot_au +61 - 3 - 84167747 PGP public key is available on request |
| |||
| In article <slrnbqcbal.6o4.dpham@websvr01.mercy.com.au>, Zoong Pham wrote: > In article <Pine.GSO.4.44.0311030037430.13196-100000@elaine40.Stanford.EDU>, Ted Unangst wrote: >> that's because -D isn't supposed to print dependencies. try pkg_info -v > > Thanks Ted, pkg_info -v package_name does list dependencies. > Note that package_name doesn't contains ".tgz". > I just find out the above only works if I have a package and its dependencies all installed. Is there a way that I can find the dependencies of a package that I am about to install? Say I downloaded packaged abc-123.tgz. I want to know what are other packages (def-456.tgz, xyz-789.tgz, etc ...) that are required by abc-123.tgz. So I can download the all the dependencies. I just want to download only packages I need for a package so I can do run pkg_add locally. And I don't think the OBSD website lists dependencies of a given package. TIA, -- Zoong PHAM UNIX Systems Administrator Mercy Health and Aged Care Inc. Melbourne - Australia zpham@mercy_dot_com_dot_au +61 - 3 - 84167747 PGP public key is available on request |
| |||
| On 5 Nov 2003, Zoong Pham wrote: > Is there a way that I can find the dependencies of a package that > I am about to install? personally, i just keep trying to add it until it works. > Say I downloaded packaged abc-123.tgz. I want to know what are > other packages (def-456.tgz, xyz-789.tgz, etc ...) that are required > by abc-123.tgz. So I can download the all the dependencies. if you run pkg_info -v on the tgz, you should see lines similar to pkg_info(ogle-0.9.1): unknown command type 20 (ogle-0.9.1:mad.1.0:mad-*:mad-0.14.2b) which probably isn't the best output, but indicates that ogle depends on mad. > I just want to download only packages I need for a package so I can do > run pkg_add locally. > And I don't think the OBSD website lists dependencies of a given package. running make show=LIB_DEPENDS and show=RUN_DEPENDS in the ports tree will spit out this info, as will the html files made by make readmes. you can use this as a reference, and still download packages. -- "The laws in this city are clearly racist. All laws are racist. The law of gravity is racist." - M. Barry, Mayor of Washington, DC |
| |||
| In article <Pine.GSO.4.44.0311042036460.24183-100000@elaine29.Stanford.EDU>, Ted Unangst wrote: > running make show=LIB_DEPENDS and show=RUN_DEPENDS in the ports tree will > spit out this info, as will the html files made by make readmes. you can > use this as a reference, and still download packages. Thanks again Ted. It sounds good. I will give it a try. BTW, what flags of make in the port tree are available apart from show=LIB_DEPENDS and show=RUN_DEPENDS ? I guess the common ones should be clean, test/check, distclean, etc... Cheers, -- Zoong PHAM UNIX Systems Administrator Mercy Health and Aged Care Inc. Melbourne - Australia zpham@mercy_dot_com_dot_au +61 - 3 - 84167747 PGP public key is available on request |
| ||||
| On 5 Nov 2003, Zoong Pham wrote: > BTW, what flags of make in the port tree are available apart from > show=LIB_DEPENDS and show=RUN_DEPENDS ? > I guess the common ones should be clean, test/check, distclean, etc... have a look at man ports and man bsd.port.mk -- "What right does Congress have to go around making laws just because they deem it necessary?" - M. Barry, Mayor of Washington, DC |