Differences between yum info and yumdb info with Example

 Command Line, Linux  Comments Off on Differences between yum info and yumdb info with Example
Apr 262016
 

Wise folks say a picture is worth a thousand words.

In Linux, an example is worth ten thousand words.

In this post, we’ll use an example to understand the difference between the commands yum info and yumdb info.

For purpose of this post, I will use the popular Cherrytree notes application.

In both examples I’ve run the commands after installing cherrytree.

By the way, I’m running the below commands on a CentOS 7 system.

So here we go, first with the yum info command.

yum info

[tommy@localhost ~]$ yum info cherrytree
Loaded plugins: aliases, changelog, fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: linux.cc.lehigh.edu
 * epel: mirrors.mit.edu
 * extras: mirror.vtti.vt.edu
 * updates: mirror.net.cen.ct.gov
Installed Packages
Name        : cherrytree
Arch        : noarch
Version     : 0.36.9
Release     : 1.el7
Size        : 3.1 M
Repo        : installed
From repo   : epel
Summary     : Hierarchical note taking application
URL         : http://www.giuspen.com/cherrytree/
License     : GPLv3+
Description : CherryTree is a hierarchical note taking application, featuring rich text and
            : syntax highlighting, storing all the data (including images) in a single XML
            : file with extension ".ctd".

Now let’s consider yumdb info with the same cherrytree application.

yumdb info

[tommy@localhost ~]$ yumdb info cherrytree
Loaded plugins: fastestmirror, langpacks
cherrytree-0.36.9-1.el7.noarch
checksum_data = febc31650e96f822cb1a4e52c66aa4a9e71503f861680b3fa3385a478300b7ed
checksum_type = sha256
command_line = install cherrytree
from_repo = epel
from_repo_revision = 1461632780
from_repo_timestamp = 1461640240
installed_by = 1000
origin_url = http://ftp.osuosl.org/pub/fedora-epel/7/x86_64/c/cherrytree-0.36.9-1.el7.noarch.rpm
reason = user
releasever = 7
var_infra = stock
var_uuid = 72c6b420-9095-4304-90a7-fbb60a47ec6a
[tommy@localhost ~]$ 

yumdb info provides information like the checksum data and type, command used to install it, the repository and the person (userid) who installed it but nothing about the application or the developer.

However yum info provides information about the application (both in summary form and in a slightly longer version) as well as the file size. But yum info provides no information about the checksum data or type, the command used for installation or the person (userid) who installed it.

So which command you want to use will depend on your unique needs.

 Posted by at 12:34 pm

How To Add Guest Additions to Lubuntu 16.04

 How To, Linux  Comments Off on How To Add Guest Additions to Lubuntu 16.04
Apr 262016
 

I have Lubuntu running as a virtual machine via VirtualBox. Like many Ubuntu fans, I upgraded to version 16.04 LTS (Xenial Xerus) yesterday. The reason for my upgrade was that Ubuntu 15.10 (a.k.a. Wily Werewolf) was not a Long-term Supported distribution. Support for Ubuntu 15.10 ends in July 2016 while Read More

 Posted by at 10:04 am

How to Change Default Kernel in CentOS 7

 Command Line, Linux  Comments Off on How to Change Default Kernel in CentOS 7
Mar 282016
 

A typical CentOS 7 Linux system has multiple kernels. How many kernels you have in your CentOS systems depends on the configuration setting. Sometimes you might feel the need to change the default kernel to a different one (it may be an older or newer kernel) to ensure a particular Read More

 Posted by at 11:50 am  Tagged with:

Linux Mint 18 to be Supported Until 2021

 Linux  Comments Off on Linux Mint 18 to be Supported Until 2021
Jan 072016
 

The upcoming Linux Mint 18.x series a.k.a. Sarah will be based on Ubuntu 16.04 LTS and supported until 2021. The first version of Linux Mint 18 should appear toward the end of the first half of 2016, say in May or June. Linux Mint developers have offered little details on Read More

 Posted by at 4:37 pm

Are Good Times Over for Apple & Xiaomi Smartphones?

 Apple, Smartphones  Comments Off on Are Good Times Over for Apple & Xiaomi Smartphones?
Dec 172015
 
Are Good Times Over for Apple & Xiaomi Smartphones?

All good things of life must come to an end sooner or later. And that holds true for the wunderkinds of the smartphone business too. After a great run for the last few years, the good times appear to be drawing to a close for the two smartphone darlings, Apple Read More

 Posted by at 10:53 pm

Linux Mint 17.3 XFCE, KDE Editions Delayed

 Linux  Comments Off on Linux Mint 17.3 XFCE, KDE Editions Delayed
Dec 142015
 

The Linux Mint development team has pushed back the release date of XFCE and KDE desktop versions of Linux Mint 17.3 a.k.a. Rosa to January 2016. Launch dates for KDE and XFCE versions of Rosa were originally set for December 2015. But with even the beta (trial version) of XFCE Read More

 Posted by at 12:46 pm