/ docs / pkg-repositories.8
pkg-repositories.8
  1  .\"
  2  .\" SPDX-License-Identifier: BSD-2-Clause
  3  .\"
  4  .\" FreeBSD pkg - a next generation package for the installation and maintenance
  5  .\" of non-core utilities.
  6  .\"
  7  .\" Redistribution and use in source and binary forms, with or without
  8  .\" modification, are permitted provided that the following conditions
  9  .\" are met:
 10  .\" 1. Redistributions of source code must retain the above copyright
 11  .\"    notice, this list of conditions and the following disclaimer.
 12  .\" 2. Redistributions in binary form must reproduce the above copyright
 13  .\"    notice, this list of conditions and the following disclaimer in the
 14  .\"    documentation and/or other materials provided with the distribution.
 15  .\"
 16  .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
 17  .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 18  .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 19  .\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
 20  .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
 21  .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
 22  .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
 23  .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
 24  .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
 25  .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 26  .\" SUCH DAMAGE.
 27  .\"
 28  .\"     @(#)pkg.8
 29  .\"
 30  .Dd July 21, 2025
 31  .Dt PKG-REPOSITORIES 8
 32  .Os
 33  .Sh NAME
 34  .Nm "pkg repositories"
 35  .Nd display configured package repositories
 36  .Sh SYNOPSIS
 37  .Nm
 38  .Op Fl d
 39  .Op Fl e
 40  .Op Fl l
 41  .Op Ar repositories
 42  .Pp
 43  .Nm
 44  .Op Fl -disabled
 45  .Op Fl -enabled
 46  .Op Fl -list
 47  .Op Ar repositories
 48  .Sh DESCRIPTION
 49  .Nm
 50  displays configured software repositories for the package manager,
 51  .Xr pkg 8 .
 52  .Pp
 53  If given the name of an existing repository as an argument,
 54  only print its configuration.
 55  Without arguments all repositories are printed.
 56  .Sh OPTIONS
 57  The following options are supported by
 58  .Nm :
 59  .Bl -tag -width quiet
 60  .It Fl d , Fl -disabled
 61  Print disabled repositories only.
 62  .It Fl e , Fl -enabled
 63  Print enabled repositories only.
 64  .It Fl l , Fl -list
 65  Print the list of repository names.
 66  .El
 67  .Sh FILES
 68  .Bl -tag -width "/usr/local/etc/pkg/pkg.conf.sample"
 69  .It Pa /etc/pkg/FreeBSD.conf
 70  default system repository
 71  .It Pa /usr/local/etc/pkg/pkg.conf
 72  .Xr pkg 8
 73  configuration, including system repository
 74  .It Pa /usr/local/etc/pkg/pkg.conf.sample
 75  example
 76  .Xr pkg 8
 77  monolithic configuration, including default repository
 78  .It Pa /usr/local/etc/pkg/repos/
 79  location for site specific repositories
 80  .El
 81  .Sh EXAMPLES
 82  Display all repositories:
 83  .Pp
 84  .Dl pkg repositories -l
 85  .Pp
 86  Display all repositories configurations:
 87  .Pp
 88  .Dl pkg repositories
 89  .Sh SEE ALSO
 90  .Xr pkg_create 3 ,
 91  .Xr pkg_printf 3 ,
 92  .Xr pkg_repo_create 3 ,
 93  .Xr pkg_repos 3 ,
 94  .Xr pkg-keywords 5 ,
 95  .Xr pkg-lua-script 5 ,
 96  .Xr pkg-repository 5 ,
 97  .Xr pkg-script 5 ,
 98  .Xr pkg-triggers 5 ,
 99  .Xr pkg.conf 5 ,
100  .Xr pkg 8 ,
101  .Xr pkg-add 8 ,
102  .Xr pkg-alias 8 ,
103  .Xr pkg-annotate 8 ,
104  .Xr pkg-audit 8 ,
105  .Xr pkg-autoremove 8 ,
106  .Xr pkg-check 8 ,
107  .Xr pkg-clean 8 ,
108  .Xr pkg-config 8 ,
109  .Xr pkg-create 8 ,
110  .Xr pkg-delete 8 ,
111  .Xr pkg-fetch 8 ,
112  .Xr pkg-help 8 ,
113  .Xr pkg-info 8 ,
114  .Xr pkg-install 8 ,
115  .Xr pkg-key 8 ,
116  .Xr pkg-lock 8 ,
117  .Xr pkg-plugins 8 ,
118  .Xr pkg-query 8 ,
119  .Xr pkg-register 8 ,
120  .Xr pkg-repo 8 ,
121  .Xr pkg-rquery 8 ,
122  .Xr pkg-search 8 ,
123  .Xr pkg-set 8 ,
124  .Xr pkg-shell 8 ,
125  .Xr pkg-shlib 8 ,
126  .Xr pkg-ssh 8 ,
127  .Xr pkg-stats 8 ,
128  .Xr pkg-triggers 8 ,
129  .Xr pkg-unregister 8 ,
130  .Xr pkg-update 8 ,
131  .Xr pkg-updating 8 ,
132  .Xr pkg-upgrade 8 ,
133  .Xr pkg-version 8 ,
134  .Xr pkg-which 8