分享好友 系统运维首页 频道列表

nothing provides python(abi) = 3.8 needed by VirtualBox-6.1-6.1.16_140961_fedora32-1.x86_64

Fedora教程  2023-02-09 21:040

https://www.if-not-true-then-false.com/2010/install-virtualbox-with-yum-on-fedora-centos-red-hat-rhel/

 

 

1. Install Oracle’s VirtualBox 6.1.16 on Fedora 33

This is a bit different method until Oracle release Fedora 33 repositories. Fedora 32 VirtualBox rpm works with Fedora 33, but unfortunately there is fixed version of python(abi) = 3.8, we have to change this and rebuild rpm package. Here is commands howto do it. I update this guide later using DNF/YUM repos and this should be compatible with it too.

If you try to install original Fedora 32 package, then you will see following error:

Error: 
 Problem: conflicting requests
  - nothing provides python(abi) = 3.8 needed by VirtualBox-6.1-6.1.16_140961_fedora32-1.x86_64
(try to add '--skip-broken' to skip uninstallable packages)

1.1. Change to root User

su -
## OR ##
sudo -i

1.2. Install rpmrebuild Package

dnf install rpmrebuild

1.3. Download VirtualBox-6.1-6.1.16_140961_fedora32-1.x86_64.rpm

cd /tmp

wget http://download.virtualbox.org/virtualbox/rpm/fedora/32/x86_64/VirtualBox-6.1-6.1.16_140961_fedora32-1.x86_64.rpm

1.4. Rebuild VirtualBox rpm with Needed Changes

Following command change

rpmrebuild --change-spec-preamble='sed -e "s/6.1.16_140961_fedora32/6.1.16_140961_fedora33/"' --change-spec-requires='sed -e "s/python(abi) = 3.8/python(abi) >= 3.8/"' --package VirtualBox-6.1-6.1.16_140961_fedora32-1.x86_64.rpm

Now you should have following file: ~/rpmbuild/RPMS/x86_64/VirtualBox-6.1-6.1.16_140961_fedora33-1.x86_64.rpm

1.5. Install Following Dependency Packages

dnf install binutils gcc make patch libgomp glibc-headers glibc-devel kernel-headers kernel-devel dkms qt5-qtx11extras libxkbcommon

1.6. Install VirtualBox Latest Version 6.1 (currently 6.1.16)

dnf install ~/rpmbuild/RPMS/x86_64/VirtualBox-6.1-6.1.16_140961_fedora33-1.x86_64.rpm

Note:
This command create automatically vboxusers group and VirtualBox user must be member of that group.
This command also build needed kernel modules.

You can rebuild kernel modules with following command if needed:

/usr/lib/virtualbox/vboxdrv.sh setup

1.7. Add VirtualBox User(s) to vboxusers Group

Replace user_name with your own user name or some another real user name.

usermod -a -G vboxusers user_name

1.8. Start VirtualBox

Use launcher from menu or simply run VirtualBox as normal user:

VirtualBox

查看更多关于【Fedora教程】的文章

展开全文
相关推荐
反对 0
举报 0
评论 0
图文资讯
热门推荐
优选好物
更多热点专题
更多推荐文章
[转]Fedora 15 安装与配置一览
Fedora 15 将于2011.5.24日发布,今日离正式版发布还有4天。笨兔兔这里提前给大家支招用好Fedora 15。下面是笨兔兔在安装、配置Fedora 15 过程中的小结,希望给大家配置自己的Fedora 15 带来方便。仅供参考,如有错误,敬请指出。『一』安装介绍Fedora 15 Bet

0评论2023-03-08508

新换的 Fedora Core Linux 桌面,来秀一秀(多图)
1、桌面、终端、文件浏览器,已经设置好字体、自动挂载硬盘,不是很麻烦2、即时通讯:QQ,Skype3、firefox4、D4X、BT、电驴5、开发工具:eclipse netbeans6、openoffice 大开 word 公式文档,输出 PDF7、小企鹅输入法,支持微软双拼8、星际译王,linux 下免费

0评论2023-02-10695

Fedora 14添加RPM Fusion源
RPM Fusion 是 Fedora 和 Red Hat 企业版的软件仓库,是由Dribble, Freshrpms 和 RPM Fusion 合并而来的。各种各样的应用程序包含在这个软件仓库中,比如MP3、未加密的DVD 、Mplayer, VLX, Xine 等多媒体应用程序使用的解码库,以及闭源的 Nvidia 和 ATI 显卡

0评论2023-02-10718

