其他版本都有相应的源,可是17我找不到对应的软件源
安装ubuntu时,从u盘里面试用了一下,当时啥也没干,直接sudo apt-get install r-base,就把r装上了
安装ubuntu,上面命令就不行了,说搜不到r-base
rstudio没有对应的软件源,从官网上下载rstudio的deb包,安装时说不满足依赖关系,我是用Qapt打开的deb包,不会用命令装
所以没有提示,缺少什么依赖关系。。。。
求教,怎么装上r+rstudio
ubuntu17.04 怎么安装r语言 和 rstudio
-
- 帖子: 143
- 注册时间: 2016-07-20 16:40
- 系统: Ubuntu15
-
- 帖子: 143
- 注册时间: 2016-07-20 16:40
- 系统: Ubuntu15
Re: ubuntu17.04 怎么安装r语言 和 rstudio
代码: 全选
sudo dpkg -i rstudio-1.0.136-amd64.deb
正在选中未选择的软件包 rstudio。
(正在读取数据库 ... 系统当前共安装有 170543 个文件和目录。)
正准备解包 rstudio-1.0.136-amd64.deb ...
正在解包 rstudio (1.0.136) ...
dpkg: 依赖关系问题使得 rstudio 的配置工作不能继续:
rstudio 依赖于 libjpeg62;然而:
未安装软件包 libjpeg62。
rstudio 依赖于 libgstreamer0.10-0;然而:
未安装软件包 libgstreamer0.10-0。
rstudio 依赖于 libgstreamer-plugins-base0.10-0;然而:
未安装软件包 libgstreamer-plugins-base0.10-0。
dpkg: 处理软件包 rstudio (--install)时出错:
依赖关系问题 - 仍未被配置
正在处理用于 shared-mime-info (1.8-1) 的触发器 ...
Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'
正在处理用于 hicolor-icon-theme (0.15-1) 的触发器 ...
正在处理用于 mime-support (3.60ubuntu1) 的触发器 ...
在处理时有错误发生:
rstudio
oem@pei:~/下载$ sudo apt-get install libjpeg62
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
没有可用的软件包 libjpeg62,但是它被其它的软件包引用了。
这可能意味着这个缺失的软件包可能已被废弃,
或者只能在其他发布源中找到
E: 软件包 libjpeg62 没有可安装候选
oem@pei:~/下载$ sudo apt-get install libgstreamer0.10-0
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
没有可用的软件包 libgstreamer0.10-0,但是它被其它的软件包引用了。
这可能意味着这个缺失的软件包可能已被废弃,
或者只能在其他发布源中找到
E: 软件包 libgstreamer0.10-0 没有可安装候选
- vickycq
- 帖子: 4507
- 注册时间: 2011-03-20 13:12
- 系统: Debian
- 来自: 山东省寿光县
- 联系:
Re: ubuntu17.04 怎么安装r语言 和 rstudio
libjpeg62 有,位于 universe 区,到软件源设置中给 universe 区打勾。执行 apt-get updatepeishenfei2 写了: 没有可用的软件包 libjpeg62,但是它被其它的软件包引用了。
没有可用的软件包 libgstreamer0.10-0,但是它被其它的软件包引用了
libgstreamer0.10-0 从 16.10 开始没有了。等待官网上下载rstudio的deb包更新,或尝试安装 16.04 的 libgstreamer0.10-0 http://packages.ubuntu.com/xenial/libgstreamer0.10-0 不过一般不建议这样做。
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户
欢迎所有 Debian GNU/Linux 用户
-
- 帖子: 143
- 注册时间: 2016-07-20 16:40
- 系统: Ubuntu15
Re: ubuntu17.04 怎么安装r语言 和 rstudio
#deb cdrom:[Kubuntu 17.04 _Zesty Zapus_ - Release amd64 (20170412)]/ zesty main multiverse restricted universe
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://cn.archive.ubuntu.com/ubuntu/ zesty main restricted
# deb-src http://cn.archive.ubuntu.com/ubuntu/ zesty main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://cn.archive.ubuntu.com/ubuntu/ zesty-updates main restricted
# deb-src http://cn.archive.ubuntu.com/ubuntu/ zesty-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://cn.archive.ubuntu.com/ubuntu/ zesty multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ zesty multiverse
deb http://cn.archive.ubuntu.com/ubuntu/ zesty-updates multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ zesty-updates multiverse
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://cn.archive.ubuntu.com/ubuntu/ zesty-backports main restricted universe multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ zesty-backports main restricted universe multiverse
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu zesty partner
# deb-src http://archive.canonical.com/ubuntu zesty partner
deb http://security.ubuntu.com/ubuntu zesty-security main restricted
# deb-src http://security.ubuntu.com/ubuntu zesty-security main restricted
deb http://security.ubuntu.com/ubuntu zesty-security universe
# deb-src http://security.ubuntu.com/ubuntu zesty-security universe
deb http://security.ubuntu.com/ubuntu zesty-security multiverse
# deb-src http://security.ubuntu.com/ubuntu zesty-security multiverse
deb http://mirrors.xmu.edu.cn/CRAN/bin/linux/ubuntu yakkety/
我的源列表如上,这是不是代表我已经勾选了 universe区,
kde桌面,plasma5.9,
我添加的时16.10的r软件源,结果没问题,R可以正常运行
目前就是rstudio装不上,
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://cn.archive.ubuntu.com/ubuntu/ zesty main restricted
# deb-src http://cn.archive.ubuntu.com/ubuntu/ zesty main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://cn.archive.ubuntu.com/ubuntu/ zesty-updates main restricted
# deb-src http://cn.archive.ubuntu.com/ubuntu/ zesty-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://cn.archive.ubuntu.com/ubuntu/ zesty multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ zesty multiverse
deb http://cn.archive.ubuntu.com/ubuntu/ zesty-updates multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ zesty-updates multiverse
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://cn.archive.ubuntu.com/ubuntu/ zesty-backports main restricted universe multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ zesty-backports main restricted universe multiverse
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu zesty partner
# deb-src http://archive.canonical.com/ubuntu zesty partner
deb http://security.ubuntu.com/ubuntu zesty-security main restricted
# deb-src http://security.ubuntu.com/ubuntu zesty-security main restricted
deb http://security.ubuntu.com/ubuntu zesty-security universe
# deb-src http://security.ubuntu.com/ubuntu zesty-security universe
deb http://security.ubuntu.com/ubuntu zesty-security multiverse
# deb-src http://security.ubuntu.com/ubuntu zesty-security multiverse
deb http://mirrors.xmu.edu.cn/CRAN/bin/linux/ubuntu yakkety/
我的源列表如上,这是不是代表我已经勾选了 universe区,
kde桌面,plasma5.9,
我添加的时16.10的r软件源,结果没问题,R可以正常运行
目前就是rstudio装不上,
-
- 帖子: 143
- 注册时间: 2016-07-20 16:40
- 系统: Ubuntu15
Re: ubuntu17.04 怎么安装r语言 和 rstudio
我不太清楚,universe区是什么,,,‘
我在百度搜我缺少的软件,一个一个的安装,大部分http://packages.ubuntu.com/precise/amd64/libjpeg62/download
在这里下载的,我估计是下载的precise版本的,不过就这样吧,折腾了2天了,就为了装个rstudio,
谢谢。
我在百度搜我缺少的软件,一个一个的安装,大部分http://packages.ubuntu.com/precise/amd64/libjpeg62/download
在这里下载的,我估计是下载的precise版本的,不过就这样吧,折腾了2天了,就为了装个rstudio,
谢谢。
- vickycq
- 帖子: 4507
- 注册时间: 2011-03-20 13:12
- 系统: Debian
- 来自: 山东省寿光县
- 联系:
Re: ubuntu17.04 怎么安装r语言 和 rstudio
您没有勾选 universe 区。precise 的包太老了,不建议使用,以后可能会遇到奇奇怪怪的依赖问题。peishenfei2 写了:我的源列表如上,这是不是代表我已经勾选了 universe区,
如果不知道如何勾选 universe 区,可以将 /etc/apt/sources.list 文件备份后移除,全部更换为以下内容。保存后 sudo apt update
代码: 全选
deb http://mirrors.ustc.edu.cn/ubuntu/ zesty main restricted universe multiverse
deb-src http://mirrors.ustc.edu.cn/ubuntu/ zesty main restricted universe multiverse
deb http://mirrors.ustc.edu.cn/ubuntu/ zesty-security main restricted universe multiverse
deb-src http://mirrors.ustc.edu.cn/ubuntu/ zesty-security main restricted universe multiverse
deb http://mirrors.ustc.edu.cn/ubuntu/ zesty-updates main restricted universe multiverse
deb-src http://mirrors.ustc.edu.cn/ubuntu/ zesty-updates main restricted universe multiverse
deb http://mirrors.ustc.edu.cn/ubuntu/ zesty-backports main restricted universe multiverse
deb-src http://mirrors.ustc.edu.cn/ubuntu/ zesty-backports main restricted universe multiverse
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户
欢迎所有 Debian GNU/Linux 用户