-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpacget.8
124 lines (119 loc) · 3.59 KB
/
pacget.8
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
.\" Automatically generated by Pandoc 1.16.0.2
.\"
.TH "pacget" "8" "September 03, 2017" "pacget user manual" ""
.hy
.SH NAME
.PP
\f[B]pacget\f[] \-\- A wrapper around \f[B]pacaur\f[] to mimic
yaourt\[aq]s search feature.
.SH SYNOPSIS
.PP
\f[B]pacget\f[] [operation] [options] [target(s)]
.PP
\f[B]pacget\f[] [packages_to_install]
.PP
All arguments are forwarded to \f[B]pacaur\f[] excluding some special
ones which are processed separately to provide some extended
functionalities over pacaur (https://github.com/rmarquis/pacaur).
.SH DESCRIPTION
.PP
\f[B]pacget\f[] works the same way as \f[B]pacaur\f[] and consequently
\f[B]pacman\f[].
All basic operations are processed with \f[B]pacaur\f[] which wraps
around \f[B]pacman\f[] and thus you can use the same knowledge of
\f[B]pacman\f[] and \f[B]pacaur\f[].
.PP
\f[B]pacget\f[] extends some operations provided by pacaur, such as the
search functionality.
\f[B]pacget\f[]\[aq]s \f[C]\-s\f[] operation searches both the official
repo and AUR for the given search term and allows installing packages
interactively (kinda like
yaourt (https://github.com/archlinuxfr/yaourt)).
.SH USAGE
.PP
It can be used the same way as \f[C]pacaur\f[] (consequently
\f[C]pacman\f[]).
The only difference is that some options come with extra facilities.
.PP
\f[B]Examples:\f[]
.IP
.nf
\f[C]
#\ Upgrade
pacget\ \-Syu
#\ The\ following\ installs\ the\ package\ linux\-lts
pacget\ \-S\ linux\-lts
#\ The\ following\ is\ a\ short\ form\ to\ pacget\ \-S\ linux\-lts
pacget\ linux\-lts
#\ The\ following\ will\ search\ only\ arch\ official\ repo
#\ and\ give\ you\ option\ to\ select\ packages\ to\ install
pacget\ \-r\ \-s\ gimp
#\ The\ following\ will\ search\ only\ arch\ user\ repo\ aur
#\ and\ give\ you\ option\ to\ select\ packages\ to\ install
pacget\ \-a\ \-s\ gimp
#\ The\ following\ will\ search\ for\ gimp\ in\ both\ official\ repo\ and\ AUR
#\ and\ give\ you\ option\ to\ select\ packages\ to\ install
pacget\ \-s\ gimp
\f[]
.fi
.PP
[IMAGE: pacget example image (https://neurobin.org/img/pacget-ex.png)]
.SH SPECIALISED OPTIONS
.TP
.B \f[B]\-s, \-\-search\f[] \f[I]search_term\f[]
Search for \f[I]search_term\f[] in both official Archlinux repositories
and AUR, then install packages selectively and interactively.
This produces output like \f[B]yaourt\f[] with indexed package list and
lets you select the packages by index number (e.g 1,2,3 or 1 2 3) and
index range (1\-3 or 3\-1) to install them.
\f[C]pacaur\f[]s options in \f[I]general\f[] category are supported with
this option.
.RS
.RE
.TP
.B \f[B]\-Ss, \-S \-\-search\f[] \f[I]search_term\f[]
Same as \f[C]\-s\f[] option.
.RS
.RE
.TP
.B \f[B]\-Fs, \-F \-\-search\f[] \f[I]file_name\f[]
Search for packages containing file by the name \f[I]file_name\f[] in
the official repo.
\f[C]pacget\ \-Fy\f[] must be run at least once to use this search
functionality.
This produces output like \f[B]yaourt\f[] with indexed package list and
lets you select the packages by index number (e.g 1,2,3 or 1 2 3) and
index range (1\-3 or 3\-1) to install them.
.RS
.RE
.TP
.B \f[B]\-cs\f[] \f[I]search_term\f[]
Same as \f[C]\-s\f[], with compact output (no newlines after each
package entry)
.RS
.RE
.TP
.B \f[B]\-c, \-\-compact\f[]
Turn on compact mode.
.RS
.RE
.TP
.B \f[B]\-h, \-\-help\f[]
Show help for \f[B]pacget\f[] and \f[B]pacaur\f[]
.RS
.RE
.TP
.B \f[B]\-v, \-\-version\f[]
Show version info for \f[B]pacget\f[], \f[B]pacaur\f[] and
\f[B]pacman\f[]
.RS
.RE
.SH SEE ALSO
.PP
See \f[C]pacaur(8)\f[] (\f[C]man\ pacaur\f[] ) for more details on
pacaur options.
.SH BUG REPORT
.PP
<https://github.com/neurobin/pacget/issues>
.SH AUTHORS
Md. Jahidul Hamid <https://github.com/neurobin>.