Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation of devtools✝ on 🚩🇨🇳🏹红旗中科 RedFlag Linux (🍥Debian 11) #2464

Closed
englianhu opened this issue Aug 24, 2022 · 3 comments

Comments

@englianhu
Copy link

englianhu@Scibrokes:~$ /usr/bin/R/${R_VERSION}/bin/R --version
R version 4.2.1 (2022-06-23) -- "Funny-Looking Kid"
Copyright (C) 2022 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under the terms of the
GNU General Public License versions 2 or 3.
For more information about these matters see
https://www.gnu.org/licenses/.

englianhu@Scibrokes:~$ sudo ln -s /usr/bin/R/${R_VERSION}/bin/R /usr/local/bin/R
englianhu@Scibrokes:~$ sudo ln -s /usr/bin/R/${R_VERSION}/bin/Rscript /usr/local/bin/Rscript
englianhu@Scibrokes:~$ which R
/usr/local/bin/R

englianhu@Scibrokes:~$ R --version
R version 4.2.1 (2022-06-23) -- "Funny-Looking Kid"
Copyright (C) 2022 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under the terms of the
GNU General Public License versions 2 or 3.
For more information about these matters see
https://www.gnu.org/licenses/.

englianhu@Scibrokes:~$ curl --version
curl 7.64.0 (x86_64-pc-linux-gnu) libcurl/7.64.0 OpenSSL/1.1.1n zlib/1.2.11 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.5) libssh2/1.8.0 nghttp2/1.36.0 librtmp/2.3
Release-Date: 2019-02-06
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 
Features: AsynchDNS IDN IPv6 Largefile GSS-API Kerberos SPNEGO NTLM NTLM_WB SSL libz TLS-SRP HTTP2 UnixSockets HTTPS-proxy PSL

englianhu@Scibrokes:~$ java --version
openjdk 11.0.14 2022-01-18
OpenJDK Runtime Environment (build 11.0.14+9-post-Debian-1deb10u1)
OpenJDK 64-Bit Server VM (build 11.0.14+9-post-Debian-1deb10u1, mixed mode, sharing)

englianhu@Scibrokes:~$ gcc --version
gcc (Debian 8.3.0-6) 8.3.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

englianhu@Scibrokes:~$ cpp --version
cpp (Debian 8.3.0-6) 8.3.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

englianhu@Scibrokes:~$ c++ --version
c++ (Debian 8.3.0-6) 8.3.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

这儿安装成功后,如下图!

Originally posted by @englianhu in PCRE2Project/pcre2#144 (comment)

@englianhu
Copy link
Author

englianhu@Scibrokes:~$ sudo su - -c "R -e \"install.packages('devtools', repos='https://cran.rstudio.com/')\""

R version 4.2.1 (2022-06-23) -- "Funny-Looking Kid"
Copyright (C) 2022 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R是自由软件,不带任何担保。
在某些条件下你可以将其自由散布。
用'license()''licence()'来看散布的详细条件。

R是个合作计划,有许多人为之做出了贡献.'contributors()'来看合作者的详细情况
用'citation()'会告诉你如何在出版物中正确地引用RR程序包。

用'demo()'来看一些示范程序,用'help()'来阅读在线帮助文件,或
用'help.start()'通过HTML浏览器来看帮助文件。
用'q()'退出R.

> install.packages('devtools', repos='https://cran.rstudio.com/')
还安装相依关系‘textshaping’, ‘gert’, ‘ragg’, ‘usethis’, ‘pkgdown’

试开URLhttps://cran.rstudio.com/src/contrib/textshaping_0.3.6.tar.gz'
Content type 'application/x-gzip' length 35722 bytes (34 KB)
==================================================
downloaded 34 KB

试开URL’https://cran.rstudio.com/src/contrib/gert_1.7.1.tar.gz'
Content type 'application/x-gzip' length 118076 bytes (115 KB)
==================================================
downloaded 115 KB

试开URLhttps://cran.rstudio.com/src/contrib/ragg_1.2.2.tar.gz'
Content type 'application/x-gzip' length 424677 bytes (414 KB)
==================================================
downloaded 414 KB

试开URL’https://cran.rstudio.com/src/contrib/usethis_2.1.6.tar.gz'
Content type 'application/x-gzip' length 342349 bytes (334 KB)
==================================================
downloaded 334 KB

试开URLhttps://cran.rstudio.com/src/contrib/pkgdown_2.0.6.tar.gz'
Content type 'application/x-gzip' length 871371 bytes (850 KB)
==================================================
downloaded 850 KB

