Contribute  :  Calendar  :  Advanced Search  :  Site Statistics  :  Directory  :  About  :  Cartoons  :  Web Resources  :  Polls ...for all that other stuff    
 Welcome to
 Friday, February 15 2019 @ 21:15 CET

quick tip: how do you find out which packages were installed from a repository?

FreeBSDSo, if you use both pkg and ports in FreeBSD, how do you tell which packages were installed from a repository, and which you installed from source (via the ports tree)?

Turns out you can do it with pkg query, like this: pkg query 'Package %n-%v installed from %R'.
For packages installed from a repository you will get something like this:

root@kg-vm2#  pkg query 'Package %n-%v installed from %R' 
Package ORBit2-2.14.19_1 installed from FreeBSD
Package Thunar-1.6.10_1 installed from FreeBSD
Package adwaita-icon-theme- installed from FreeBSD
Package argyllcms-1.7.0_1 installed from FreeBSD
Package at-spi2-atk-2.16.0 installed from FreeBSD
Package at-spi2-core-2.16.0 installed from FreeBSD
Package atk-2.16.0 installed from FreeBSD
and packages installed from the ports tree will show this:

root@kg-core1#  pkg query 'Package %n-%v installed from %R' 
Package CoinMP-1.8.3 installed from unknown-repository
Package ImageMagick-,1 installed from unknown-repository
Package ORBit2-2.14.19_1 installed from unknown-repository
Package OpenEXR-2.2.0_5 installed from unknown-repository
Package OpenSP-1.5.2_2 installed from unknown-repository
Package Thunar-1.6.10_1 installed from unknown-repository
Package a2ps-4.13b_8 installed from unknown-repository
Package aalib-1.4.r5_11 installed from unknown-repository
This can be handy to know.

What's Related

Story Options

quick tip: how do you find out which packages were installed from a repository? | 0 comments | Create New Account
The following comments are owned by whomever posted them. This site is not responsible for what they say.
 Copyright © 2019
 All trademarks and copyrights on this page are owned by their respective owners.
Powered By Geeklog 
Created this page in 0.03 seconds