This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(1)
在操作系统内部,这是非常困难的,因为它可以靠近始终想要为您服务的操作系统的谷物,
这样您就无法获得Ubuntu 18.04套件,Ubuntu 22.04。
但是不要绝望:docker是 解决方案。这是我向学生展示的一个示例(Markdown片段):(
当时在Ubuntu 21.04上完成。
那是从去年秋天开始的,所以还没有R 4.2.0,并且 安装
docker
(我通过apt
由docker folks在ubuntu上运行),然后吸入所需的容器。Inside the OS this is very difficult as it cuts against the grain of the OS which always wants to serve you
so you just cannot get the, say, Ubuntu 18.04 packages inside of Ubuntu 22.04.
But do not despair: Docker is the solution for this. Here is an example (markdown snippet) I show to my students:
(That was from last fall so no R 4.2.0 yet, and done on Ubuntu 21.04 at the time.)
And this works -- the example is not made up. Install
docker
(which I am running on Ubuntu via theapt
repo by the Docker folks) and pull in the containers you want.