Skip to content

Commit f25a44f

Browse files
committed
repositories/<various>: Consolidate repository info.
* Move contents of `{nonfree,multilib,nonfree}.md` into `index.md`. * Remove `{nonfree,multilib,nonfree}.md`. * Improve prose.
1 parent 3bda617 commit f25a44f

File tree

8 files changed

+60
-65
lines changed

8 files changed

+60
-65
lines changed

src/SUMMARY.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,6 @@
6464
- [Downgrading](./xbps/downgrading.md)
6565
- [Finding Files and Packages](./xbps/files-and-packages.md)
6666
- [Repositories](./xbps/repositories/index.md)
67-
- [debug](./xbps/repositories/debug.md)
68-
- [multilib](./xbps/repositories/multilib.md)
69-
- [nonfree](./xbps/repositories/nonfree.md)
7067
- [Mirrors](./xbps/repositories/mirrors/index.md)
7168
- [Changing Mirrors](./xbps/repositories/mirrors/changing.md)
7269
- [Using Tor Mirrors](./xbps/repositories/mirrors/tor.md)

src/config/graphical-session/graphics-drivers/nvidia.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ For using Wayland, users should install the `mesa-dri` provided driver.
1919

2020
## nvidia (Proprietary Driver)
2121

22-
The proprietary drivers are available in the [non-free
23-
repository](../../../xbps/repositories/nonfree.md).
22+
The proprietary drivers are available in the [nonfree
23+
repository](../../../xbps/repositories/index.md#nonfree).
2424

2525
Check if your graphics card belongs to the [legacy
2626
branch](https://www.nvidia.com/en-us/drivers/unix/legacy-gpu/). If it does not,

src/config/graphical-session/xorg.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ For advanced configuration, see
5050
### Proprietary Drivers
5151

5252
Void also provides [proprietary NVIDIA drivers](./graphics-drivers/nvidia.md),
53-
which are available in the [non-free
54-
repository](../../xbps/repositories/nonfree.md).
53+
which are available in the [nonfree
54+
repository](../../xbps/repositories/index.md#nonfree).
5555

5656
## Input Drivers
5757

src/config/microcode.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ without the need to replace the hardware.
1010
### Intel
1111

1212
Install the Intel microcode package, `intel-ucode`. This package is in the
13-
nonfree repo, which has to be [enabled](../xbps/repositories/nonfree.md). After
14-
installing this package, it is necessary to regenerate your
13+
nonfree repo, which has to be [enabled](../xbps/repositories/index.md#nonfree).
14+
After installing this package, it is necessary to regenerate your
1515
[initramfs](./kernel.md#kernel-hooks). For subsequent updates, the microcode
1616
will be added to the initramfs automatically.
1717

src/xbps/repositories/debug.md

Lines changed: 0 additions & 23 deletions
This file was deleted.

src/xbps/repositories/index.md

Lines changed: 54 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,60 @@ In addition to the main repository, which is enabled upon installation, Void
1414
provides other official repositories maintained by the Void project, but not
1515
enabled by default:
1616

17-
- [debug](./debug.md): contains debugging symbols for packages
18-
- [multilib](./multilib.md): contains 32-bit libraries for 64-bit systems (glibc
19-
only)
20-
- [multilib/nonfree](./multilib.md): contains non-free multilib packages
21-
- [nonfree](./nonfree.md): contains software packages with non-free licenses
17+
- nonfree: contains software packages with non-free licenses
18+
- multilib: contains 32-bit libraries for 64-bit systems (glibc only)
19+
- multilib/nonfree: contains non-free multilib packages
20+
- debug: contains debugging symbols for packages
2221

2322
These repositories can be enabled via the installation of the relevant package.
24-
For example, to enable the `nonfree` repository, install the `void-repo-nonfree`
25-
package. These packages only install a repository configuration file in
23+
These packages only install a repository configuration file in
2624
`/usr/share/xbps.d`.
25+
26+
### nonfree
27+
28+
Void has a `nonfree` repository for packages that don't have free licenses. It
29+
can enabled by installing the `void-repo-nonfree` package.
30+
31+
Packages can end up in the `nonfree` repository for a number of reasons:
32+
33+
- Non-free licensed software with released source-code.
34+
- Software released only as redistributable binary packages.
35+
- Patented technology, which may or may not have an (otherwise) open
36+
implementation.
37+
38+
### multilib
39+
40+
The `multilib` repository provides 32-bit packages as a compatibility layer
41+
inside a 64-bit system. It can be enabled by installing the `void-repo-multilib`
42+
package.
43+
44+
These repositories are only available for `x86_64` systems running the `glibc` C
45+
library.
46+
47+
### multilib/nonfree
48+
49+
The `multilib/nonfree` repository provides additional 32-bit packages which have
50+
non-free licenses. It can be enabled by installing the
51+
`void-repo-multilib-nonfree` package.
52+
53+
### debug
54+
55+
Void Linux packages come without debugging symbols. If you want to debug
56+
software or look at a core dump you will need the debugging symbols. These
57+
packages are contained in the debug repository. It can be enabled by installing
58+
the `void-repo-debug` package.
59+
60+
Once enabled, symbols may be obtained for `<package>` by installing
61+
`<package>-dbg`.
62+
63+
#### Finding debug dependencies
64+
65+
The `xtools` package contains the `xdbg` utility to retrieve a list of debug
66+
packages, including dependencies, for a package:
67+
68+
```
69+
$ xdbg bash
70+
bash-dbg
71+
glibc-dbg
72+
# xbps-install -S $(xdbg bash)
73+
```

src/xbps/repositories/multilib.md

Lines changed: 0 additions & 15 deletions
This file was deleted.

src/xbps/repositories/nonfree.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)