-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathxut.1
More file actions
163 lines (163 loc) · 3.5 KB
/
xut.1
File metadata and controls
163 lines (163 loc) · 3.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
.\" Generated by scdoc 1.11.3
.\" Complete documentation for this program is not available as a GNU info page
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.nh
.ad l
.\" Begin generated content:
.TH "XUT" "1" "2025-12-10"
.PP
.SH NAME
.PP
\fBxut\fR - install software for void-linux using unofficial \fBx\fRtra \fBu\fRser \fBt\fRemplates.\&
.PP
.SH SYNOPSIS
.PP
\fBxut\fR [-lsd] [-h] [-u ] [-b \fIpackages1,package2,.\&.\&.\&\fR | -i \fIpackages1,package2,.\&.\&.\&\fR] [-x <xbps-src command>] [-q <query>]
.PP
.SH DESCRIPTION
.PP
The xut utility used unofficial user-provided templates for xbps-src in git repos to provide
additional software for a void-linux installation.\&
.PP
.SH OPTIONS
.PP
\fB-s\fR
.RS 4
Sync the configured repositories.\&
.PP
.RE
\fB-l\fR
.RS 4
Enable logging to a file.\&
.PP
.RE
\fB-h\fR
.RS 4
Display usage information.\&
.PP
.RE
\fB-d\fR
.RS 4
Enable debugging and logging output.\&
.PP
.RE
\fB-b <package1,package2>\fR
.RS 4
Build a list of (comma-seperated) packages.\&
.PP
.RE
\fB-i <package1,package2>\fR
.RS 4
Build and install a list of (comma-seperated) packages.\&
.PP
.RE
\fB-x\fR
.RS 4
Executed xbps-src commands.\&
.PP
.RE
\fB-q\fR <query>
.RS 4
Search for <query> in available templates.\&
.PP
.RE
\fB-u\fR
.RS 4
Update packages.\&
.PP
.PP
.RE
.SS Notes for cli arguments
.RS 4
.PD 0
.IP \(bu 4
If \fB-x\fR is used, \fB-b\fR, \fB-i\fR and \fB-q\fR will be ignored.\&
.IP \(bu 4
\fB-b\fR and \fB-i\fR cannot be used in the same command.\&
.IP \(bu 4
\fB-l\fR and \fB-s\fR are meant to be used with some arguments (\fB-x\fR, \fB-b\fR, \fB-i\fR and \fB-u\fR).\&
.IP \(bu 4
\fB-l\fR enables "debug" messages in the output, which becomes more verbose.\&
.PD
.PP
.RE
.SH ENVIRONMENT
.PP
.RS 4
\fBNO_COLOR\fR is respected, as defined in https://no-color.\&org/
.PP
\fBCONF_WORKDIR\fR accepts a path to a directory and xut uses it as
a working directory, overriding the configuration.\&
.PP
\fBXUT_TMPDIR\fR accepts a path to a directory that xut uses for temporary
files, overriding the default (/tmp).\&
.PP
.RE
.SH CONFIGURATION
.PP
.RS 4
\fBxut\fR has very limited configuration.\&
By default it clones and syncs the abyss-packages from codeberg and the void-packages repository
and uses the templates of the second one to build and install additional packages.\&
It can be used without any additional configuration, but it can be configured by a \fI$HOME/xutconf\fR or
\fI$XDG_CONFIG_HOME/xutconf\fR file.\& There could be also added another extra repository.\&
Please see the sample configuration in \fI/usr/share/doc/xutconf.\&sample\fR for more.\&
By default, \fBxut\fR uses the \fI$HOME/.\&xut\fR directory as a working directory.\&
It clones and sync repos there, keeps logs if the user enables that with the \fB-l\fR argument in the log/ subdirectory.\&
.PP
.PP
.RE
.SH EXAMPLES
.PP
.RS 4
.PD 0
.IP \(bu 4
Build packages (without installing them):
.RS 4
.PD
.RE
.RE
\fB'\&xut -b package1,package2'\&\fR
.RS 4
.PD 0
.IP \(bu 4
Sync repos and install packages:
.RS 4
.PD
.RE
.RE
\fB'\&xut -si package1,package2'\&\fR
.RS 4
.PD 0
.IP \(bu 4
Use the above command with logging enabled:
.RS 4
.PD
.RE
.RE
\fB'\&xut -sli package1,package2'\&\fR
.RS 4
.PD 0
.IP \(bu 4
Execute an xbps-command in the merged repo:
.RS 4
.PD
.RE
.RE
\fB'\&xut -x <command>'\&\fR
.RS 4
.PD 0
.IP \(bu 4
Update packages after syncing repos:
.RS 4
.PD
.RE
.RE
\fB'\&xut -su'\&\fR
.PP
.PP
.SH AUTHORS
.PP
Maintained by mobinmob <mobinmob@disroot.\&org>.\& Up-to-date sources can be found at
https://codeberg.\&org/mobinmob/xut and bugs/patches can be submitted there.\&