WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: sce.purge - trim down your packages and share your experiences  (Read 1735 times)

Offline netnomad

  • Hero Member
  • *****
  • Posts: 1026
sce.purge - trim down your packages and share your experiences
« on: January 30, 2016, 08:28:50 AM »
hi friends,

the new config file /etc/sysconfig/sce.purge offers an amazing feature.
it can reduce the size of packages in a phenomenal way, by avoiding unneeded files and directories that only bloat them.
for getting a stable working environment with more or less full functionality, experienced configurations are wanted and we should share our ideas, results and conclusions.

just my first entries in /etc/sysconfig/sce.purge and /etc/sysconfig/locale.nopurge
tc@box:/etc/sysconfig$ cat sce.purge
/usr/lib/i386-linux-gnu/libLLVM*
in addition to
tc@box:/etc/sysconfig$ cat locale.nopurge
LANG=de_DE.UTF-8
resulted in packages that are more than 100mb smaller and i experienced no negative issues.

additionally would it be interesting to know the function of /usr/lib/i386-linux-gnu/libLLVM* in the os,
for what is it for and what functions do we lose without it?
what functionality is lost by purging llvm?

thank you for your contributions and your share of ideas and knowledge.
« Last Edit: January 30, 2016, 08:43:44 AM by netnomad »

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: sce.purge - trim down your packages and share your experiences
« Reply #1 on: January 30, 2016, 09:50:24 AM »
The entries in /etc/sysconfig/locale.nopurge should just match the directories under /usr/share/locale without the LANG=, my install has the below as it has not been pruned:

Code: [Select]
ach
af
am
an
ar
as
ast
az
be
be@latin
bg
bn
bn_IN
br
brx
bs
byn
ca
ca@valencia
cgg
ckb
co
crh
cs
csb
cy
da
de
de_CH
doi
dz
el
en
en@boldquot
en@quot
en_AU
en_CA
en_GB
eo
es
es_MX
es_NI
es_VE
et
eu
fa
fa_IR
ff
fi
fi_FI
fo
fr
frp
fur
fy
ga
gd
gez
gl
gl_ES
gu
haw
he
hi
hr
hu
hy
ia
id
is
it
ja
ka
kk
km
kn
ko
kok
kok@latin
ks
ku
ky
lg
locale.alias
lt
lv
mai
mi
mk
ml
mn
mni
mni@bengali
mr
ms
mt
my
nb
nb_NO
nds
ne
nl
nn
no
nso
oc
or
os
pa
pl
ps
pt
pt-PT
pt_BR
pt_PT
ro
ru
ru_RU
rw
sc
si
sk
sl
so
sp
sq
sr
sr@Latn
sr@latin
sv
sv_SE
sw
szl
ta
te
tet
tg
th
ti
tig
tk
tl
tr
ts
tt
tt@iqtelif
tt_RU
ug
uk
ur
ur_PK
uz
uz@Latn
ve
vi
wa
wal
wo
xh
zh
zh_CN
zh_CN.GB2312
zh_HK
zh_TW
zh_TW.Big5
zu