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

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-installamdgpu-pro-install symlink to amdgpudoc folderrepodata folderRPMS 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 Software only allows one cli…

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-dkmsdkmslibopencl-amdgpu-proopencl-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.



There is a ROCm version but it currently does not support the graphical side of Rav…

HP, Linux and ACPI

Majority of HP hardware running on Linux and even Microsoft reported an issue related to a non-standard compliant ACPI. Notable message below repeats at least three times on the boot:


4.876549] ACPI BIOS Error (bug): AE_AML_BUFFER_LIMIT, Field [D128] at bit offset/length 128/1024 exceeds size of target Buffer (160 bits) (20190215/dsopcode-198) 
[ 4.876555] ACPI Error: Aborting method \HWMC due to previous error (AE_AML_BUFFER_LIMIT) (20190215/psparse-529) 
[ 4.876562] ACPI Error: Aborting method \_SB.WMID.WMAA due to previous error (AE_AML_BUFFER_LIMIT) (20190215/psparse-529)


The bug is a known for years from which Linux kernel team are unable to fix without the help of vendor i.e. HP. Here is a compilation of reports:
BIOS error: The BIOS in this system is not fully ACPI compliant. ACPI BIOS ERROR (blue screen) on startup ACPI bad works with Linux  The good news is some errors seems harmless. Unfortunately, such errors displayed the quirks approach used by vendors to support …