from small one page howto to huge articles all in one place

search text in:




Other .linuxhowtos.org sites: www.linuxhowtos.org
toolsntoys.linuxhowtos.org



Last additions:
How to make X listen on port 6000

How to make X listen on port 6000

words:

34

views:

85752

userrating:

average rating: 1.2 (52 votes) (1=very good 6=terrible)


May, 25th 2007:
April, 26th 2007:
Apr, 10th. 2007:
Druckversion . pdf icon
You are here: Tutorials per portage category->dev-util->ccache

The tool ccache is able to speed up recompilations of the same sources by caching the gcc outputs into cache files. If ccache detects a recompilation of a file it has in cache, the cache files get returned.
The use of ccache is transparent to the end user except that some compiles are faster.
It uses ~/.ccache as its storage place.
If you want to speed up ccache, mount a reiserfs partition to that ccache directory.
Reiserfs is very fast when dealing with small files and this makes it very usefull for ccache.

From the ccache man-page

INSTALLATION

There are two ways to use ccache. You can either prefix your compile commands with "ccache" or you can create a symbolic link between ccache and the names of your compilers. The first method is most convenient if you just want to try out ccache or wish to use it for some specific projects. The second method is most useful for when you wish to use ccache for all your compiles.


To install for usage by the first method just copy ccache to somewhere in your path.


To install for the second method do something like this:

   
cp ccache /usr/local/bin/
ln -s /usr/local/bin/ccache /usr/local/bin/gcc
ln -s /usr/local/bin/ccache /usr/local/bin/g++
ln -s /usr/local/bin/ccache /usr/local/bin/cc


This will work as long as /usr/local/bin comes before the path to gcc (which is usually in /usr/bin). After installing you may wish to run "which gcc" to make sure that the correct link is being used.

Note! Do not use a hard link, use a symbolic link. A hardlink will cause "interesting" problems.
rate this article:
current rating: average rating: 1.7 (62 votes) (1=very good 6=terrible)
Your rating:
Very good (1) Good (2) ok (3) average (4) bad (5) terrible (6)

back



Support us on Content Nation

New Packages

- as rdf newsfeed
- as rss newsfeed
- as Atom newsfeed
2026-06-10
apache - 2.4.68
Ebuild name:

www-servers/apache-2.4.68

Description

The Apache Web Server

Added to portage

2026-06-10

apache-tools - 2.4.68
Ebuild name:

app-admin/apache-tools-2.4.68

Description

Useful Apache tools - htdigest, htpasswd, ab, htdbm

Added to portage

2026-06-10

awscli - 1.45.26
Ebuild name:

app-admin/awscli-1.45.26

Description

Universal Command Line Environment for AWS

Added to portage

2026-06-10

boto3 - 1.43.26
Ebuild name:

dev-python/boto3-1.43.26

Description

The AWS SDK for Python

Added to portage

2026-06-10

botocore - 1.43.26
Ebuild name:

dev-python/botocore-1.43.26

Description

Low-level, data-driven core of boto 3

Added to portage

2026-06-10

chessx - 1.6.10
Ebuild name:

games-board/chessx-1.6.10

Description

Qt-based Chess Database Utility

Added to portage

2026-06-10

cryptography - 48.0.1
Ebuild name:

dev-python/cryptography-48.0.1

Description

Library providing cryptographic recipes and primitives

Added to portage

2026-06-10

digikam - 9.1.0
Ebuild name:

media-gfx/digikam-9.1.0

Description

Digital photo management application

Added to portage

2026-06-10

dracut - 111-r1
Ebuild name:

sys-kernel/dracut-111-r1

Description

Generic initramfs generation tool

Added to portage

2026-06-10

faker - 40.22.0
Ebuild name:

dev-python/faker-40.22.0

Description

A Python package that generates fake data for you

Added to portage

2026-06-10

jupyter-client - 8.9.1
Ebuild name:

dev-python/jupyter-client-8.9.1

Description

Jupyter protocol implementation and client libraries

Added to portage

2026-06-10

kbibtex - 0.10.50_pre20260606
Ebuild name:

app-text/kbibtex-0.10.50_pre20260606

Description

BibTeX editor to edit bibliographies used with LaTeX

Added to portage

2026-06-10

kdesvn - 2.1.0_p20260608
Ebuild name:

dev-vcs/kdesvn-2.1.0_p20260608

Description

Frontend to the subversion vcs

Added to portage

2026-06-10

krename - 5.0.60_pre20260606
Ebuild name:

kde-misc/krename-5.0.60_pre20260606

Description

Powerful batch file renamer

Added to portage

2026-06-10

kronometer - 2.3.70_pre20260606
Ebuild name:

x11-misc/kronometer-2.3.70_pre20260606

Description

Stopwatch application

Added to portage

2026-06-10

macrostep-geiser - 0.2.0_p20210717
Ebuild name:

app-emacs/macrostep-geiser-0.2.0_p20210717

Description

Emacs macrostep back-end powered by geiser

Added to portage

2026-06-10

magit - 4.5.0
Ebuild name:

app-emacs/magit-4.5.0

Description

A Git porcelain inside Emacs

Added to portage

2026-06-10

nodejs - 24.16.0
Ebuild name:

net-libs/nodejs-24.16.0

Description

A JavaScript runtime built on Chrome's V8 JavaScript engine

Added to portage

2026-06-10

openssl - 3.0.21
Ebuild name:

dev-libs/openssl-3.0.21

Description

Robust, full-featured Open Source Toolkit for the Transport Layer Security

Added to portage

2026-06-10

openssl - 3.4.6
Ebuild name:

dev-libs/openssl-3.4.6

Description