试开URL’https://cran.rstudio.com/src/contrib/devtools_2.4.4.tar.gz'
Content type 'application/x-gzip' length 374492 bytes (365 KB)
==================================================
downloaded 365 KB

* installing *source* packagetextshaping...
** 成功将‘textshaping’程序包解包并MD5和检查
** using staged installation
Package harfbuzz was not found in the pkg-config search path.
Perhaps you should add the directory containing `harfbuzz.pc'
to the PKG_CONFIG_PATH environment variable
No package 'harfbuzz' found
Package fribidi was not found in the pkg-config search path.
Perhaps you should add the directory containing `fribidi.pc'
to the PKG_CONFIG_PATH environment variable
No package 'fribidi' found
Using PKG_CFLAGS=
Using PKG_LIBS=-lfreetype -lharfbuzz -lfribidi -lpng
--------------------------- [ANTICONF] --------------------------------
Configuration failed to find the harfbuzz freetype2 fribidi library. Try installing:
 * deb: libharfbuzz-dev libfribidi-dev (Debian, Ubuntu, etc)
 * rpm: harfbuzz-devel fribidi-devel (Fedora, EPEL)
 * csw: libharfbuzz_dev libfribidi_dev (Solaris)
 * brew: harfbuzz fribidi (OSX)
If harfbuzz freetype2 fribidi is already installed, check that 'pkg-config' is in your
PATH and PKG_CONFIG_PATH contains a harfbuzz freetype2 fribidi.pc file. If pkg-config
is unavailable you can set INCLUDE_DIR and LIB_DIR manually via:
R CMD INSTALL --configure-vars='INCLUDE_DIR=... LIB_DIR=...'
-------------------------- [ERROR MESSAGE] ---------------------------
<stdin>:1:10: fatal error: hb-ft.h: 没有那个文件或目录
compilation terminated.
--------------------------------------------------------------------
ERROR: configuration failed for packagetextshaping* removing/usr/bin/R/library/textshaping* installing *source* packagegert...
** 成功将‘gert’程序包解包并MD5和检查
** using staged installation
Error in curl::curl_download("https://r-lib.github.io/gert/get-libgit2-linux.sh",  : 
  Timeout was reached: [] Resolving timed out after 10000 milliseconds
停止执行
Using PKG_CFLAGS=
Using PKG_LIBS=-lgit2
----------------------------- ANTICONF -------------------------------
Configuration failed to find libgit2 library. Try installing:
 * brew: libgit2 (MacOS)
 * deb: libgit2-dev (Debian, Ubuntu, etc)
 * rpm: libgit2-devel (Fedora, CentOS, RHEL)
If libgit2 is already installed, check that 'pkg-config' is in your
PATH and PKG_CONFIG_PATH contains a libgit2.pc file. If pkg-config
is unavailable you can set INCLUDE_DIR and LIB_DIR manually via:
R CMD INSTALL --configure-vars='INCLUDE_DIR=... LIB_DIR=...'
-------------------------- [ERROR MESSAGE] ---------------------------
<stdin>:1:10: fatal error: git2.h: 没有那个文件或目录
compilation terminated.
----------------------------------------------------------------------
ERROR: configuration failed for packagegert* removing/usr/bin/R/library/gertERROR: dependencytextshapingis not available for packageragg* removing/usr/bin/R/library/raggERROR: dependencygertis not available for packageusethis* removing/usr/bin/R/library/usethisERROR: dependencyraggis not available for packagepkgdown* removing/usr/bin/R/library/pkgdownERROR: dependenciesusethis’, ‘pkgdownare not available for packagedevtools* removing/usr/bin/R/library/devtools’

下载的程序包在
        ‘/tmp/RtmpKUL1JX/downloaded_packages’里
更新'.Library'里的HTML程序包列表
Making 'packages.html' ... 做完了。
Warning messages:
1: In install.packages("devtools", repos = "https://cran.rstudio.com/") :
  安装程序包‘textshaping’时退出狀態的值不是0
2: In install.packages("devtools", repos = "https://cran.rstudio.com/") :
  安装程序包‘gert’时退出狀態的值不是0
3: In install.packages("devtools", repos = "https://cran.rstudio.com/") :
  安装程序包‘ragg’时退出狀態的值不是0
4: In install.packages("devtools", repos = "https://cran.rstudio.com/") :
  安装程序包‘usethis’时退出狀態的值不是0
5: In install.packages("devtools", repos = "https://cran.rstudio.com/") :
  安装程序包‘pkgdown’时退出狀態的值不是0
6: In install.packages("devtools", repos = "https://cran.rstudio.com/") :
  安装程序包‘devtools’时退出狀態的值不是0

@englianhu
Copy link
Author

englianhu commented Aug 24, 2022

sudo su - -c "R -e \"install.packages('devtools', repos='https://cran.rstudio.com/')\""

R version 4.2.1 (2022-06-23) -- "Funny-Looking Kid"
Copyright (C) 2022 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R是自由软件,不带任何担保。
在某些条件下你可以将其自由散布。
用'license()''licence()'来看散布的详细条件。

R是个合作计划,有许多人为之做出了贡献.'contributors()'来看合作者的详细情况
用'citation()'会告诉你如何在出版物中正确地引用RR程序包。

用'demo()'来看一些示范程序,用'help()'来阅读在线帮助文件,或
用'help.start()'通过HTML浏览器来看帮助文件。
用'q()'退出R.

> install.packages('devtools', repos='https://cran.rstudio.com/')
还安装相依关系‘textshaping’, ‘gert’, ‘ragg’, ‘usethis’, ‘pkgdown’

试开URLhttps://cran.rstudio.com/src/contrib/textshaping_0.3.6.tar.gz'
Content type 'application/x-gzip' length 35722 bytes (34 KB)
==================================================
downloaded 34 KB

试开URL’https://cran.rstudio.com/src/contrib/gert_1.7.1.tar.gz'
Content type 'application/x-gzip' length 118076 bytes (115 KB)
==================================================
downloaded 115 KB

试开URLhttps://cran.rstudio.com/src/contrib/ragg_1.2.2.tar.gz'
Content type 'application/x-gzip' length 424677 bytes (414 KB)
==================================================
downloaded 414 KB

试开URL’https://cran.rstudio.com/src/contrib/usethis_2.1.6.tar.gz'
Content type 'application/x-gzip' length 342349 bytes (334 KB)
==================================================
downloaded 334 KB

试开URLhttps://cran.rstudio.com/src/contrib/pkgdown_2.0.6.tar.gz'
Content type 'application/x-gzip' length 871371 bytes (850 KB)
==================================================
downloaded 850 KB

试开URL’https://cran.rstudio.com/src/contrib/devtools_2.4.4.tar.gz'
Content type 'application/x-gzip' length 374492 bytes (365 KB)
==================================================
downloaded 365 KB

* installing *source* packagetextshaping...
** 成功将‘textshaping’程序包解包并MD5和检查
** using staged installation
Found pkg-config cflags and libs!
Using PKG_CFLAGS=-I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fribidi
Using PKG_LIBS=-lharfbuzz -lfreetype -lfribidi
** libs
rm -f textshaping.so cpp11.o face_feature.o hb_shaper.o init.o string_bidi.o string_metrics.o string_shape.o
g++ -std=gnu++11 -I"/usr/bin/R/include" -DNDEBUG -DNDEBUG -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fribidi -I'/usr/bin/R/library/cpp11/include' -I'/usr/bin/R/library/systemfonts/include' -I/usr/local/include   -fpic  -g -O2  -c cpp11.cpp -o cpp11.o
g++ -std=gnu++11 -I"/usr/bin/R/include" -DNDEBUG -DNDEBUG -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fribidi -I'/usr/bin/R/library/cpp11/include' -I'/usr/bin/R/library/systemfonts/include' -I/usr/local/include   -fpic  -g -O2  -c face_feature.cpp -o face_feature.o
g++ -std=gnu++11 -I"/usr/bin/R/include" -DNDEBUG -DNDEBUG -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fribidi -I'/usr/bin/R/library/cpp11/include' -I'/usr/bin/R/library/systemfonts/include' -I/usr/local/include   -fpic  -g -O2  -c hb_shaper.cpp -o hb_shaper.o
g++ -std=gnu++11 -I"/usr/bin/R/include" -DNDEBUG -DNDEBUG -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fribidi -I'/usr/bin/R/library/cpp11/include' -I'/usr/bin/R/library/systemfonts/include' -I/usr/local/include   -fpic  -g -O2  -c init.cpp -o init.o
g++ -std=gnu++11 -I"/usr/bin/R/include" -DNDEBUG -DNDEBUG -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fribidi -I'/usr/bin/R/library/cpp11/include' -I'/usr/bin/R/library/systemfonts/include' -I/usr/local/include   -fpic  -g -O2  -c string_bidi.cpp -o string_bidi.o
g++ -std=gnu++11 -I"/usr/bin/R/include" -DNDEBUG -DNDEBUG -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fribidi -I'/usr/bin/R/library/cpp11/include' -I'/usr/bin/R/library/systemfonts/include' -I/usr/local/include   -fpic  -g -O2  -c string_metrics.cpp -o string_metrics.o
g++ -std=gnu++11 -I"/usr/bin/R/include" -DNDEBUG -DNDEBUG -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fribidi -I'/usr/bin/R/library/cpp11/include' -I'/usr/bin/R/library/systemfonts/include' -I/usr/local/include   -fpic  -g -O2  -c string_shape.cpp -o string_shape.o
g++ -std=gnu++11 -shared -L/usr/bin/R/lib -L/usr/local/lib64 -o textshaping.so cpp11.o face_feature.o hb_shaper.o init.o string_bidi.o string_metrics.o string_shape.o -lharfbuzz -lfreetype -lfribidi -L/usr/bin/R/lib -lR
installing to /usr/bin/R/library/00LOCK-textshaping/00new/textshaping/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
*** copying figures
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (textshaping)
* installing *source* packagegert...
** 成功将‘gert’程序包解包并MD5和检查
** using staged installation
Error in curl::curl_download("https://r-lib.github.io/gert/get-libgit2-linux.sh",  : 
  Timeout was reached: [] Resolving timed out after 10000 milliseconds
停止执行
Found pkg-config cflags and libs!
Using PKG_CFLAGS=
Using PKG_LIBS=-lgit2
Configuration OK!
** libs
rm -f gert.so branch.o clone.o commit.o config.o conflicts.o files.o init.o merge.o rebase.o stash.o submodules.o tag.o utils.o version.o
gcc -I"/usr/bin/R/include" -DNDEBUG -DR_NO_REMAP -DSTRICT_R_HEADERS  -I/usr/local/include  -fvisibility=hidden -fpic  -g -O2  -c branch.c -o branch.o
gcc -I"/usr/bin/R/include" -DNDEBUG -DR_NO_REMAP -DSTRICT_R_HEADERS  -I/usr/local/include  -fvisibility=hidden -fpic  -g -O2  -c clone.c -o clone.o
gcc -I"/usr/bin/R/include" -DNDEBUG -DR_NO_REMAP -DSTRICT_R_HEADERS  -I/usr/local/include  -fvisibility=hidden -fpic  -g -O2  -c commit.c -o commit.o
gcc -I"/usr/bin/R/include" -DNDEBUG -DR_NO_REMAP -DSTRICT_R_HEADERS  -I/usr/local/include  -fvisibility=hidden -fpic  -g -O2  -c config.c -o config.o
gcc -I"/usr/bin/R/include" -DNDEBUG -DR_NO_REMAP -DSTRICT_R_HEADERS  -I/usr/local/include  -fvisibility=hidden -fpic  -g -O2  -c conflicts.c -o conflicts.o
gcc -I"/usr/bin/R/include" -DNDEBUG -DR_NO_REMAP -DSTRICT_R_HEADERS  -I/usr/local/include  -fvisibility=hidden -fpic  -g -O2  -c files.c -o files.o
gcc -I"/usr/bin/R/include" -DNDEBUG -DR_NO_REMAP -DSTRICT_R_HEADERS  -I/usr/local/include  -fvisibility=hidden -fpic  -g -O2  -c init.c -o init.o
gcc -I"/usr/bin/R/include" -DNDEBUG -DR_NO_REMAP -DSTRICT_R_HEADERS  -I/usr/local/include  -fvisibility=hidden -fpic  -g -O2  -c merge.c -o merge.o
gcc -I"/usr/bin/R/include" -DNDEBUG -DR_NO_REMAP -DSTRICT_R_HEADERS  -I/usr/local/include  -fvisibility=hidden -fpic  -g -O2  -c rebase.c -o rebase.o
gcc -I"/usr/bin/R/include" -DNDEBUG -DR_NO_REMAP -DSTRICT_R_HEADERS  -I/usr/local/include  -fvisibility=hidden -fpic  -g -O2  -c stash.c -o stash.o
gcc -I"/usr/bin/R/include" -DNDEBUG -DR_NO_REMAP -DSTRICT_R_HEADERS  -I/usr/local/include  -fvisibility=hidden -fpic  -g -O2  -c submodules.c -o submodules.o
gcc -I"/usr/bin/R/include" -DNDEBUG -DR_NO_REMAP -DSTRICT_R_HEADERS  -I/usr/local/include  -fvisibility=hidden -fpic  -g -O2  -c tag.c -o tag.o
gcc -I"/usr/bin/R/include" -DNDEBUG -DR_NO_REMAP -DSTRICT_R_HEADERS  -I/usr/local/include  -fvisibility=hidden -fpic  -g -O2  -c utils.c -o utils.o
gcc -I"/usr/bin/R/include" -DNDEBUG -DR_NO_REMAP -DSTRICT_R_HEADERS  -I/usr/local/include  -fvisibility=hidden -fpic  -g -O2  -c version.c -o version.o
gcc -shared -L/usr/bin/R/lib -L/usr/local/lib64 -o gert.so branch.o clone.o commit.o config.o conflicts.o files.o init.o merge.o rebase.o stash.o submodules.o tag.o utils.o version.o -lgit2 -L/usr/bin/R/lib -lR
installing to /usr/bin/R/library/00LOCK-gert/00new/gert/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
*** copying figures
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (gert)
* installing *source* packageragg...
** 成功将‘ragg’程序包解包并MD5和检查
** using staged installation
Package libtiff-4 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libtiff-4.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libtiff-4' found
Package libtiff-4 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libtiff-4.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libtiff-4' found
Using PKG_CFLAGS=
Using PKG_LIBS=-lfreetype -lpng16 -ltiff -lz -ljpeg -lbz2
-----------------------------[ ANTICONF ]-------------------------------
Configuration failed to find one of freetype2 libpng libtiff-4. Try installing:
 * deb: libfreetype6-dev libpng-dev libtiff5-dev libjpeg-dev (Debian, Ubuntu, etc)
 * rpm: freetype-devel libpng-devel libtiff-devel libjpeg-turbo-devel (Fedora, CentOS, RHEL)
 * csw: libfreetype_dev libpng16_dev libtiff_dev libjpeg_dev (Solaris)
If freetype2 libpng libtiff-4 is already installed, check that 'pkg-config' is in your
PATH and PKG_CONFIG_PATH contains a freetype2 libpng libtiff-4.pc file. If pkg-config
is unavailable you can set INCLUDE_DIR and LIB_DIR manually via:
R CMD INSTALL --configure-vars='INCLUDE_DIR=... LIB_DIR=...'
-------------------------- [ERROR MESSAGE] ---------------------------
<stdin>:1:10: fatal error: ft2build.h: 没有那个文件或目录
compilation terminated.
--------------------------------------------------------------------
ERROR: configuration failed for packageragg* removing/usr/bin/R/library/ragg* installing *source* packageusethis...
** 成功将‘usethis’程序包解包并MD5和检查
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
*** copying figures
** building package indices
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (usethis)
ERROR: dependencyraggis not available for packagepkgdown* removing/usr/bin/R/library/pkgdownERROR: dependencypkgdownis not available for packagedevtools* removing/usr/bin/R/library/devtools’

下载的程序包在
        ‘/tmp/RtmpQ9Yg1V/downloaded_packages’里
更新'.Library'里的HTML程序包列表
Making 'packages.html' ... 做完了。
Warning messages:
1: In install.packages("devtools", repos = "https://cran.rstudio.com/") :
  安装程序包‘ragg’时退出狀態的值不是0
2: In install.packages("devtools", repos = "https://cran.rstudio.com/") :
  安装程序包‘pkgdown’时退出狀態的值不是0
3: In install.packages("devtools", repos = "https://cran.rstudio.com/") :
  安装程序包‘devtools’时退出狀態的值不是0

@englianhu
Copy link
Author

englianhu commented Aug 24, 2022

## 笼统 广义型应用包
sudo apt install lib*git* -y
sudo apt install lib*harfbuzz* lib*fribidi* -y
sudo apt install lib*tiff* lib*free*type* lib*png* lib*tiff* lib*jpeg* -y

sudo apt install libgit2-dev -y
sudo apt install libharfbuzz-dev libfribidi-dev -y
sudo apt install libtiff-4* libfreetype6-dev libpng-dev libtiff5-dev libjpeg-dev -y
sudo su - -c "R -e \"install.packages('devtools', repos='https://cran.rstudio.com/')\""

@englianhu englianhu changed the title Installation of devtools✝ on 🚩Redflag Installation of devtools✝ on 🚩Redflag Aug 25, 2022
@englianhu englianhu changed the title Installation of devtools✝ on 🚩Redflag Installation of devtools✝ on 🚩🇨🇳🏹红旗中科 RedFlag Linux (🍥Debian 11) Aug 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant