Post New Topic  Post A Reply
my profile | register | search | faq | forum home
  next oldest topic   next newest topic
» MacOSX -   » Ported Packages   » quick question concerning /usr/local/ path

UBBFriend: Email this page to someone!    
Author Topic: quick question concerning /usr/local/ path
Junior Member
Member # 274

posted January 06, 2002 07:07 AM      Profile for tunafat   Email tunafat   Send New Private Message      Edit/Delete Post  Reply With Quote 
i'm new to mac os x but i've been using linux/unix for a while. on unix systems i administer, i use a program called encap/epkg. when i install a new program, with the configure script, i would run something like ./configure --prefix=/usr/local/encap/foo-1.0/. most relocatable packages support this. then i run epkg which makes symlinks from /usr/local/encap/foo's bin/, man/, sbin/, etc to /usr/local's bin/, man/, sbin/, etc. the nice thing about doing things this way is if i need to upgrade or delete a program, i can delete /usr/local/encap/foo then tell epkg to update itself -- it'll delete the dangling symlinks effectively cleaning out the package without leaving anything behind. without it, you wouldn't know what files belonged to what packages.

i am interested in being able to be able to do the same thing with the packages available on

maybe there's already a way to do this and i've entirely overlooked it.


Posts: 4 | From: san francisco, ca | Registered: Jan 2002  |  IP: Logged
Member # 1

posted January 06, 2002 03:51 PM      Profile for apex   Email apex   Send New Private Message      Edit/Delete Post  Reply With Quote 
Apple's packages keep a listing of what files were installed in /Library/Reciepts/.

You can use a utility such as lsbom to read the information in the .bom file.

Posts: 307 | From: Alaska | Registered: Aug 2001  |  IP: Logged

All times are Pacific Time  

Post New Topic  Post A Reply Close Topic    Move Topic    Delete Topic next oldest topic   next newest topic
Hop To:

Contact Us |

Powered by Infopop Corporation
Ultimate Bulletin BoardTM