< Home - < Back

libguestfs


Information about the package, libguestfs, which is shipped with common Linux distributions. The libguestfs package is designed for, Access and modify virtual machine disk images.


Package Name:

libguestfs

Summary:

Access and modify virtual machine disk images

Description:

Libguestfs is a library for accessing and modifying guest disk images. Amongst the things this is good for: making batch configuration changes to guests, getting disk used/free statistics (see also: virt-df), migrating between virtualization systems (see also: virt-p2v), performing partial backups, performing partial guest clones, cloning guests and changing registry/UUID/hostname info, and much else besides. Libguestfs uses Linux kernel and qemu code, and can access any type of guest filesystem that Linux and qemu can, including but not limited to: ext2/3/4, btrfs, FAT and NTFS, LVM, many different disk partition schemes, qcow, qcow2, vmdk. Libguestfs provides ways to enumerate guest storage (eg. partitions, LVs, what filesystem is in each LV, etc.). It can also run commands in the context of the guest. Libguestfs is a library that can be linked with C and C++ management programs. For high level virt tools, guestfish (shell scripting and command line access), and guestmount (mount guest filesystems using FUSE), install 'libguestfs-tools'. For shell scripting and command line access, install 'guestfish'. To mount guest filesystems on the host using FUSE, install 'libguestfs-mount'. For Java bindings, install 'libguestfs-java-devel'. For OCaml bindings, install 'ocaml-libguestfs-devel'. For Perl bindings, install 'perl-Sys-Guestfs'. For Python bindings, install 'python-libguestfs'. For Ruby bindings, install 'ruby-libguestfs'.

Architecture:

x86_64

Version:

1.20.11

Release:

20.el6

Size:

2.1 M

Repository:

base

From Repository:

Licence:

LGPLv2+



Handy Yum Commands for libguestfs


Control the libguestfs package with the following handy commands outlined below.


Command

Description of Command

yum install libguestfs

This command will install libguestfs on the server.

yum remove libguestfs

This command will un-install libguestfs on the server. When you run this command, you will be asked if you are sure that you want to remove libguestfs, so you have to manually confirm that you want to do this.

yum -y remove libguestfs

This command will un-install libguestfs on the server. When you run this command with th e -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove libguestfs when using the -y flag.

yum update libguestfs

This command will update libguestfs to the latest version. When you run this command, you will be asked if you are sure that you want to remove libguestfs, so you have to manually confirm that you want to do this.

yum -y update libguestfs

This command will update libguestfs to the latest version. When you run this command with the -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove libguestfs when using the -y flag.

yum info libguestfs

This command will show you core information about the libguestfs package.

yum deplist libguestfs

This command will show you the dependencies for libguestfs. Thankfully, when using Yum, if dependencies are required, these are also installed at the same time so you don't have to worry too much about that.

yum check-update libguestfs

This command will check if there is an update waiting on libguestfs. When you run this command this will return nothing if there is nothing to update, or, will return the package name if the package is due to be updated.