Skip to main content

List of yum commands in Fedora 19

Displayed version of yum:
$ yum --version 3.4.3
Installed: yum-3.4.3-95.fc19.noarch

Here is a list (incomplete because of missing documentation about autoremove)

List of Commands:

  • check Check for problems in the rpmdb
  • check-update Check for available package updates
  • clean Remove cached data
  • deplist List a package's dependencies
  • distribution-synchronization Synchronize installed packages to the latest available versions
  • downgrade downgrade a package
  • erase Remove a package or packages from your system
  • groups Display, or use, the groups information
  • help Display a helpful usage message
  • history Display, or use, the transaction history
  • info Display details about a package or group of packages
  • install Install a package or packages on your system
  • langinfo List languages information
  • langinstall Install appropriate language packs for a language
  • langlist List installed languages
  • langremove Remove installed language packs for a language
  • list List a package or groups of packages
  • load-transaction load a saved transaction from filename
  • makecache Generate the metadata cache
  • provides Find what package provides the given value
  • reinstall reinstall a package
  • repo-pkgs Treat a repo. as a group of packages, so we can install/remove all of them
  • repolist Display the configured software repositories
  • search Search package details for the given string
  • shell Run an interactive yum shell
  • swap Simple way to swap packages, instead of using shell
  • update Update a package or packages on your system
  • update-minimal Works like upgrade, but goes to the 'newest' package match which fixes a problem that affects your system
  • updateinfo Acts on repository update information
  • upgrade Update packages taking obsoletes into account
  • version 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
  • --version 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
  • --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
  • --bugfix 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 updates
  • --bzs=BZS Include packages needed to fix the given BZ, in updates
  • --cves=CVES Include packages needed to fix the given CVE, in updates
  • --sec-severity=SEVS, --secseverity=SEVS Include security relevant packages matching the severity, in updates
Note that yum can use distro-sync command rather than the longer distribution-synchronization.

Comments

Popular posts from this blog

Summary of echo-icon-theme report on Virtual FUDCon

It was my first even conference on Virtual FUDCon which greatly saved time and money. In summary, echo-icon-theme will not be ready for Fedora 8 given the time constrains. Its guideline needs a rewrite started by Martin Sourada. The icons are now residing on echo-icon-theme repository which facilitates the access for contributors looking to add/update the icons. It also means the wiki page for EchoDevelopment will no longer upload icons and will serve as reference. The mouse cursors are not in the repository yet but will be available shortly. Mairin, Fedora Artwork team leader, suggested to use Tango guideline for icons smaller or equal than 24x24 while keeping the isometric view for 32x32 and above. Demitri Glezos thanked the team for the use of icons on his Transifex project . The set of icons is roughly 40 percent complete and users of other desktop environment like KDE are encouraged to test them and provide ticket to track issues. Be in mind the echo-icon-theme division tea...

Using AMD RX Vega driver OpenCL on Fedora 29

The Raven Ridge APU is very capable processor to handle OpenCL inside some applications like Blender, Darktable and Gimp. Unfortunately, the current implementation from Mesa, clover, stuck to 1.3, is not supported. AMD released their driver 18.40 with OpenCL2.0+ targeting only Red Hat Enterprise Linux/Cent OS 6.10 and 7.5 in addition of Ubuntu LTS. The good new is the former rpm format can be used on Fedora. The graphical part of Raven Ridge is Vega 8, basically a cut-down of Vega56 or Vega64 meaning choosing either driver for RX Vega . The instruction is provided for extracting the rpm files but here is  some requirements for OpenCL: kernel-devel (provided by Fedora repository) amdgpu-dkms dkms libopencl-amdgpu-pro opencl-amdgpu-pro-icd Once done, applications needing OpenCL will automatically detect the driver located on /opt/amdgpu/lib64 . Blender will list as unknown AMD GPU and Darktable will enable it. OpenCL from official AMD driver enabled on Darktable ...

Detailing the installation of AMD OpenCL rpm for Fedora

Revisiting the previous blog and freshly reinstalling Fedora Design Suite due to a busted boot, I look at the official guideline from AMD Driver for Red Hat Enterprise Linux 7.2 and write a way to improve the process of installing on Fedora 29 in this example. Extracting the tarball contains the following: amdgpu-install amdgpu-pro-install symlink to amdgpu doc folder repodata folder RPMS folder containing rpm package Executing the command ./amdgpu-install -opencl=pal --headless sadly failed on Fedora on that line: ./amdgpu-install -y --opencl=pal --headless Last metadata expiration check: 0:30:51 ago on Mon 19 Nov 2018 07:13:43 PM PST. No match for argument: amdgpu Upon closer look, the script failed to created a temporary repository on /var/opt/amdgpu-pro-local probably explaining why amdgpu metapackage name failed to display. Someone should investigate and provide a fix. At least, we find out Fedora support is available but unofficial. Due to its design, Gnome ...