File tree 1 file changed +13
-19
lines changed
1 file changed +13
-19
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ sudo pacman -Rns [PackageName]
19
19
Search for a package:
20
20
21
21
``` bash
22
- pacman -Ss [PackageName]
22
+ sudo pacman -Ss [PackageName]
23
23
```
24
24
25
25
Query package info:
@@ -45,6 +45,18 @@ Clean cache:
45
45
sudo pacman -Scc
46
46
```
47
47
48
+ Check for orphaned packages:
49
+
50
+ ``` bash
51
+ pacman -Qdtq
52
+ ```
53
+
54
+ Remove all orphans:
55
+
56
+ ``` bash
57
+ pacman -Qdtq | pacman -Rns -
58
+ ```
59
+
48
60
## Maintenance
49
61
50
62
Generates a random mirrorlist for the users and sort them by their current access time.
@@ -78,24 +90,6 @@ journalctl --vacuum-size=50M
78
90
journalctl --vacuum-time=2weeks
79
91
```
80
92
81
- Check for orphaned packages:
82
-
83
- ``` bash
84
- pamac list -o
85
- ```
86
-
87
- Remove all orphans:
88
-
89
- ``` bash
90
- pamac remove -o
91
- ```
92
-
93
- Remove all packages except the latest 3 versions:
94
-
95
- ``` bash
96
- pamac clean --keep 3
97
- ```
98
-
99
93
## AUR
100
94
101
95
Search for package
You can’t perform that action at this time.
0 commit comments