< Home - < Back

gc


Information about the package, gc, which is shipped with common Linux distributions. The gc package is designed for, A garbage collector for C and C++.


Package Name:

gc

Summary:

A garbage collector for C and C++

Description:

The Boehm-Demers-Weiser conservative garbage collector can be used as a garbage collecting replacement for C malloc or C++ new.

Architecture:

x86_64

Version:

7.1

Release:

12.el6_4

Size:

146 k

Repository:

base

From Repository:

Licence:

BSD



Handy Yum Commands for gc


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


Command

Description of Command

yum install gc

This command will install gc on the server.

yum remove gc

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

yum -y remove gc

This command will un-install gc 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 gc when using the -y flag.

yum update gc

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

yum -y update gc

This command will update gc 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 gc when using the -y flag.

yum info gc

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

yum deplist gc

This command will show you the dependencies for gc. 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 gc

This command will check if there is an update waiting on gc. 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.