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

Sun's promise to open source Java vs GCJ

According to this Press Release via OS News , it appears Sun Microsystems allow the redistribution of their Java development for Linux distributions under a new license called Operation System Distributor's License for Java or in short "Distro License for Java". Currently, only binaries are licensed as the source code is not available for the public although SUN promise to open source Java . I wonder if that announcement will affect the whole GCJ on which Fedora Project is focusing. Pour les francophones: Selon cette note de presse via OS News, Sun Microsystems permet la redistribution des binaires Java pour les distribution de Linux sous la nouvelle license nomm&ecaute;e License des distros pour Java . Je me demande si cette annonce affectera le développement de GCJ.

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 Ra

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