• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

checkupdates : Command Examples in Linux

by Deepika

checkupdates is a command-line utility in Linux that is used to check for available package updates in the system package manager. It is part of the pacman package manager in Arch Linux and its derivatives, and is used to check the package repositories for updates to installed packages.

To use checkupdates, you will need to have the pacman package manager installed on your system. You can then run the checkupdates command from the command prompt to check for available updates.

For example, to check for available updates using checkupdates, you can use the following command:

# checkupdates

This command will check the package repositories for updates to the installed packages and output a list of the available updates. The list will include the names and versions of the packages that have updates available, as well as the names of the repositories where the updates can be found.

checkupdates Command Examples

1. List pending updates:

# checkupdates

2. List pending updates and download the packages to the pacman cache:

# checkupdates --download

3. List pending updates using a specific pacman database:

# CHECKUPDATES_DB=path/to/directory checkupdates

4. Display help:

# checkupdates --help

Filed Under: Linux

Some more articles you might also be interested in …

  1. dpkg-deb: command not found
  2. How to Configure Interface(s) in promiscuous mode on CentOS/RHEL 7 (persistently)
  3. pacman –deptest Command Examples
  4. Honeypot Tutorials – Modes and Working of Honeypot
  5. Linux OS Service ‘o2cb’
  6. pkginfo Command Examples in Linux
  7. chcon Command Examples in Linux
  8. CentOS/RHEL: How to find the package with a missing file using YUM
  9. hcitool: command not found
  10. ceph Command Examples in Linux

You May Also Like

Primary Sidebar

Recent Posts

  • powertop Command Examples in Linux
  • powertop: command not found
  • powerstat: command not found
  • powerstat Command Examples in Linux

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright