在Fedora类似系统上运行以下命令:dpkg upgrade

huangapple go评论76阅读模式
英文:

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.

huangapple
  • 本文由 发表于 2023年6月6日 02:54:43
  • 转载请务必保留本文链接:https://go.coder-hub.com/76409247.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定