# Install gcc

**Deprecated** crate, renamed to cc A build-time dependency for Cargo build scripts to assist in invoking the native C compiler to compile native C code into a static archive to be linked into Rust code. Version 0.3.55 via Cargo; verified 2018-10-08.

## Install

```sh
sudo av install cargo:gcc
```

Additional install commands:

### Portable and language managers

- Cargo (100%):

```sh
cargo install gcc
```

  Evidence: local crates.io package metadata

## Package Facts

- **Package key:** cargo:gcc
- **Package manager:** Cargo
- **Package manager URL:** <https://crates.io/crates/gcc>
- **Version:** 0.3.55
- **Source summary:** **Deprecated** crate, renamed to cc A build-time dependency for Cargo build scripts to assist in invoking the native C compiler to compile native C code into a static archive to be linked into Rust code.
- **Repository:** <https://github.com/alexcrichton/gcc-rs>
- **Upstream docs:** <https://docs.rs/gcc>
- **License:** MIT/Apache-2.0
- **Source archive:** <https://static.crates.io/crates/gcc/gcc-0.3.55.crate>
- **Published:** 2018-10-08 22:06:05.796359+00
- **Last updated:** 2018-10-08 22:06:05.796359+00
- **Generated:** 2026-06-18T16:49:02+00:00

## Executables

- gcc-shim (binary): Declared by crates.io version metadata.

## Install Behavior

- Bottle: not available

## Freshness

- Page generated: 2026-06-18
- Package-manager version: 0.3.55

## Security Notes

No matching local secret-handling manifest was found for gcc. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** crates.io database dump
- **Crate ID:** 35
- **Crate Size:** 37,262
- **Has Lib:** yes
- **Num Versions:** 67
- **Recent Download Window Days:** 90
- **Version ID:** 111,488

## Other Package-Manager Records

- Debian apt - gcc - 4:14.2.0-1: normalized package name match | Debian stable package indexes: gcc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GNU C compiler
- Nix - gcc: normalized package name match | nixpkgs package indexes: gcc from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- Ubuntu apt - gcc - 4:13.2.0-7ubuntu1: normalized package name match | Ubuntu 24.04 LTS package indexes: gcc from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | GNU C compiler
- apk - g++ - 15.2.0-r5: normalized package name match | Alpine Linux edge package indexes: g++ from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | GNU C++ standard library and compiler | https://gcc.gnu.org
- apk - gcc - 15.2.0-r5: normalized package name match | Alpine Linux edge package indexes: gcc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | The GNU Compiler Collection | https://gcc.gnu.org
- apk - gcc-doc - 15.2.0-r5: normalized package name match | Alpine Linux edge package indexes: gcc-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | The GNU Compiler Collection (documentation) | https://gcc.gnu.org
- apk - gcc-gdb - 15.2.0-r5: normalized package name match | Alpine Linux edge package indexes: gcc-gdb from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | The GNU Compiler Collection (gdb printers) | https://gcc.gnu.org
- apk - gcc-gdc - 15.2.0-r5: normalized package name match | Alpine Linux edge package indexes: gcc-gdc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | GCC-based D language compiler | https://gcc.gnu.org
- apk - gcc-gnat - 15.2.0-r5: normalized package name match | Alpine Linux edge package indexes: gcc-gnat from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Ada support for GCC | https://gcc.gnu.org
- apk - gcc-go - 15.2.0-r5: normalized package name match | Alpine Linux edge package indexes: gcc-go from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | GCC Go frontend (intended for bootstrapping community/go) | https://gcc.gnu.org
- apk - gcc-objc - 15.2.0-r5: normalized package name match | Alpine Linux edge package indexes: gcc-objc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | GNU Objective-C | https://gcc.gnu.org
- apk - gfortran - 15.2.0-r5: normalized package name match | Alpine Linux edge package indexes: gfortran from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | GNU Fortran Compiler | https://gcc.gnu.org
- apk - libatomic - 15.2.0-r5: normalized package name match | Alpine Linux edge package indexes: libatomic from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | GCC Atomic library | https://gcc.gnu.org
- apk - libgcc - 15.2.0-r5: normalized package name match | Alpine Linux edge package indexes: libgcc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | GNU C compiler runtime libraries | https://gcc.gnu.org
- apk - libgcc-static - 15.2.0-r5: normalized package name match | Alpine Linux edge package indexes: libgcc-static from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | GNU C compiler runtime libraries | https://gcc.gnu.org
- apk - libgccjit - 15.2.0-r5: normalized package name match | Alpine Linux edge package indexes: libgccjit from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | GCC JIT Library | https://gcc.gnu.org


## Related Links

- [gcc](https://www.automicvault.com/pkg/brew/gcc/) - Same normalized package name exists in another local package ecosystem.

## Sources

- crates.io package index
- external package-manager database matches
- cross-ecosystem install command graph
