-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
install_apt.sh
42 lines (40 loc) · 938 Bytes
/
install_apt.sh
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
##############################
# author [Wankun Deng]
# email [[email protected]]
# create date 2023-02-15 18:33:53
# modify date 2023-02-16 00:23:44
# desc [description]
#############################
apt-get update -qq
apt-get install -y \
apt-utils \
apt-transport-https \
dirmngr \
gnupg \
libcurl4-openssl-dev \
libnlopt-dev \
lsb-release \
software-properties-common
apt-get update -qq
apt-key adv \
--keyserver keyserver.ubuntu.com \
--recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9
add-apt-repository \
--yes \
"deb ${CRAN_MIRROR}/bin/linux/ubuntu/ $(lsb_release -c -s) ${CRAN_MIRROR_TAG}/"
apt-get update -qq
apt-get install -y \
aptdaemon \
ed \
git \
mercurial \
libcairo-dev \
libedit-dev \
libxml2-dev \
graphviz \
r-base \
r-base-dev
rm -rf /var/lib/apt/lists/*
# python3 \
# python3-pip \
# python3-venv \