英文:
Command dpkg upgrade on fedora-like so
问题
我尝试在Fedora中安装.deb文件,但它不像使用apt命令sudo apt install upgrade(类似Debian的升级命令)那样工作。
我想知道如何在Fedora中升级dpkg命令。
我不知道它在Fedora上如何工作。
英文:
I'm trying install .deb files in fedora and its dosn't work like using apt
to command sudo apt install upgrade (debian-like upgrade command)
i'd like to know how upgrade dpkg command in fedora
idk how is it works on fedora
答案1
得分: 1
Fedora不使用.deb
包,也不使用dpkg或apt。实际上,Apt是可用的,但它存在作为一个跨发行版的兼容性工具。
相反,你应该使用dnf
,这是一个类似于apt的工具,可以与Fedora Linux构建的.rpm
包一起使用。
请参阅Fedora上的DNF中的APT命令等效,这是一个快速的DNF备忘单,供那些习惯于Apt的人使用。
请注意,一些软件包名称也可能不同,因为Fedora和Debian有不同的命名约定。
英文:
Fedora does not use .deb
packages, or dpkg or apt. Apt is actually available, but it's there as a cross-distro compatibility tool.
Instead, you should use dnf
, a tool that is similar to apt and works with the .rpm
packages Fedora Linux is built from.
See APT command equivalents on Fedora with DNF for a quick cheat-sheet for DNF for people who are used to Apt.
Note that some package names may be different, as well, as Fedora and Debian have different naming conventions.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论