two questions about packages, library and module

2013-03-14 Thread Sean Shoufu Luo
Hi all, Several questions: 1. How can I know exactly what packages/libraries/modules installed (and loaded)? It seems 'pkg-config --list-all' does not provide all libraries listed, for example, libpcap is installed, but pkg-config fails to list it Is there any tool like 'lsmod/insmod/rmmod' in

Re: two questions about packages, library and module

2013-03-14 Thread Ted Unangst
On Thu, Mar 14, 2013 at 13:54, Sean Shoufu Luo wrote: > 1. How can I know exactly what packages/libraries/modules installed (and > loaded)? pkg_info > It seems 'pkg-config --list-all' does not provide all libraries listed, for > example, libpcap is installed, but pkg-config fails to list it libp

Re: two questions about packages, library and module

2013-03-14 Thread Zé Loff
On Mar 14, 2013, at 5:54 PM, Sean Shoufu Luo wrote: > Hi all, > > Several questions: > > 1. How can I know exactly what packages/libraries/modules installed (and > loaded)? man pkg_info man ldconfig (hint: look for the -r option) > Is there any tool like 'lsmod/insmod/rmmod' in Linux in Open

Re: two questions about packages, library and module

2013-03-15 Thread Stuart Henderson
On 2013-03-14, Sean Shoufu Luo wrote: > 2. How can I build a package from source code tree? Unlike Linux distributions but like many other OS, the base OS is *not* kept in packages at all, it is a set of .tgz files which are updated together, outside of the package system.