fedora installdnf install 文件放在哪儿

找不同!贴一个DNF和YUM的--help_fedora吧_百度贴吧
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&签到排名:今日本吧第个签到,本吧因你更精彩,明天继续来努力!
本吧签到人数:0成为超级会员,使用一键签到本月漏签0次!成为超级会员,赠送8张补签卡连续签到:天&&累计签到:天超级会员单次开通12个月以上,赠送连续签到卡3张
关注:13,333贴子:
找不同!贴一个DNF和YUM的--help收藏
一楼DNFusage: dnf [options] COMMANDList of Main Commandsautoremove
check-update
Check for available package upgradesclean
Remove cached datadistro-sync
Synchronize installed packages to the latest available versionsdowngrade
downgrade a packagegroup
Display, or use, the groups informationhelp
Display a helpful usage messagehistory
Display, or use, the transaction historyinfo
Display details about a package or group of packagesinstall
Install a package or packages on your systemlist
List a package or groups of packagesmakecache
Generate the metadata cacheprovides
Find what package provides the given valuereinstall
reinstall a packageremove
Remove a package or packages from your systemrepolist
Display the configured software repositoriesrepository-packages
Run commands on top of all packages in given repositorysearch
Search package details for the given stringupdateinfo
Display advisories about packagesupgrade
Upgrade a package or packages on your systemupgrade-to
Upgrade a package on your system to the specified versionList of Plugin Commandsbuilddep
Install build dependencies for .src.rpm, .nosrc.rpm or .spec fileconfig-manager
manage dnf configuration options and repositoriescopr
Interact with Copr repositories.debuginfo-install
install debuginfo packagesdownload
Download package to current directorykickstart
Install packages defined in a kickstart file on your systemneeds-restarting
determine updated binaries that need restartingplayground
Interact with Playground repository.repoquery
search for packages matching keywordreposync
download all packages from remote repooptional arguments:
--allowerasing
allow erasing of installed packages to resolve
dependencies
-b, --best
try the best available package versions in
transactions.
-C, --cacheonly
run entirely from system cache, don't update cache
-c [config file], --config [config file]
config file location
-d [debug level], --debuglevel [debug level]
debugging output level
--debugsolver
dumps detailed solving results into files
--showduplicates
show duplicates, in repos, in list/search commands
-e ERRORLEVEL, --errorlevel ERRORLEVEL
error output level
--rpmverbosity [debug level name]
debugging output level for rpm
-q, --quiet
quiet operation
-v, --verbose
verbose operation
-y, --assumeyes
answer yes for all questions
--assumeno
answer no for all questions
show DNF version and exit
--installroot [path]
set install root
--enablerepo [repo]
--disablerepo [repo]
-x [package], --exclude [package]
exclude packages by name or glob
--disableexcludes [repo]
disable excludes
--obsoletes
enable obsoletes processing during upgrades
--noplugins
disable all plugins
--nogpgcheck
disable gpg signature checking
--disableplugin [plugin]
disable plugins by name
--color COLOR
control whether color is used
--releasever RELEASEVER
override the value of $releasever in config and repo
--setopt SETOPTS
set arbitrary config and repo options
resolve to IPv4 addresses only
resolve to IPv6 addresses only
-h, --help
报考一级消防师要求,学尔森13年考培经验为您解答,更有百度信贷分期付学费.
二楼YUMList of Main Commandsautoremove
check-update
Check for available package upgradesclean
Remove cached datadistro-sync
Synchronize installed packages to the latest available versionsdowngrade
downgrade a packagegroup
Display, or use, the groups informationhelp
Display a helpful usage messagehistory
Display, or use, the transaction historyinfo
Display details about a package or group of packagesinstall
Install a package or packages on your systemlist
List a package or groups of packagesmakecache
Generate the metadata cacheprovides
Find what package provides the given valuereinstall
reinstall a packageremove
Remove a package or packages from your systemrepolist
Display the configured software repositoriesrepository-packages
Run commands on top of all packages in given repositorysearch
Search package details for the given stringupdateinfo
Display advisories about packagesupgrade
Upgrade a package or packages on your systemupgrade-to
Upgrade a package on your system to the specified versionList of Plugin Commandsbuilddep
Install build dependencies for .src.rpm, .nosrc.rpm or .spec fileconfig-manager
manage dnf configuration options and repositoriescopr
Interact with Copr repositories.debuginfo-install
install debuginfo packagesdownload
Download package to current directorykickstart
Install packages defined in a kickstart file on your systemneeds-restarting
determine updated binaries that need restartingplayground
Interact with Playground repository.repoquery
search for packages matching keywordreposync
download all packages from remote repooptional arguments:
--allowerasing
allow erasing of installed packages to resolve
dependencies
-b, --best
try the best available package versions in
transactions.
-C, --cacheonly
run entirely from system cache, don't update cache
-c [config file], --config [config file]
config file location
-d [debug level], --debuglevel [debug level]
debugging output level
--debugsolver
dumps detailed solving results into files
--showduplicates
show duplicates, in repos, in list/search commands
-e ERRORLEVEL, --errorlevel ERRORLEVEL
error output level
--rpmverbosity [debug level name]
debugging output level for rpm
-q, --quiet
quiet operation
-v, --verbose
verbose operation
-y, --assumeyes
answer yes for all questions
--assumeno
answer no for all questions
show DNF version and exit
--installroot [path]
set install root
--enablerepo [repo]
--disablerepo [repo]
-x [package], --exclude [package]
exclude packages by name or glob
--disableexcludes [repo]
disable excludes
--obsoletes
enable obsoletes processing during upgrades
--noplugins
disable all plugins
--nogpgcheck
disable gpg signature checking
--disableplugin [plugin]
disable plugins by name
--color COLOR
control whether color is used
--releasever RELEASEVER
override the value of $releasever in config and repo
--setopt SETOPTS
set arbitrary config and repo options
resolve to IPv4 addresses only
resolve to IPv6 addresses only
-h, --help
show help[yzhao
~]$ yum --helpLoaded plugins: fastestmirror, langpacksUsage: yum [options] COMMANDList of Commands:autoremove
Remove leaf packagescheck
Check for problems in the rpmdbcheck-update
Check for available package updatesclean
Remove cached datadeplist
List a package's dependenciesdistribution-synchronization Synchronize installed packages to the latest available versionsdowngrade
downgrade a packageerase
Remove a package or packages from your systemfs
Acts on the filesystem data of the host, mainly for removing docs/lanuages for minimal hosts.fssnapshot
Creates filesystem snapshots, or lists/deletes current snapshots.groups
Display, or use, the groups informationhelp
Display a helpful usage messagehistory
Display, or use, the transaction historyinfo
Display details about a package or group of packagesinstall
Install a package or packages on your systemlangavailable
Check available languageslanginfo
List languages informationlanginstall
Install appropriate language packs for a languagelanglist
List installed languageslangremove
Remove installed language packs for a languagelist
List a package or groups of packagesload-transaction load a saved transaction from filenamemakecache
Generate the metadata cacheprovides
Find what package provides the given valuereinstall
reinstall a packagerepo-pkgs
Treat a repo. as a group of packages, so we can install/remove all of themrepolist
Display the configured software repositoriessearch
Search package details for the given stringshell
Run an interactive yum shellswap
Simple way to swap packages, instead of using shellupdate
Update a package or packages on your systemupdate-minimal Works like upgrade, but goes to the 'newest' package match which fixes a problem that affects your systemupdateinfo
Acts on repository update informationupgrade
Update packages taking obsoletes into accountversion
Display a version for the machine and/or available repos.Options:
-h, --help
show this help message and exit
-t, --tolerant
be tolerant of errors
-C, --cacheonly
run entirely from system cache, don't update cache
-c [config file], --config=[config file]
config file location
-R [minutes], --randomwait=[minutes]
maximum command wait time
-d [debug level], --debuglevel=[debug level]
debugging output level
--showduplicates
show duplicates, in repos, in list/search commands
-e [error level], --errorlevel=[error level]
error output level
--rpmverbosity=[debug level name]
debugging output level for rpm
-q, --quiet
quiet operation
-v, --verbose
verbose operation
-y, --assumeyes
answer yes for all questions
--assumeno
answer no for all questions
show Yum version and exit
--installroot=[path]
set install root
--enablerepo=[repo]
enable one or more repositories (wildcards allowed)
--disablerepo=[repo]
disable one or more repositories (wildcards allowed)
-x [package], --exclude=[package]
exclude package(s) by name or glob
--disableexcludes=[repo]
disable exclude from main, for a repo or for
everything
--disableincludes=[repo]
disable includepkgs for a repo or for everything
--obsoletes
enable obsoletes processing during updates
--noplugins
disable Yum plugins
--nogpgcheck
disable gpg signature checking
--disableplugin=[plugin]
disable plugins by name
--enableplugin=[plugin]
enable plugins by name
--skip-broken
skip packages with depsolving problems
--color=COLOR
control whether color is used
--releasever=RELEASEVER
set value of $releasever in yum config and repo files
--downloadonly
don't update, just download
--downloaddir=DLDIR
specifies an alternate directory to store packages
--setopt=SETOPTS
set arbitrary config and repo options
Include bugfix relevant packages, in updates
--security
Include security relevant packages, in updates
--advisory=ADVS, --advisories=ADVS
Include packages needed to fix the given advisory, in
Include packages needed to fix the given BZ, in
--cves=CVES
Include packages needed to fix the given CVE, in
--sec-severity=SEVS, --secseverity=SEVS
Include security relevant packages matching the
severity, in updates
Plugin Options:
登录百度帐号推荐应用
为兴趣而生,贴吧更懂你。或Fedora 22所带新版DNF软件包在线升级管理器的使用心得
Fedora 22使用新版的DNF软件包在线升级管理器,替代了原来的YUM。DNF是YUM的一个分支并重新经过改写,支持Python3而且在软件包依赖性处理、下载安装验证等事务处理方面性能更高。在成功从Fedora21升级到22后,试用了一下DNF,把心得体会分享一下:
1.DNF的命令基本上和YUM是一样的,没有什么区别。
2.DNF的软件源repo数据仍然存放在/etc/yum.repo.d目录下,保持和YUM的兼容。因此,仍然可以继续使用RPMFusion的软件源,安装使用方法和过去一样没有问题。
3.DNF可以自动识别系统当前语言环境,并已当前语言环境字符来显示提示信息。不过为了保险起见,可以安装DNF的语言包,命令为:
$ sudo dnf install dnf-langpacks
之后就可以用
$ sudo dnf langlist
查看语言包中支持的语言信息,如果当前DNF显示的语言不是你希望的你可以用
$ sudo dnf langinstall 语言包名称
来安装你所希望的语言包
4.DNF默认已经自带了fastestmirror功能,这个功能原先对于YUM来讲是一个单独的插件存在的,它可以使DNF或YUM自动检测判断软件包下载点的速度,选择最快的镜像下载点。现在DNF已经内置了fastestmirror功能,根据DNF文档,该功能默认是关闭的,要打开该功能,需要修改/etc/dnf/dnf.conf配置文件,在[main]部分里面加入一行
fastestmirror=true
保存后,执行
$ sudo dnf clean all
$ sudo dnf makecache
即可生效。说明一下,cleanall命令参数是指让DNF清除全部软件源信息以及下载的软件包缓存信息,makecache命令参数是指让DNF重新获取并建立软件源元数据信息缓存,如果设置了fastestmirror为true,这时DNF就会启用快速镜像检测功能来重建软件源元数据信息缓存。
5. Fedora22自带的DNF为1.0版,似乎这个版本存在一个bug,使用remove命令参数时无法使用通配符,而其他命令参数使用通配符则正常,相信在后续版本中会修正这个问题。
从目前的使用效果来看,DNF的速度确实比原来的YUM快了很多,应该来讲是YUM的很好的替代产品,相信以后会越来越好用,超出Ubuntu/Debian的APT。
Fedora 22会包含Fedora 21的软件包:
Fedora 22安装以后的优化和配置:
Yum已死,DNF当立(Yum is dead, long live DNF):
------分隔线----------------------------fedora安装后的一些配置_百度文库
两大类热门资源免费畅读
续费一年阅读会员,立省24元!
fedora安装后的一些配置
上传于||文档简介
&&f​e​d​o​r​a​安​装​后​的​一​些​配​置
阅读已结束,如果下载本文需要使用5下载券
想免费下载本文?
定制HR最喜欢的简历
下载文档到电脑,查找使用更方便
还剩7页未读,继续阅读
定制HR最喜欢的简历
你可能喜欢Fedora&22所带新版DNF软件包在线升级管理器的使用心得
Fedora 22使用新版的DNF软件包在线升级管理器,替代了原来的YUM。DNF是YUM的一个分支并重新经过改写,支持Python
3而且在软件包依赖性处理、下载安装验证等事务处理方面性能更高。在成功从Fedora
21升级到22后,试用了一下DNF,把心得体会分享一下:
1. DNF的命令基本上和YUM是一样的,没有什么区别。
DNF的软件源repo数据仍然存放在/etc/yum.repo.d目录下,保持和YUM的兼容。因此,仍然可以继续使用RPMFusion的软件源,安装使用方法和过去一样没有问题。
DNF可以自动识别系统当前语言环境,并已当前语言环境字符来显示提示信息。不过为了保险起见,可以安装DNF的语言包,命令为:
$ sudo dnf install dnf-langpacks
之后就可以用
$ sudo dnf langlist
查看语言包中支持的语言信息,如果当前DNF显示的语言不是你希望的你可以用
$ sudo dnf langinstall 语言包名称
来安装你所希望的语言包
DNF默认已经自带了fastestmirror功能,这个功能原先对于YUM来讲是一个单独的插件存在的,它可以使DNF或YUM自动检测判断软件包下载点的速度,选择最快的镜像下载点。现在DNF已经内置了fastestmirror功能,根据DNF文档,该功能默认是关闭的,要打开该功能,需要修改/etc/dnf/dnf.conf配置文件,在[main]部分里面加入一行
fastestmirror=true
保存后,执行
$ sudo dnf clean all
$ sudo dnf makecache
即可生效。说明一下,clean
all命令参数是指让DNF清除全部软件源信息以及下载的软件包缓存信息,makecache命令参数是指让DNF重新获取并建立软件源元数据信息缓存,如果设置了fastestmirror为true,这时DNF就会启用快速镜像检测功能来重建软件源元数据信息缓存。
22自带的DNF为1.0版,似乎这个版本存在一个bug,使用remove命令参数时无法使用通配符,而其他命令参数使用通配符则正常,相信在后续版本中会修正这个问题。
从目前的使用效果来看,DNF的速度确实比原来的YUM快了很多,应该来讲是YUM的很好的替代产品,相信以后会越来越好用,超出Ubuntu/Debian的APT。
已投稿到:
以上网友发言只代表其个人观点,不代表新浪网的观点或立场。

我要回帖

更多关于 dnf放在那个文件夹里 的文章

 

随机推荐