-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathinstall-packages_fedora_latex.sh
More file actions
64 lines (57 loc) · 1.26 KB
/
install-packages_fedora_latex.sh
File metadata and controls
64 lines (57 loc) · 1.26 KB
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
#!/usr/bin/env bash
set -euo pipefail
dnf --refresh upgrade -y && \
dnf group install -y development-tools && \
dnf install -y --setopt=tsflags= \
git \
make \
cmake \
less \
dia \
ghostscript \
texlive-scheme-full \
texlive \
pdflatex \
texlive-beamer \
texlive-amsmath \
texlive-amsfonts \
texlive-bibtex \
texlive-makeindex \
texlive-metafont \
texlive-cm-super \
texlive-dvips \
texlive-amsaddr \
texlive-amscls \
texlive-amsmath \
texlive-amsfonts \
texlive-amsrefs \
texlive-amscdx \
texlive-xypic \
texlive-bibtex\
texlive-imakeidx \
texlive-makeindex \
texlive-indextools \
texlive-hyperxmp \
texlive-fancyhdr \
texlive-cm \
texlive-bbm \
texlive-cm-mf-extra-bold \
texlive-metafont\
texlive-ec \
texlive-cm-super \
texlive-ginpenc \
texlive-latex-uni8 \
texlive-german \
texlive-amslatex-primer-doc && \
dnf -y install "https://kojipkgs.fedoraproject.org//packages/wiki2beamer/0.10.0/9.fc38/noarch/wiki2beamer-0.10.0-9.fc38.noarch.rpm" && \
dnf clean all && \
echo "DONE dnf install and clean. now syncing." && \
sync
RC=$?
#wiki2beamer: use the legacy RPM (The Fedora 38 package)
if [ ${RC} -eq 0 ]; then
echo "SUCCESSfully installed packages."
else
echo "ERROR installing packages."
fi
exit ${RC}