Fedora中安装VMtools步骤 vmware虚拟机安装fedora教程
  第一次玩Fedora的系统,通过VMware工具安装的一个虚拟机,由于公司要求尽可能的留有足够空间,所以安装的时候就没选开发环境选项。安装成功后,又要准备安装VMware--tools工具,在此记录安装的过程,以及安装过程中遇到的一些问题。一、准备工作  确保

0评论2023-02-10794

Fedora 23 配置
刻到u盘上下好iso后准备刻录到u盘...可是查了一下只能在用一个叫dd的东西刻= =于是学了下...然而就是一句话:dd if=/path/xxx.iso of=/dev/sdx其中前面是文件,后面是盘,注意是整个盘sdx而不是什么sdx1啥的,注意这样做会格式化整个盘...请不要乱实验...。(

0评论2023-02-10996

Fedora 9安装说明 Fedora 9安装说明
 Fedora 9 安装手册◆准备工作硬件       硬盘空间:5G以上;       内存容量:384 M以上(256M也可以,但在分区后会提示您启用swap分区);       光盘介质:Fedora 9 安装光盘(1张DVD);设置BIOS为从光盘引导;启动计算机,将安装盘的

0评论2023-02-10336

fedora27安装DB2 Express-C 11
首先在官网下载对应的安装包和语言包两个文件。然后通过tar -zxvf命令将下载的两个文件解压。其中一个文件解压后是名为expc的文件,进入这个文件。里面有一个名为db2setup的文件。在命令行下首先通过命令su切换到超级用户,然后通过./db2setup进入图形化界面

0评论2023-02-10952

Red Hat Linux、rhel 和 Fedora Core 以及 Centos 区别与联系 - spring3mvc学习笔记
Red Hat Linux、rhel 和 Fedora Core 以及 Centos 区别与联系1. Red Hat LinuxLinux是GNU/Linux的缩写,通常指各种Linux发行版的通称,Red Hat Linux是redhat最早发行的个人版本的linux, 其1。0版本于1994年11月3日发行。虽然其历史不及其它linux发行

0评论2023-02-10521

Fedora Core 3安装杂记(一)
  数日前欣闻Fedora Core 3正式版已经出来,作为一个Linux的初学者,期待着Core3能带给我们更好的功能和易用性,所以迫不及待地找到下载的地方,开始了漫长的安装旅程 (几乎花了一整天,相当于什么都没做成,只有这篇杂记……)。现在就将其间碰到的问题与

0评论2023-02-10893

SUSE Linux 10、whitefin、Fedora Core Linux 6桌面效果大比拼 - 哼哼唧唧
SUSE Linux 10、whitefin、Fedora Core Linux 6桌面效果大比拼          Novell公司发布了SUSE Linux 10,向世人证明了一点,桌面版Linux已能和Windows相抗衡了。而接下来,拓林思公司的whitefin,走社区路线,三十分钟创造一个个性Linux,又为开发

0评论2023-02-10695

Fedora 10编程开发工具
 1请问Fedora 10编程开发工具有什么编辑器就用vim,编译用gcc,当然个人爱好随意IDE的话推荐eclipse,如果做C/C++的,用codeblocks也是个不错的选择输入gcc -v 是否返回版本,有就装了,没就没装 gcc编译器:gcc –v查看是否安装有gcc,经查看是4.3.2 2.#s

0评论2023-02-10876

1、Fedora 安装的一点小建议
  要留给Fedora安装的空间必须是没有被分配的,也就是说利用分区工具(如Acronis)将E盘删除,即该段空间不分配给任何盘符。   由于MBR块的容量有限,一个硬盘最多只能分成4个分区P+P+P+P或P+P+P+E,其中P为主分区,E为扩展分区(只能有1个扩展分区),

0评论2023-02-10543

使用移动硬盘安装fedora14 使用移动硬盘安装Linux
以前一直使用DVD的方式安装,为响应绿色环保的号召,遂使用移动硬盘来完成此工作。原来用的是fedora13,下载Fedora-14-i386-DVD.iso后,把Fedora-14-i386-DVD.iso放到移动硬盘的fedora目录下,此移动硬盘的分区应为ext2, ext3, ext4, or FAT32,避免NTFS,将I

0评论2023-02-10406

关闭Fedora的防火墙 防火墙linux关闭
重启后生效 开启: chkconfig iptables on 关闭: chkconfig iptables off   或者 /sbin/chkconfig --level 2345 iptables off2) 即时生效,重启后失效 service 方式开启: service iptables start 关闭: service iptables stop iptables方式查看防火墙状

0评论2023-02-10457

更多推荐