回答編集履歴

1

おまけの探し方を追記

2019/05/29 02:26

投稿

CHERRY
CHERRY

スコア25171

test CHANGED
@@ -3,3 +3,201 @@
3
3
 
4
4
 
5
5
  `/usr/pgsql-9.6/bin/pg_ctl` がありましたら、 `/usr/pgsql-9.6/bin` を PATH に追加してください。
6
+
7
+
8
+
9
+ ----
10
+
11
+ (おまけ)
12
+
13
+ ` yum provides コマンド ` で、パッケージ内のコマンドを検索できるので、うちのテスト環境で、パッケージ内の `pg_ctl` を検索した結果をみて、上記を推測。
14
+
15
+
16
+
17
+ ```
18
+
19
+ # yum provides */pg_ctl
20
+
21
+ Loaded plugins: fastestmirror
22
+
23
+ Loading mirror speeds from cached hostfile
24
+
25
+ * base: ftp.iij.ad.jp
26
+
27
+ * epel: mirrors.aliyun.com
28
+
29
+ * epel-debuginfo: mirrors.aliyun.com
30
+
31
+ * epel-source: mirrors.aliyun.com
32
+
33
+ * extras: ftp.iij.ad.jp
34
+
35
+ * ius: hkg.mirror.rackspace.com
36
+
37
+ * remi-php72: ftp.riken.jp
38
+
39
+ * remi-safe: ftp.riken.jp
40
+
41
+ * updates: ftp.iij.ad.jp
42
+
43
+
44
+
45
+ postgresql-server-9.2.24-1.el7_5.x86_64 : The programs needed to create and run a PostgreSQL server
46
+
47
+ Repo : base
48
+
49
+ Matched from:
50
+
51
+ Filename : /usr/bin/pg_ctl
52
+
53
+
54
+
55
+
56
+
57
+ postgresql-upgrade-9.2.24-1.el7_5.x86_64 : Support for upgrading from the previous major release of
58
+
59
+ : PostgreSQL
60
+
61
+ Repo : base
62
+
63
+ Matched from:
64
+
65
+ Filename : /usr/lib64/pgsql/postgresql-8.4/bin/pg_ctl
66
+
67
+
68
+
69
+
70
+
71
+ postgresql92-postgresql-server-9.2.18-1.el7.x86_64 : The programs needed to create and run a PostgreSQL
72
+
73
+ : server
74
+
75
+ Repo : centos-sclo-rh
76
+
77
+ Matched from:
78
+
79
+ Filename : /opt/rh/postgresql92/root/usr/bin/pg_ctl
80
+
81
+
82
+
83
+
84
+
85
+ postgresql92-postgresql-upgrade-9.2.18-1.el7.x86_64 : Support for upgrading from the previous major release
86
+
87
+ : of PostgreSQL
88
+
89
+ Repo : centos-sclo-rh
90
+
91
+ Matched from:
92
+
93
+ Filename : /opt/rh/postgresql92/root/usr/lib64/pgsql/postgresql-8.4/bin/pg_ctl
94
+
95
+
96
+
97
+
98
+
99
+ postgresql96-server-9.6.11-1PGDG.rhel7.x86_64 : The programs needed to create and run a PostgreSQL server
100
+
101
+ Repo : pgdg96
102
+
103
+ Matched from:
104
+
105
+ Filename : /usr/pgsql-9.6/bin/pg_ctl
106
+
107
+
108
+
109
+
110
+
111
+ postgresql96-server-9.6.12-1PGDG.rhel7.x86_64 : The programs needed to create and run a PostgreSQL server
112
+
113
+ Repo : pgdg96
114
+
115
+ Matched from:
116
+
117
+ Filename : /usr/pgsql-9.6/bin/pg_ctl
118
+
119
+
120
+
121
+
122
+
123
+ postgresql96-server-9.6.13-1PGDG.rhel7.x86_64 : The programs needed to create and run a PostgreSQL server
124
+
125
+ Repo : pgdg96
126
+
127
+ Matched from:
128
+
129
+ Filename : /usr/pgsql-9.6/bin/pg_ctl
130
+
131
+
132
+
133
+
134
+
135
+ rh-postgresql10-postgresql-server-10.3-2.el7.x86_64 : The programs needed to create and run a PostgreSQL
136
+
137
+ : server
138
+
139
+ Repo : centos-sclo-rh
140
+
141
+ Matched from:
142
+
143
+ Filename : /opt/rh/rh-postgresql10/root/usr/bin/pg_ctl
144
+
145
+ Matched from:
146
+
147
+ Filename : /opt/rh/rh-postgresql96/root/usr/bin/pg_ctl
148
+
149
+
150
+
151
+
152
+
153
+ rh-postgresql96-postgresql-server-9.6.10-1.el7.x86_64 : The programs needed to create and run a PostgreSQL
154
+
155
+ : server
156
+
157
+ Repo : centos-sclo-rh
158
+
159
+ Matched from:
160
+
161
+ Filename : /opt/rh/rh-postgresql96/root/usr/bin/pg_ctl
162
+
163
+
164
+
165
+
166
+
167
+ rh-postgresql96-postgresql-server-syspaths-9.6.5-2.el7.x86_64 : Convenient wrappers for the
168
+
169
+ ...: rh-postgresql96-postgresql-server package; replaces the postgresql-server package
170
+
171
+ Repo : centos-sclo-rh
172
+
173
+ Matched from:
174
+
175
+ Filename : /usr/bin/pg_ctl
176
+
177
+
178
+
179
+
180
+
181
+ rh-postgresql96-postgresql-server-syspaths-9.6.10-1.el7.x86_64 : Convenient wrappers for the
182
+
183
+ ...: rh-postgresql96-postgresql-server package; replaces the postgresql-server package
184
+
185
+ Repo : centos-sclo-rh
186
+
187
+ Matched from:
188
+
189
+ Filename : /usr/bin/pg_ctl
190
+
191
+
192
+
193
+
194
+
195
+ postgresql96-server-9.6.11-1PGDG.rhel7.x86_64 : The programs needed to create and run a PostgreSQL server
196
+
197
+ Repo : @pgdg96
198
+
199
+ Matched from:
200
+
201
+ Filename : /usr/pgsql-9.6/bin/pg_ctl
202
+
203
+ ```