You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-3Lines changed: 8 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -73,14 +73,19 @@ make install
73
73
74
74
If you already have the package installed, you might have to do `make update` or `make replace` instead of `make install` in above commands. [Check here](https://www.netbsd.org/docs/pkgsrc/build.html#build.helpful-targets) for more info on which one to use when.
75
75
76
-
Alternatively package files can be generated and installed by running this instead of `make install`:
76
+
Alternatively to generate package files but not install it, run this instead of `make install`:
77
77
78
78
```sh
79
79
make package # or make repackage
80
-
doas pkg_add /usr/pkgsrc/packages/All/package-filename-here.tgz
81
80
```
82
81
83
-
Creating package files lets you keep a backup of them for future installations without building them again.
82
+
You can keep a backup of the generated package files in `/usr/pkgsrc/packages/` so that you can install them on future clean installs of NetBSD without building them again saving you lots of time. To install from package file:
83
+
84
+
```sh
85
+
doas pkg_add /usr/pkgsrc/packages/All/package-filename-here.tgz
0 commit comments