Skip to content

Commit 72659e6

Browse files
authored
Update package instructions on README.md
1 parent c6e3aa9 commit 72659e6

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,14 +73,19 @@ make install
7373

7474
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.
7575

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`:
7777

7878
```sh
7979
make package # or make repackage
80-
doas pkg_add /usr/pkgsrc/packages/All/package-filename-here.tgz
8180
```
8281

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
86+
## or
87+
doas pkg_add /path/to/package-filename-here.tgz
88+
```
8489

8590
Example output after install:
8691

0 commit comments

Comments
 (0)