fedora安装apt后不能添加软件源网址,也不能apt安装software&update,安装dpkg后无法安装deb有没有解决方法!!!!!!!!!!!!!还有推荐几个linux安装软件的网站吧!flathub太慢了!
Fedora 中的默认软件包管理器是 dnf
,软件包是 .rpm
搜索软件时,您可以使用 sudo dnf search search-string
#在软件包和信息字段中搜索
有关软件包的更多信息,您可以使用 sudo dnf info package-name
获取
如果您找到了想要的内容,可以使用 sudo dnf install package-name
安装
如果您想使用 .deb 软件包,请在 VM 或 Distrobox 中执行此操作。这样,当您破坏某些东西时,它只是一个可以通过重新安装进行修复的隔离环境。
在 Gnome 上使用软件应用程序并选择 .rpm 而不是 flatpak
在 Discover (KDE) 中,您可能有相同的选择?!
我希望这有助于与 Fedora 和 dnf 相处融洽。
chinese simplified from google.translate
Englisch from the back of my brain :
The default package manager in Fedora is dnf
and the packages are .rpm
Searching for Software you can use sudo dnf search search-string
#searching in package & info field
More information about a packages you get with sudo dnf info package-name
If you found what you want, you can install with sudo dnf install package-name
If you want to use .deb packages do this in a VM or a Distrobox. This way when you brake something it is just a isolated environment you can fix with reinstalling.
On Gnome use software app and choose .rpm and not flatpak
In Discover (KDE) you might have the same to select ?!
I hope this helps to get along with Fedora and dnf.
After installing apt in fedora, I cannot add the software source URL, nor can I install software&update with apt. After installing dpkg, I cannot install deb. Is there any solution? ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! Also, please recommend a few websites for installing software in linux! Flathub is too slow!
sudo dnf info apt
Updating and loading repositories:
Repositories loaded.
Available packages
Name : apt
Epoch : 0
Version : 2.9.8
Release : 1.fc41
Architecture : x86_64
Download size : 1.3 MiB
Installed size : 3.5 MiB
Source : apt-2.9.8-1.fc41.src.rpm
Repository : fedora
Summary : Command-line package manager for Debian packages
URL : https://tracker.debian.org/pkg/apt
License : GPL-2.0-or-later
Description : This package provides commandline tools for searching and
: managing as well as querying information about packages
: as a low-level access to all features of the libapt-pkg library.
:
: These include:
: * apt-get for retrieval of packages and information about them
: from authenticated sources and for installation, upgrade and
: removal of packages together with their dependencies
: * apt-cache for querying available information about installed
: as well as installable packages
: * apt-cdrom to use removable media as a source for packages
: * apt-config as an interface to the configuration settings
: * apt-key as an interface to manage authentication keys
Vendor : Fedora Project
仅针对flathub速度慢的问题:可以更换为国内的Flathub镜像源
sudo flatpak remote-modify flathub --url=https://mirror.sjtu.edu.cn/flathub
For the problem of slow flathub speed only: you can change to the domestic Flathub mirror source
good idea