This repository has been archived by the owner on Jan 10, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 27
/
ToDo
548 lines (534 loc) · 8.53 KB
/
ToDo
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
open-publisher: 3.194 GB
#################
1. Create a list of all packages required to run TeXlive, Ruby, and Pandoc
2. Create a list of packages required to build TeXlive, Ruby, and Pandoc
(Note, it looks like the Ruby code already does this, good for an example)
#############################
apt-cache depends pandoc
Depends: libc6
Depends: libgmp10
Depends: zlib1g
apt-cache depends texlive-latex-base
Depends: texlive-binaries
Depends: texlive-base
Depends: dpkg
Depends: tex-common
apt-cache depends texlive-binaries
Depends: libptexenc1
Depends: libptexenc1
Depends: libkpathsea6
Depends: libkpathsea6
Depends: libc6
Depends: libfontconfig1
Depends: libfreetype6
Depends: libgcc1
Depends: libgmp10
Depends: libgraphite2-3
Depends: libgs9
Depends: libharfbuzz-icu0
Depends: libharfbuzz0b
Depends: libice6
Depends: libicu52
Depends: libmpfr4
Depends: libpaper1
Depends: libpixman-1-0
Depends: libpoppler46
Depends: libpotrace0
Depends: libsm6
Depends: libstdc++6
Depends: libsynctex1
Depends: libx11-6
Depends: libxaw7
Depends: libxext6
Depends: libxi6
Depends: libxmu6
Depends: libxpm4
Depends: libxt6
Depends: libzzip-0-13
Depends: zlib1g
Depends: tex-common
Depends: perl
|Depends: dpkg
apt-cache depends texlive-base
Depends: ucf
Depends: xdg-utils
Depends: texlive-binaries
Depends: libpaper-utils
Depends: tex-common
|Depends: debconf
Depends: dpkg
apt-cache depends tex-common
|Depends: debconf
Depends: ucf
Depends: <cdebconf>
Depends: dpkg
BUILD_PACKAGES: latex-xcolor
#################
# List packages only needed for building shit
BUILD_PACKAGES="make "
apt-get install -y $BUILD_PACKAGES
apt-get remove -y $BUILD_PACKAGES
# List all packages you actually need at runtime
RUNTIME_PACKAGES="...."
apt-get install -y $RUNTIME_PACKAGES
# Remove all packages that were pulled in by other stuff
AUTO_ADDED_PACKAGES=`apt-mark showauto`
apt-get remove --purge -y $BUILD_PACKAGES $AUTO_ADDED_PACKAGES
====================================================================
Current output of `apt-mark showauto`
----------------------------------------
automake
autotools-dev
binutils
bzip2
bzip2-doc
ca-certificates
cpp
cpp-4.9
dbus
dh-python
dpkg-dev
fakeroot
file
fontconfig-config
fonts-cabin
fonts-comfortaa
fonts-crosextra-caladea
fonts-crosextra-carlito
fonts-dejavu-core
fonts-dejavu-extra
fonts-droid
fonts-ebgaramond
fonts-ebgaramond-extra
fonts-font-awesome
fonts-freefont-otf
fonts-freefont-ttf
fonts-gfs-artemisia
fonts-gfs-complutum
fonts-gfs-didot
fonts-gfs-neohellenic
fonts-gfs-olga
fonts-gfs-solomos
fonts-inconsolata
fonts-junicode
fonts-lato
fonts-liberation
fonts-linuxlibertine
fonts-lmodern
fonts-lobster
fonts-lobstertwo
fonts-oflb-asana-math
fonts-sil-gentium
fonts-sil-gentium-basic
fonts-stix
fonts-texgyre
g++
g++-4.9
gcc
gcc-4.9
ghostscript
gir1.2-freedesktop
gir1.2-gdkpixbuf-2.0
gir1.2-glib-2.0
gir1.2-rsvg-2.0
git-man
gsfonts
hicolor-icon-theme
imagemagick-6.q16
imagemagick-common
javascript-common
krb5-locales
less
libalgorithm-c3-perl
libalgorithm-diff-perl
libalgorithm-diff-xs-perl
libalgorithm-merge-perl
libarchive-extract-perl
libasan1
libatomic1
libaudio2
libauthen-sasl-perl
libavahi-client3
libavahi-common-data
libavahi-common3
libbsd0
libbz2-dev
libc-dev-bin
libc6-dev
libcairo-gobject2
libcairo-script-interpreter2
libcairo2
libcairo2-dev
libcap-ng0
libcdt5
libcgi-fast-perl
libcgi-pm-perl
libcgraph6
libcilkrts5
libclass-c3-perl
libclass-c3-xs-perl
libcloog-isl4
libcpan-meta-perl
libcroco3
libcups2
libcupsfilters1
libcupsimage2
libcurl3
libcurl3-gnutls
libdata-optlist-perl
libdata-section-perl
libdatrie1
libdbus-1-3
libdjvulibre-dev
libdjvulibre-text
libdjvulibre21
libdpkg-perl
libdrm-intel1
libdrm-nouveau2
libdrm-radeon1
libdrm2
libedit2
libelf1
libelfg0
libencode-locale-perl
liberror-perl
libexif-dev
libexif12
libexpat1
libexpat1-dev
libfakeroot
libfcgi-perl
libffi6
libfftw3-double3
libfile-basedir-perl
libfile-desktopentry-perl
libfile-fcntllock-perl
libfile-homedir-perl
libfile-listing-perl
libfile-mimeinfo-perl
libfile-which-perl
libfont-afm-perl
libfontconfig1
libfontconfig1-dev
libfontenc1
libfreetype6
libfreetype6-dev
libgcc-4.9-dev
libgd3
libgdbm3
libgdk-pixbuf2.0-0
libgdk-pixbuf2.0-common
libgdk-pixbuf2.0-dev
libgirepository-1.0-1
libgl1-mesa-dri
libgl1-mesa-glx
libglapi-mesa
libglib2.0-0
libglib2.0-bin
libglib2.0-data
libglib2.0-dev
libgmp10
libgnutls-deb0-28
libgomp1
libgraphite2-3
libgraphviz-dev
libgs9
libgs9-common
libgssapi-krb5-2
libgvc6
libgvpr2
libharfbuzz-icu0
libharfbuzz0b
libhogweed2
libhtml-form-perl
libhtml-format-perl
libhtml-parser-perl
libhtml-tagset-perl
libhtml-tree-perl
libhttp-cookies-perl
libhttp-daemon-perl
libhttp-date-perl
libhttp-message-perl
libhttp-negotiate-perl
libice-dev
libice6
libicu52
libidn11
libijs-0.35
libilmbase-dev
libilmbase6
libinotifytools0
libio-html-perl
libio-socket-ssl-perl
libisl10
libitm1
libjasper-dev
libjasper1
libjbig-dev
libjbig0
libjbig2dec0
libjpeg-dev
libjpeg62-turbo
libjpeg62-turbo-dev
libjs-jquery
libk5crypto3
libkeyutils1
libkpathsea6
libkrb5-3
libkrb5support0
liblcms2-2
liblcms2-dev
libldap-2.4-2
libllvm3.5
liblog-message-perl
liblog-message-simple-perl
liblqr-1-0
liblqr-1-0-dev
liblsan0
libltdl-dev
libltdl7
liblwp-mediatypes-perl
liblwp-protocol-https-perl
liblzma-dev
liblzo2-2
libmagic1
libmagickcore-6-arch-config
libmagickcore-6-headers
libmagickcore-6.q16-2
libmagickcore-6.q16-2-extra
libmagickcore-6.q16-dev
libmagickwand-6-headers
libmagickwand-6.q16-2
libmagickwand-6.q16-dev
libmailtools-perl
libmng1
libmodule-build-perl
libmodule-pluggable-perl
libmodule-signature-perl
libmpc3
libmpdec2
libmpfr4
libmro-compat-perl
libnet-dbus-perl
libnet-http-perl
libnet-smtp-ssl-perl
libnet-ssleay-perl
libnetpbm10
libnettle4
libopenexr-dev
libopenexr6
libopenjpeg5
libp11-kit0
libpackage-constants-perl
libpango-1.0-0
libpangocairo-1.0-0
libpangoft2-1.0-0
libpaper-utils
libpaper1
libparams-util-perl
libpathplan4
libpciaccess0
libpcre3-dev
libpcrecpp0
libpixman-1-0
libpixman-1-dev
libpng12-0
libpng12-dev
libpod-latex-perl
libpod-readme-perl
libpoppler-qt4-4
libpoppler46
libpopt0
libpotrace0
libpsl0
libptexenc1
libpthread-stubs0-dev
libpython-stdlib
libpython2.7-minimal
libpython2.7-stdlib
libpython3-stdlib
libpython3.4-minimal
libpython3.4-stdlib
libqt4-xml
libqtcore4
libqtgui4
libquadmath0
libregexp-common-perl
librsvg2-2
librsvg2-common
librsvg2-dev
librtmp1
libruby2.1
libsasl2-2
libsasl2-modules
libsasl2-modules-db
libsigsegv2
libsm-dev
libsm6
libsoftware-license-perl
libsqlite3-0
libssh2-1
libssl-doc
libssl1.0.0
libstdc++-4.9-dev
libsub-exporter-perl
libsub-install-perl
libsynctex1
libtasn1-6
libtcl8.6
libterm-ui-perl
libtext-soundex-perl
libtext-template-perl
libthai-data
libthai0
libtie-ixhash-perl
libtiff5
libtiff5-dev
libtiffxx5
libtimedate-perl
libtk8.6
libtool
libtsan0
libtxc-dxtn-s2tc0
libubsan0
liburi-perl
libutempter0
libvpx1
libwmf-dev
libwmf0.2-7
libwww-perl
libwww-robotrules-perl
libx11-6
libx11-data
libx11-dev
libx11-doc
libx11-protocol-perl
libx11-xcb1
libxau-dev
libxau6
libxaw7
libxcb-dri2-0
libxcb-dri3-0
libxcb-glx0
libxcb-present0
libxcb-render0
libxcb-render0-dev
libxcb-shape0
libxcb-shm0
libxcb-shm0-dev
libxcb-sync1
libxcb1
libxcb1-dev
libxcomposite1
libxcursor1
libxdamage1
libxdmcp-dev
libxdmcp6
libxdot4
libxext-dev
libxext6
libxfixes3
libxft2
libxi6
libxinerama1
libxml-parser-perl
libxml-twig-perl
libxml-xpathengine-perl
libxml2
libxml2-dev
libxmu6
libxmuu1
libxpm4
libxrandr2
libxrender-dev
libxrender1
libxshmfence1
libxss1
libxt-dev
libxt6
libxtst6
libxv1
libxxf86dga1
libxxf86vm1
libyaml-0-2
libyaml-tiny-perl
libzzip-0-13
linux-libc-dev
lmodern
m4
manpages
manpages-dev
mime-support
netpbm
openssh-client
openssl
patch
perl
perl-modules
pkg-config
poppler-data
prerex
preview-latex-style
prosper
ps2eps
python
python-minimal
python2.7
python2.7-minimal
python3-minimal
python3.4
python3.4-minimal
qtcore4-l10n
rename
rsync
ruby2.1
rubygems-integration
sgml-base
shared-mime-info
tcl
tcl8.6
tex-common
tex-gyre
texlive-base
texlive-binaries
texlive-extra-utils
texlive-font-utils
texlive-fonts-extra-doc
texlive-fonts-recommended
texlive-fonts-recommended-doc
texlive-generic-recommended
texlive-latex-base-doc
texlive-latex-extra
texlive-latex-extra-doc
texlive-latex-recommended
texlive-latex-recommended-doc
texlive-pictures
texlive-pictures-doc
texlive-pstricks
texlive-pstricks-doc
tipa
tk
tk8.6
ttf-adf-accanthis
ttf-adf-gillius
ttf-adf-universalis
ucf
vprerex
x11-common
x11-utils
x11-xserver-utils
x11proto-core-dev
x11proto-input-dev
x11proto-kb-dev
x11proto-render-dev
x11proto-xext-dev
xauth
xbitmaps
xdg-user-dirs
xdg-utils
xml-core
xorg-sgml-doctools
xterm
xtrans-dev
xz-utils
zlib1g-dev