Robust, full-featured Open Source Toolkit for the Transport Layer Security (

Added to portage

2026-06-10

openssl - 3.5.7
Ebuild name:

dev-libs/openssl-3.5.7

Description

Robust, full-featured Open Source Toolkit for the Transport Layer Security (

Added to portage

2026-06-10

openssl - 3.6.3
Ebuild name:

dev-libs/openssl-3.6.3

Description

Robust, full-featured Open Source Toolkit for the Transport Layer Security (

Added to portage

2026-06-10

openssl - 4.0.1
Ebuild name:

dev-libs/openssl-4.0.1

Description

Robust, full-featured Open Source Toolkit for the Transport Layer Security (

Added to portage

2026-06-10

openstacksdk - 4.15.0
Ebuild name:

dev-python/openstacksdk-4.15.0

Description

A collection of libraries for building applications to work with Ope

Added to portage

2026-06-10

oslo-utils - 10.1.1
Ebuild name:

dev-python/oslo-utils-10.1.1

Description

Oslo Utility library

Added to portage

2026-06-10

php - 8.4.22
Ebuild name:

dev-lang/php-8.4.22

Description

The PHP language runtime engine

Added to portage

2026-06-10

php - 8.5.7-r1
Ebuild name:

dev-lang/php-8.5.7-r1

Description

The PHP language runtime engine

Added to portage

2026-06-10

pico8 - 0.2.7-r1
Ebuild name:

dev-lang/pico8-0.2.7-r1

Description

Fantasy console for making and playing tiny games and other computer progra

Added to portage

2026-06-10

qgis - 4.0.3
Ebuild name:

sci-geosciences/qgis-4.0.3

Description

User friendly Geographic Information System

Added to portage

2026-06-10

readme-renderer - 45.0
Ebuild name:

dev-python/readme-renderer-45.0

Description

A library for rendering 'readme' descriptions for Warehouse

Added to portage

2026-06-10

sqlglot - 30.10.0
Ebuild name:

dev-python/sqlglot-30.10.0

Description

An easily customizable SQL parser and transpiler

Added to portage

2026-06-10

tqdm - 4.68.2
Ebuild name:

dev-python/tqdm-4.68.2

Description

Add a progress meter to your loops in a second

Added to portage

2026-06-10

yt-dlp - 2026.06.09
Ebuild name:

net-misc/yt-dlp-2026.06.09

Description

youtube-dl fork with additional features and fixes

Added to portage

2026-06-10

2026-06-09
audit - 4.1.4-r3
Ebuild name:

sys-process/audit-4.1.4-r3

Description

Userspace utilities for storing and processing auditing records

Added to portage

2026-06-09

awkward - 2.9.1
Ebuild name:

dev-python/awkward-2.9.1

Description

Manipulate JSON-like data with NumPy-like idioms

Added to portage

2026-06-09

awkward-cpp - 53
Ebuild name:

dev-python/awkward-cpp-53

Description

CPU kernels and compiled extensions for Awkward Array

Added to portage

2026-06-09

awscli - 1.45.25
Ebuild name:

app-admin/awscli-1.45.25

Description

Universal Command Line Environment for AWS

Added to portage

2026-06-09

binutils - 2.46.1
Ebuild name:

sys-devel/binutils-2.46.1

Description

Tools necessary to build programs

Added to portage

2026-06-09

binutils - 2.46.9999
Ebuild name:

sys-devel/binutils-2.46.9999

Description

Tools necessary to build programs

Added to portage

2026-06-09

binutils-hppa64 - 2.46.1
Ebuild name:

sys-devel/binutils-hppa64-2.46.1

Description

Tools necessary to build programs

Added to portage

2026-06-09

binutils-libs - 2.46.1
Ebuild name:

sys-libs/binutils-libs-2.46.1

Description

Core binutils libraries (libbfd, libopcodes, libiberty) for external

Added to portage

2026-06-09

boto3 - 1.43.25
Ebuild name:

dev-python/boto3-1.43.25

Description

The AWS SDK for Python

Added to portage

2026-06-09

botocore - 1.43.25
Ebuild name:

dev-python/botocore-1.43.25

Description

Low-level, data-driven core of boto 3

Added to portage

2026-06-09

discord - 1.0.142
Ebuild name:

net-im/discord-1.0.142

Description

All-in-one voice and text chat for gamers

Added to portage

2026-06-09

dist-kernel - 6.12.93
Ebuild name:

virtual/dist-kernel-6.12.93

Description

Virtual to depend on any Distribution Kernel

Added to portage

2026-06-09

dist-kernel - 6.18.35
Ebuild name:

virtual/dist-kernel-6.18.35

Description

Virtual to depend on any Distribution Kernel

Added to portage

2026-06-09

dist-kernel - 7.0.12
Ebuild name:

virtual/dist-kernel-7.0.12

Description

Virtual to depend on any Distribution Kernel

Added to portage

2026-06-09

flask-cors - 6.0.5
Ebuild name:

dev-python/flask-cors-6.0.5

Description

A Flask extension for Cross Origin Resource Sharing (CORS)

Added to portage

2026-06-09

geckodriver - 0.37.0
Ebuild name:

net-misc/geckodriver-0.37.0

Description

Proxy for using WebDriver clients to interact with Gecko-based browsers

Added to portage

2026-06-09

gentoo-kernel - 6.12.93
Ebuild name:

sys-kernel/gentoo-kernel-6.12.93

Description

Linux kernel built with Gentoo patches

Added to portage

2026-06-09

gentoo-kernel - 6.18.35
Ebuild name:

sys-kernel/gentoo-kernel-6.18.35

Description

Linux kernel built with Gentoo patches

Added to portage

2026-06-09

gentoo-kernel - 7.0.12
Ebuild name:

sys-kernel/gentoo-kernel-7.0.12

Description

Linux kernel built with Gentoo patches

Added to portage

2026-06-09

gentoo-kernel-bin - 6.12.93
Ebuild name:

sys-kernel/gentoo-kernel-bin-6.12.93

Description

Pre-built Linux kernel with Gentoo patches

Added to portage

2026-06-09

gentoo-kernel-bin - 6.18.35
Ebuild name:

sys-kernel/gentoo-kernel-bin-6.18.35

Description

Pre-built Linux kernel with Gentoo patches

Added to portage

2026-06-09

gentoo-kernel-bin - 7.0.12
Ebuild name:

sys-kernel/gentoo-kernel-bin-7.0.12

Description

Pre-built Linux kernel with Gentoo patches

Added to portage

2026-06-09

gentoo-sources - 6.12.93-r1
Ebuild name:

sys-kernel/gentoo-sources-6.12.93-r1

Description

Full sources including the Gentoo patchset for the . kernel tr

Added to portage

2026-06-09

gentoo-sources - 6.18.35-r1
Ebuild name:

sys-kernel/gentoo-sources-6.18.35-r1

Description

Full sources including the Gentoo patchset for the . kernel tr

Added to portage

2026-06-09

gentoo-sources - 7.0.12-r1
Ebuild name:

sys-kernel/gentoo-sources-7.0.12-r1

Description

Full sources including the Gentoo patchset for the . kernel tre

Added to portage

2026-06-09

glibc - 2.43.9999
Ebuild name:

sys-libs/glibc-2.43.9999

Description

GNU libc C library

Added to portage

2026-06-09

handbrake - 1.11.2
Ebuild name:

media-video/handbrake-1.11.2

Description

Open-source, GPL-licensed, multiplatform, multithreaded video transcod

Added to portage

2026-06-09

haruna - 1.7.1-r2
Ebuild name:

media-video/haruna-1.7.1-r2

Description

Video player built with Qt/QML and libmpv

Added to portage

2026-06-09

haruna - 1.8.1-r1
Ebuild name:

media-video/haruna-1.8.1-r1

Description

Video player built with Qt/QML and libmpv

Added to portage

2026-06-09

kdeconnect - 26.04.1-r1
Ebuild name:

kde-misc/kdeconnect-26.04.1-r1

Description

Adds communication between KDE Plasma and your smartphone

Added to portage

2026-06-09

kdeconnect - 26.04.2-r1
Ebuild name:

kde-misc/kdeconnect-26.04.2-r1

Description

Adds communication between KDE Plasma and your smartphone

Added to portage

2026-06-09

lego - 5.2.2
Ebuild name:

app-crypt/lego-5.2.2

Description

Let's Encrypt/ACME client (like certbot or acme.sh) and library written in Go

Added to portage

2026-06-09

libmirage - 3.3.2-r1
Ebuild name:

dev-libs/libmirage-3.3.2-r1

Description

CD and DVD image access library

Added to portage

2026-06-09

magit - 4.5.0-r1
Ebuild name:

app-emacs/magit-4.5.0-r1

Description

A Git porcelain inside Emacs

Added to portage

2026-06-09

magit - 9999
Ebuild name:

app-emacs/magit-9999

Description

A Git porcelain inside Emacs

Added to portage

2026-06-09

magit-popup - 2.13.3-r1
Ebuild name:

app-emacs/magit-popup-2.13.3-r1

Description

Define prefix-infix-suffix command combos

Added to portage

2026-06-09

mailcrypt - 3.5.9-r3
Ebuild name:

app-emacs/mailcrypt-3.5.9-r3

Description

Provides a simple interface to public key cryptography with OpenPGP

Added to portage

2026-06-09

marginalia - 2.10
Ebuild name:

app-emacs/marginalia-2.10

Description

Marginalia in the minibuffer

Added to portage

2026-06-09

opendkim - 9999
Ebuild name:

mail-filter/opendkim-9999

Description

A milter providing DKIM signing and verification

Added to portage

2026-06-09

openpgp-keys-binutils - 20260609
Ebuild name:

sec-keys/openpgp-keys-binutils-20260609

Description

OpenPGP keys used to sign GNU Binutils releases

Added to portage

2026-06-09

paperwork - 2.2.5-r1
Ebuild name:

app-text/paperwork-2.2.5-r1

Description

a personal document manager for scanned documents (and PDFs)

Added to portage

2026-06-09

pdns - 5.1.1
Ebuild name:

net-dns/pdns-5.1.1

Description

The PowerDNS Daemon

Added to portage

2026-06-09

php - 8.5.7
Ebuild name:

dev-lang/php-8.5.7

Description

The PHP language runtime engine

Added to portage

2026-06-09

pikepdf - 10.8.0
Ebuild name:

dev-python/pikepdf-10.8.0

Description

Python library to work with pdf files based on qpdf

Added to portage

2026-06-09

plumbum - 2.0.1
Ebuild name:

dev-python/plumbum-2.0.1

Description

A library for shell script-like programs in python

Added to portage

2026-06-09

postfix - 3.12_pre20260607
Ebuild name:

mail-mta/postfix-3.12_pre20260607

Description

A fast and secure drop-in replacement for sendmail

Added to portage

2026-06-09

pypdf - 6.13.1
Ebuild name:

dev-python/pypdf-6.13.1

Description

Python library to work with PDF files

Added to portage

2026-06-09

pyzotero - 1.13.1
Ebuild name:

dev-python/pyzotero-1.13.1

Description

A Python client for the Zotero API

Added to portage

2026-06-09

sh - 2.3.0
Ebuild name:

dev-python/sh-2.3.0

Description

Python subprocess interface

Added to portage

2026-06-09

signal-desktop-bin - 8.13.0
Ebuild name:

net-im/signal-desktop-bin-8.13.0

Description

Allows you to send and receive messages of Signal Messenger on you

Added to portage

2026-06-09

slixmpp - 1.16.0
Ebuild name:

dev-python/slixmpp-1.16.0

Description

Python 3 library for XMPP

Added to portage

2026-06-09

systemd - 260.2-r1
Ebuild name:

sys-apps/systemd-260.2-r1

Description

System and service manager for Linux

Added to portage

2026-06-09

timu-caribbean-theme - 1.5
Ebuild name:

app-emacs/timu-caribbean-theme-1.5

Description

Color theme with cyan as a dominant color

Added to portage

2026-06-09

timu-caribbean-theme - 9999
Ebuild name:

app-emacs/timu-caribbean-theme-9999

Description

Color theme with cyan as a dominant color

Added to portage

2026-06-09

tornado - 6.5.7
Ebuild name:

dev-python/tornado-6.5.7

Description

Python web framework and asynchronous networking library

Added to portage

2026-06-09

transient - 0.13.4
Ebuild name:

app-emacs/transient-0.13.4

Description

Transient commands abstraction for GNU Emacs

Added to portage

2026-06-09

vanilla-kernel - 6.12.93
Ebuild name:

sys-kernel/vanilla-kernel-6.12.93

Description

Linux kernel built from vanilla upstream sources

Added to portage

2026-06-09

vanilla-kernel - 6.18.35
Ebuild name:

sys-kernel/vanilla-kernel-6.18.35

Description

Linux kernel built from vanilla upstream sources

Added to portage

2026-06-09

vanilla-kernel - 7.0.12
Ebuild name:

sys-kernel/vanilla-kernel-7.0.12

Description

Linux kernel built from vanilla upstream sources

Added to portage

2026-06-09

vanilla-sources - 6.12.93
Ebuild name:

sys-kernel/vanilla-sources-6.12.93

Description

Full sources for the Linux kernel

Added to portage

2026-06-09

vanilla-sources - 6.18.35
Ebuild name:

sys-kernel/vanilla-sources-6.18.35

Description

Full sources for the Linux kernel

Added to portage

2026-06-09

vanilla-sources - 7.0.12
Ebuild name:

sys-kernel/vanilla-sources-7.0.12

Description

Full sources for the Linux kernel

Added to portage

2026-06-09

vertico - 2.10
Ebuild name:

app-emacs/vertico-2.10

Description

Vertical interactive completion

Added to portage

2026-06-09

wcwidth - 0.8.1
Ebuild name:

dev-python/wcwidth-0.8.1

Description

Measures number of Terminal column cells of wide-character codes

Added to portage

2026-06-09

ytmusicapi - 1.12.1-r1
Ebuild name:

dev-python/ytmusicapi-1.12.1-r1

Description

Unofficial API for YouTube Music

Added to portage

2026-06-09

rdf newsfeed | rss newsfeed | Atom newsfeed
Copyright 2004-2025 Sascha Nitsch Unternehmensberatung GmbH
- Copyright and legal notices -
Time to create this page: 87.2 ms