[Exchange and share] 在V23中编译安装R4.2.3
Tofloor
poster avatar
fallingstar-ten
deepin
2023-05-07 17:05
Author

DeepinV23编译安装R 4.2.3

安装依赖:

 sudo apt install libxt-dev libcurl4-openssl-dev openjdk-17-jdk

下载源码包及编译:

wget https://cran.r-project.org/src/base/R-4/R-4.2.3.tar.gz
tar -zxvf R-4.2.3.tar.gz
cd R-4.2.3
./configure
make
make install

Reply Favorite View the author
All Replies
Dr Z
deepin
2023-05-08 01:01
#1

第一步提示:无法定位软件包 openjdk-17-jdk

Reply View the author
阿尼樱奈奈
deepin
2023-05-08 01:19
#2
Dr Z

第一步提示:无法定位软件包 openjdk-17-jdk

因为软件仓库里没有17,只有11。

Reply View the author
Dr Z
deepin
2023-05-08 01:32
#3
阿尼樱奈奈

因为软件仓库里没有17,只有11。

果然 第一步成功了

正在第二部

在请教一下大佬

我下载tar包

解压

然后再文件夹里面打开终端

./configure可以

但是

make的这一步就不行了

这个怎么解

Reply View the author
Dr Z
deepin
2023-05-08 01:38
#4
Dr Z

果然 第一步成功了

正在第二部

在请教一下大佬

我下载tar包

解压

然后再文件夹里面打开终端

./configure可以

但是

make的这一步就不行了

这个怎么解

Reply View the author
fallingstar-ten
deepin
2023-05-08 10:56
#5
阿尼樱奈奈

因为软件仓库里没有17,只有11。

内测版有17

Reply View the author
fallingstar-ten
deepin
2023-05-08 10:57
#6
Dr Z

configure那步没有完成,报error了,要把error那个依赖补全后重新configure

Reply View the author
fallingstar-ten
deepin
2023-05-08 10:59
#7
Dr Z

sudo apt search pcre试试有没有包

Reply View the author