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:

80460

userrating:

average rating: 1.2 (50 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.9 (40 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
2025-08-29
avahi - 0.9_rc2-r3
Ebuild name:

net-dns/avahi-0.9_rc2-r3

Description

System which facilitates service discovery on a local network

Added to portage

2025-08-29

box2d - 2.4.2
Ebuild name:

games-engines/box2d-2.4.2

Description

C++ engine for simulating rigid bodies in 2D games

Added to portage

2025-08-29

dist-kernel - 5.15.190
Ebuild name:

virtual/dist-kernel-5.15.190

Description

Virtual to depend on any Distribution Kernel

Added to portage

2025-08-29

dist-kernel - 6.1.149
Ebuild name:

virtual/dist-kernel-6.1.149

Description

Virtual to depend on any Distribution Kernel

Added to portage

2025-08-29

dist-kernel - 6.12.44
Ebuild name:

virtual/dist-kernel-6.12.44

Description

Virtual to depend on any Distribution Kernel

Added to portage

2025-08-29

dist-kernel - 6.16.4
Ebuild name:

virtual/dist-kernel-6.16.4

Description

Virtual to depend on any Distribution Kernel

Added to portage

2025-08-29

dist-kernel - 6.6.103
Ebuild name:

virtual/dist-kernel-6.6.103

Description

Virtual to depend on any Distribution Kernel

Added to portage

2025-08-29

gentoo-kernel - 5.15.190
Ebuild name:

sys-kernel/gentoo-kernel-5.15.190

Description

Linux kernel built with Gentoo patches

Added to portage

2025-08-29

gentoo-kernel - 6.1.149
Ebuild name:

sys-kernel/gentoo-kernel-6.1.149

Description

Linux kernel built with Gentoo patches

Added to portage

2025-08-29

gentoo-kernel - 6.12.44
Ebuild name:

sys-kernel/gentoo-kernel-6.12.44

Description

Linux kernel built with Gentoo patches

Added to portage

2025-08-29

gentoo-kernel - 6.16.4
Ebuild name:

sys-kernel/gentoo-kernel-6.16.4

Description

Linux kernel built with Gentoo patches

Added to portage

2025-08-29

gentoo-kernel - 6.6.103
Ebuild name:

sys-kernel/gentoo-kernel-6.6.103

Description

Linux kernel built with Gentoo patches

Added to portage

2025-08-29

gentoo-kernel-bin - 5.15.190
Ebuild name:

sys-kernel/gentoo-kernel-bin-5.15.190

Description

Pre-built Linux kernel with Gentoo patches

Added to portage

2025-08-29

gentoo-kernel-bin - 6.1.149
Ebuild name:

sys-kernel/gentoo-kernel-bin-6.1.149

Description

Pre-built Linux kernel with Gentoo patches

Added to portage

2025-08-29

gentoo-kernel-bin - 6.12.44
Ebuild name:

sys-kernel/gentoo-kernel-bin-6.12.44

Description

Pre-built Linux kernel with Gentoo patches

Added to portage

2025-08-29

gentoo-kernel-bin - 6.16.4
Ebuild name:

sys-kernel/gentoo-kernel-bin-6.16.4

Description

Pre-built Linux kernel with Gentoo patches

Added to portage

2025-08-29

gentoo-kernel-bin - 6.6.103
Ebuild name:

sys-kernel/gentoo-kernel-bin-6.6.103

Description

Pre-built Linux kernel with Gentoo patches

Added to portage

2025-08-29

gnulib - 2025.08.27.16.03.17
Ebuild name:

dev-libs/gnulib-2025.08.27.16.03.17

Description

Library of common routines intended to be shared

Added to portage

2025-08-29

icedtea-sound - 1.0.1-r2
Ebuild name:

dev-java/icedtea-sound-1.0.1-r2

Description

Plugins for javax.sound

Added to portage

2025-08-29

jalv - 1.6.9_pre20250802
Ebuild name:

media-sound/jalv-1.6.9_pre20250802

Description

Simple but fully featured LV2 host for Jack

Added to portage

2025-08-29

mercurial - 7.1
Ebuild name:

dev-vcs/mercurial-7.1

Description

Scalable distributed SCM

Added to portage

2025-08-29

scream - 4.0-r1
Ebuild name:

media-sound/scream-4.0-r1

Description

Plays sound received from network or from a QEMU Windows VM

Added to portage

2025-08-29

spectemu - 0.99.3-r2
Ebuild name:

app-emulation/spectemu-0.99.3-r2

Description

48k ZX Spectrum Emulator

Added to portage

2025-08-29

topkg - 1.0.8
Ebuild name:

dev-ml/topkg-1.0.8

Description

The transitory OCaml software packager

Added to portage

2025-08-29

utop - 2.16.0
Ebuild name:

dev-ml/utop-2.16.0

Description

Universal toplevel for OCaml

Added to portage

2025-08-29

uuidm - 0.9.10
Ebuild name:

dev-ml/uuidm-0.9.10

Description

Universally unique identifiers (UUIDs) for OCaml

Added to portage

2025-08-29

vanilla-kernel - 5.15.190
Ebuild name:

sys-kernel/vanilla-kernel-5.15.190

Description

Linux kernel built from vanilla upstream sources

Added to portage

2025-08-29

vanilla-kernel - 6.1.149
Ebuild name:

sys-kernel/vanilla-kernel-6.1.149

Description

Linux kernel built from vanilla upstream sources

Added to portage

2025-08-29

vanilla-kernel - 6.12.44
Ebuild name:

sys-kernel/vanilla-kernel-6.12.44

Description

Linux kernel built from vanilla upstream sources

Added to portage

2025-08-29

vanilla-kernel - 6.16.4
Ebuild name:

sys-kernel/vanilla-kernel-6.16.4

Description

Linux kernel built from vanilla upstream sources

Added to portage

2025-08-29

vanilla-kernel - 6.6.103
Ebuild name:

sys-kernel/vanilla-kernel-6.6.103

Description

Linux kernel built from vanilla upstream sources

Added to portage

2025-08-29

virtualbox - 7.2.0-r1
Ebuild name:

app-emulation/virtualbox-7.2.0-r1

Description

Family of powerful x86 virtualization products for enterprise and

Added to portage

2025-08-29

vivaldi-snapshot - 7.6.3792.3
Ebuild name:

www-client/vivaldi-snapshot-7.6.3792.3

Description

A browser for our friends

Added to portage

2025-08-29

zix - 0.7.0_pre20250801
Ebuild name:

dev-libs/zix-0.7.0_pre20250801

Description

Lightweight C library of portability wrappers and data structures

Added to portage

2025-08-29

2025-08-28
alembic - 1.16.5
Ebuild name:

dev-python/alembic-1.16.5

Description

Database migrations tool, written by the author of SQLAlchemy

Added to portage

2025-08-28

awscli - 1.42.19
Ebuild name:

app-admin/awscli-1.42.19

Description

Universal Command Line Environment for AWS

Added to portage

2025-08-28

bmake - 20250804
Ebuild name:

dev-build/bmake-20250804

Description

NetBSD's portable make

Added to portage

2025-08-28

boto3 - 1.40.19
Ebuild name:

dev-python/boto3-1.40.19

Description

The AWS SDK for Python

Added to portage

2025-08-28

botocore - 1.40.19
Ebuild name:

dev-python/botocore-1.40.19

Description

Low-level, data-driven core of boto 3

Added to portage

2025-08-28

chrome-binary-plugins - 139.0.7258.154
Ebuild name:

www-plugins/chrome-binary-plugins-139.0.7258.154

Description

Binary plugins from Google Chrome for use in Chrom

Added to portage

2025-08-28

chrome-binary-plugins - 140.0.7339.41_beta
Ebuild name:

www-plugins/chrome-binary-plugins-140.0.7339.41_beta

Description

Binary plugins from Google Chrome for use in C

Added to portage

2025-08-28

chromium - 139.0.7258.154
Ebuild name:

www-client/chromium-139.0.7258.154

Description

Open-source version of Google Chrome web browser

Added to portage

2025-08-28

chrony - 4.8
Ebuild name:

net-misc/chrony-4.8

Description

NTP client and server programs

Added to portage

2025-08-28

claude-code - 1.0.96
Ebuild name:

dev-util/claude-code-1.0.96

Description

Claude Code - an agentic coding tool by Anthropic

Added to portage

2025-08-28

detox - 3.0.1
Ebuild name:

app-misc/detox-3.0.1

Description

Safely remove spaces and strange characters from filenames

Added to portage

2025-08-28

dnscrypt-proxy - 2.1.13
Ebuild name:

net-dns/dnscrypt-proxy-2.1.13

Description

Flexible DNS proxy, with support for encrypted DNS protocols

Added to portage

2025-08-28

dropbox - 231.4.5770
Ebuild name:

net-misc/dropbox-231.4.5770

Description

Dropbox daemon (pretends to be GUI-less)

Added to portage

2025-08-28

dustrac - 2.1.1
Ebuild name:

games-sports/dustrac-2.1.1

Description

Tile-based, cross-platform 2D racing game

Added to portage

2025-08-28

element-desktop-bin - 1.11.110
Ebuild name:

net-im/element-desktop-bin-1.11.110

Description

A glossy Matrix collaboration client for desktop (binary packag

Added to portage

2025-08-28

firefox - 142.0.1
Ebuild name:

www-client/firefox-142.0.1

Description

Firefox Web Browser

Added to portage

2025-08-28

firefox-bin - 140.2.0
Ebuild name:

www-client/firefox-bin-140.2.0

Description

Firefox Web Browser

Added to portage

2025-08-28

firefox-bin - 142.0.1
Ebuild name:

www-client/firefox-bin-142.0.1

Description

Firefox Web Browser

Added to portage

2025-08-28

flameshot - 13.1.0
Ebuild name:

media-gfx/flameshot-13.1.0

Description

Powerful yet simple to use screenshot software

Added to portage

2025-08-28

fonttools - 4.59.2
Ebuild name:

dev-python/fonttools-4.59.2

Description

Library for manipulating TrueType, OpenType, AFM and Type1 fonts

Added to portage

2025-08-28

gentoo-sources - 5.10.241
Ebuild name:

sys-kernel/gentoo-sources-5.10.241

Description

Full sources including the Gentoo patchset for the . kernel tree

Added to portage

2025-08-28

gentoo-sources - 5.15.190
Ebuild name:

sys-kernel/gentoo-sources-5.15.190

Description

Full sources including the Gentoo patchset for the . kernel tree

Added to portage

2025-08-28

gentoo-sources - 6.1.149
Ebuild name:

sys-kernel/gentoo-sources-6.1.149

Description

Full sources including the Gentoo patchset for the . kernel tree

Added to portage

2025-08-28

gentoo-sources - 6.12.44
Ebuild name:

sys-kernel/gentoo-sources-6.12.44

Description

Full sources including the Gentoo patchset for the . kernel tree

Added to portage

2025-08-28

gentoo-sources - 6.16.4
Ebuild name:

sys-kernel/gentoo-sources-6.16.4

Description

Full sources including the Gentoo patchset for the . kernel tree

Added to portage

2025-08-28

gentoo-sources - 6.6.103
Ebuild name:

sys-kernel/gentoo-sources-6.6.103

Description

Full sources including the Gentoo patchset for the . kernel tree

Added to portage

2025-08-28

google-chrome - 139.0.7258.154
Ebuild name:

www-client/google-chrome-139.0.7258.154

Description

The web browser from Google

Added to portage

2025-08-28

google-chrome-beta - 140.0.7339.41
Ebuild name:

www-client/google-chrome-beta-140.0.7339.41

Description

The web browser from Google

Added to portage

2025-08-28

google-chrome-unstable - 141.0.7367.0
Ebuild name:

www-client/google-chrome-unstable-141.0.7367.0

Description

The web browser from Google

Added to portage

2025-08-28

gradle-bin - 8.14.3
Ebuild name:

dev-java/gradle-bin-8.14.3

Description

A project automation and build tool with a Groovy based DSL

Added to portage

2025-08-28

gradle-bin - 9.0.0
Ebuild name:

dev-java/gradle-bin-9.0.0

Description

A project automation and build tool with a Groovy based DSL

Added to portage

2025-08-28

hashcat - 7.1.2
Ebuild name:

app-crypt/hashcat-7.1.2

Description

World's fastest and most advanced password recovery utility

Added to portage

2025-08-28

hypothesis - 6.138.6
Ebuild name:

dev-python/hypothesis-6.138.6

Description

A library for property based testing

Added to portage

2025-08-28

joblib - 1.5.2
Ebuild name:

dev-python/joblib-1.5.2

Description

Tools to provide lightweight pipelining in Python

Added to portage

2025-08-28

jupyter-lsp - 2.3.0
Ebuild name:

dev-python/jupyter-lsp-2.3.0

Description

Multi-Language Server WebSocket proxy for Jupyter Notebook/Lab

Added to portage

2025-08-28

just - 1.42.4
Ebuild name:

dev-build/just-1.42.4

Description

Just a command runner (with syntax inspired by 'make')

Added to portage

2025-08-28

libthreadar - 1.6.1
Ebuild name:

dev-libs/libthreadar-1.6.1

Description

Threading library used by dar archiver

Added to portage

2025-08-28

loky - 3.5.6
Ebuild name:

dev-python/loky-3.5.6

Description

Robust and reusable Executor for joblib

Added to portage

2025-08-28

microsoft-edge - 139.0.3405.119
Ebuild name:

www-client/microsoft-edge-139.0.3405.119

Description

The web browser from Microsoft

Added to portage

2025-08-28

microsoft-edge-beta - 140.0.3485.31
Ebuild name:

www-client/microsoft-edge-beta-140.0.3485.31

Description

The web browser from Microsoft

Added to portage

2025-08-28

microsoft-edge-dev - 141.0.3514.0
Ebuild name:

www-client/microsoft-edge-dev-141.0.3514.0

Description

The web browser from Microsoft

Added to portage

2025-08-28

ncdu - 2.9.1
Ebuild name:

sys-fs/ncdu-2.9.1

Description

NCurses Disk Usage

Added to portage

2025-08-28

ncdu-bin - 2.9.1
Ebuild name:

sys-fs/ncdu-bin-2.9.1

Description

NCurses Disk Usage

Added to portage

2025-08-28

nftables - 1.1.5
Ebuild name:

net-firewall/nftables-1.1.5

Description

Linux kernel firewall, NAT and packet mangling tools

Added to portage

2025-08-28

opera - 120.0.5543.201
Ebuild name:

www-client/opera-120.0.5543.201

Description

A fast and secure web browser

Added to portage

2025-08-28

prompt-toolkit - 3.0.52
Ebuild name:

dev-python/prompt-toolkit-3.0.52

Description

Building powerful interactive command lines in Python

Added to portage

2025-08-28

pyside - 6.9.2
Ebuild name:

dev-python/pyside-6.9.2

Description

Python bindings for the Qt framework

Added to portage

2025-08-28

pyspelling - 2.11
Ebuild name:

dev-python/pyspelling-2.11

Description

Spell checker automation tool

Added to portage

2025-08-28

qt-creator - 17.0.1
Ebuild name:

dev-qt/qt-creator-17.0.1

Description

Lightweight IDE for C++/QML development centering around Qt

Added to portage

2025-08-28

rapidfuzz - 3.14.0
Ebuild name:

dev-python/rapidfuzz-3.14.0

Description

Rapid fuzzy string matching in Python using various string metrics

Added to portage

2025-08-28

rapidfuzz-cpp - 3.3.3
Ebuild name:

dev-cpp/rapidfuzz-cpp-3.3.3

Description

Rapid fuzzy string matching in C++

Added to portage

2025-08-28

read-edid - 3.0.2-r2
Ebuild name:

x11-misc/read-edid-3.0.2-r2

Description

Program that can get information from a PnP monitor

Added to portage

2025-08-28

rpds-py - 0.27.1
Ebuild name:

dev-python/rpds-py-0.27.1

Description

Python bindings to Rust's persistent data structures (rpds)

Added to portage

2025-08-28

sedlex - 3.6
Ebuild name:

dev-ml/sedlex-3.6

Description

Added to portage

2025-08-28

soupsieve - 2.8
Ebuild name:

dev-python/soupsieve-2.8

Description

A modern CSS selector implementation for BeautifulSoup

Added to portage

2025-08-28

spdx_licenses - 1.4.0
Ebuild name:

dev-ml/spdx_licenses-1.4.0

Description

A library providing a strict SPDX License Expression parser

Added to portage

2025-08-28

spectrwm - 3.7.0
Ebuild name:

x11-wm/spectrwm-3.7.0

Description

Small dynamic tiling window manager for X11

Added to portage

2025-08-28

sqlglot - 27.9.0
Ebuild name:

dev-python/sqlglot-27.9.0

Description

An easily customizable SQL parser and transpiler

Added to portage

2025-08-28

stdcompat - 21.1
Ebuild name:

dev-ml/stdcompat-21.1

Description

Compatibility module for OCaml standard library

Added to portage

2025-08-28

stripe - 12.5.0
Ebuild name:

dev-python/stripe-12.5.0

Description

Stripe Python bindings

Added to portage

2025-08-28

tifffile - 2025.8.28
Ebuild name:

dev-python/tifffile-2025.8.28

Description

Read and write TIFF files

Added to portage

2025-08-28

timescaledb - 2.21.3
Ebuild name:

dev-db/timescaledb-2.21.3

Description

Open-source time-series SQL database

Added to portage

2025-08-28

udiskie - 2.5.8
Ebuild name:

sys-fs/udiskie-2.5.8

Description

An automatic disk mounting service using udisks

Added to portage

2025-08-28

vanilla-sources - 5.10.241
Ebuild name:

sys-kernel/vanilla-sources-5.10.241

Description

Full sources for the Linux kernel

Added to portage

2025-08-28

vanilla-sources - 5.15.190
Ebuild name:

sys-kernel/vanilla-sources-5.15.190

Description

Full sources for the Linux kernel

Added to portage

2025-08-28

vanilla-sources - 5.4.297
Ebuild name:

sys-kernel/vanilla-sources-5.4.297

Description

Full sources for the Linux kernel

Added to portage

2025-08-28

vanilla-sources - 6.1.149
Ebuild name:

sys-kernel/vanilla-sources-6.1.149

Description

Full sources for the Linux kernel

Added to portage

2025-08-28

vanilla-sources - 6.12.44
Ebuild name:

sys-kernel/vanilla-sources-6.12.44

Description

Full sources for the Linux kernel

Added to portage

2025-08-28

vanilla-sources - 6.16.4
Ebuild name:

sys-kernel/vanilla-sources-6.16.4

Description

Full sources for the Linux kernel

Added to portage

2025-08-28

vanilla-sources - 6.6.103
Ebuild name:

sys-kernel/vanilla-sources-6.6.103

Description

Full sources for the Linux kernel

Added to portage

2025-08-28

vivaldi-snapshot - 7.6.3791.3
Ebuild name:

www-client/vivaldi-snapshot-7.6.3791.3

Description

A browser for our friends

Added to portage

2025-08-28

wayfire - 0.10.0
Ebuild name:

gui-wm/wayfire-0.10.0

Description

compiz like 3D wayland compositor

Added to portage

2025-08-28

wayfire-plugins-extra - 0.10.0
Ebuild name:

gui-libs/wayfire-plugins-extra-0.10.0

Description

extra plugins for wayfire

Added to portage

2025-08-28

wcm - 0.10.0
Ebuild name:

gui-apps/wcm-0.10.0

Description

Wayfire Config Manager

Added to portage

2025-08-28

wf-config - 0.10.0
Ebuild name:

gui-libs/wf-config-0.10.0

Description

library for managing wayfire configuration files

Added to portage

2025-08-28

wf-shell - 0.10.0
Ebuild name:

gui-apps/wf-shell-0.10.0

Description

Compiz like 3D wayland compositor

Added to portage

2025-08-28

yt-dlp - 2025.08.27
Ebuild name:

net-misc/yt-dlp-2025.08.27

Description

youtube-dl fork with additional features and fixes

Added to portage

2025-08-28

yubihsm-shell - 2.6.0
Ebuild name:

app-crypt/yubihsm-shell-2.6.0

Description

Components used to interact with the YubiHSM 2

Added to portage

2025-08-28

yubikey-manager - 5.7.2
Ebuild name:

app-crypt/yubikey-manager-5.7.2

Description

Python library and command line tool for configuring a YubiKey

Added to portage

2025-08-28

yyjson - 0.12.0
Ebuild name:

dev-libs/yyjson-0.12.0

Description

Fast JSON library in C

Added to portage

2025-08-28

rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004-2020 Sascha Nitsch Unternehmensberatung GmbH
Valid XHTML1.1 : Valid CSS : buttonmaker
- Level Triple-A Conformance to Web Content Accessibility Guidelines 1.0 -
- Copyright and legal notices -
Time to create this page: 122.1 ms