简体   繁体   English

无法在 WSL Ubuntu 18.04 上安装 R Shiny Server

[英]Cannot install R Shiny Server on WSL Ubuntu 18.04

I am unable to install Shiny server on my WSL Ubuntu 18.04 LTS I get the error after I run this line: wget https://download3.rstudio.org/ubuntu-14.04/x86_64/shiny-server-1.5.9.923-amd64.deb sudo gdebi shiny-server-1.5.9.923-amd64.deb我无法在我的 WSL Ubuntu 18.04 LTS 上安装 Shiny 服务器 运行以下行后出现错误:wget https://download3.rstudio.org/ubuntu-14.04/x86_64/shiny-server-1.5.9.923-amd64。 deb sudo gdebi 闪亮服务器-1.5.9.923-amd64.deb

This is the error I keep getting:这是我不断收到的错误:

/var/lib/dpkg/info/shiny-server.postinst: 97: /var/lib/dpkg/info/shiny-server.postinst: initctl: not found /var/lib/dpkg/info/shiny-server.postinst: 99: /var/lib/dpkg/info/shiny-server.postinst: initctl: not found /var/lib/dpkg/info/shiny-server.postinst: 97: /var/lib/dpkg/info/shiny-server.postinst: initctl: 未找到 /var/lib/dpkg/info/shiny-server.postinst :99:/var/lib/dpkg/info/shiny-server.postinst:initctl:未找到

Kindly help.请帮忙。

Tried changing the initctl in /var/lib/dpkg/info/shiny-server.postinst to systemctl but it did not help尝试将 /var/lib/dpkg/info/shiny-server.postinst 中的 initctl 更改为 systemctl 但它没有帮助

I followed the instructions on the R shiny server page我按照 R 闪亮服务器页面上的说明进行操作

This is working as of July,2020.这是截至 2020 年 7 月的工作。 No need to build from source.无需从源代码构建。

wget https://download3.rstudio.org/ubuntu-14.04/x86_64/shiny-server-1.5.14.948-amd64.deb
sudo gdebi shiny-server-1.5.14.948-amd64.deb

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM