Skip to content

Commit f586357

Browse files
authored
Create help.debloated_packages.txt
1 parent 2e1ce79 commit f586357

1 file changed

Lines changed: 68 additions & 0 deletions

File tree

help.debloated_packages.txt

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
This command is ran in the get-dependencies.sh script.
2+
It replaces some default Archlinux packages with smaller versions intended for AppImages.
3+
More info at https://github.com/pkgforge-dev/archlinux-pkgs-debloated
4+
5+
------------------------
6+
Example Code
7+
------------------------
8+
get-debloated-pkgs --add-common --prefer-nano
9+
10+
------------------------
11+
GENERAL COMMANDS
12+
------------------------
13+
--add-common
14+
Install a curated set of common packages, implies --add-mesa
15+
16+
--prefer-nano
17+
Prefer 'nano' variants of packages instead of 'mini'
18+
19+
-------- ----------------
20+
Speclized Commands
21+
-------------------------
22+
--ffmpeg-mini
23+
which removes 20 MiB libx265.so dependency, also removes AV1 enconding support (decoding still works).
24+
25+
--gdk-pixbuf2-mini, --librsvg-mini
26+
These remove the glycin dependency, ~20 MiB of bloat. (glycin is also super buggy and depends on bwrap which is problematic for running appimages in very old kernels)
27+
28+
--gtk3-mini
29+
??
30+
31+
--gtk4-mini
32+
??
33+
34+
--icu-mini
35+
Much smaller version of libicudata.so that is less than 3 MIB in size (10x reduction in size).
36+
37+
--intel-media-driver-mini
38+
?
39+
40+
--kiconthemes-mini
41+
?
42+
43+
--llvm-libs-mini
44+
smaller version of libLLVM.so which is a 150+ MiB library, this version is reduced down to 99 MiB.
45+
46+
--llvm-libs-nano
47+
similar to mini, but with the llvm targets limited (x86_64 or aarch64) + AMDGPU, this reduces the size of the library to less than 70 MiB. Note this will cause issues if application depends on more llvm targets like compilers.
48+
49+
--mangohud-mini
50+
?
51+
52+
--mesa-mini and vulkan-{radeon,intel,etc}-mini
53+
remove linking to libLLVM.so, making any hardware accelerated app tiny as result.
54+
55+
--mesa-nano and vulkan-{radeon,intel,etc}-nano
56+
similar to mesa-mini, built with -Os which makes it ~30% smaller. Note -Os can have a performance and even stability issue so do not use this package in apps like emulators where this is critical.
57+
58+
--mesa-zink-mini
59+
?
60+
61+
--opus-mini
62+
I have no idea why Archlinux makes this lib 5 MiB when both ubuntu and alpine make it <500 KiB
63+
64+
--qt6-base-mini and libxml2-mini
65+
remove 30 MiB libicudata lib dependency.
66+
67+
--x265-mini
68+
?

0 commit comments

Comments
 (0)