blob: efcdcf506133ffed92e34df30452f50aa1938f51 (
plain)
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
|
# is_installed
Search installed packages on Slackware (and derivatives), and find which
package contains a given file. Reads the package database in
`/var/log/packages`.
## Usage
```
is_installed <item> # search package names for <item>
is_installed file-search <item> # search file contents of every package for <item>
is_installed info <item> # less the manifest of the single match (lists candidates if many)
is_installed help # show help
```
## Install
System-wide:
```
install -m 0755 is_installed /usr/local/bin/is_installed
install -m 0644 is_installed.bash-completion \
/usr/share/bash-completion/completions/is_installed
```
Per-user (no root, needs `~/bin` on your PATH):
```
install -Dm0755 is_installed ~/bin/is_installed
```
## License
GPLv2. See [LICENSE](LICENSE).
Copyright (C) 2026 Danilo M. <danix@danix.xyz>
|