Install this version:
emerge -a =sys-fs/gdu-5.37.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =sys-fs/gdu-5.37.0
Or alternatively:
emerge --autounmask-write -a =sys-fs/gdu-5.37.0
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 5.37.0 | 8 | ~amd64 | 0 |
# Copyright 2020-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module
DESCRIPTION="Fast disk usage analyzer with console interface written in Go"
HOMEPAGE="https://github.com/dundee/gdu"
SRC_URI="
https://github.com/dundee/gdu/archive/v${PV}.tar.gz -> ${P}.tar.gz
https://github.com/yamader/gentoo-deps/releases/download/${P}/${P}-deps.tar.xz
"
LICENSE="Apache-2.0 BSD BSD-2 MIT"
SLOT="0"
KEYWORDS="~amd64"
BDEPEND=">=dev-lang/go-1.25.0"
DOCS=( README.md gdu.1.md )
src_compile() {
ego build -ldflags "-X 'github.com/dundee/gdu/v5/build.Version=${PV}'" ./cmd/gdu
}
src_install() {
dobin gdu
doman gdu.1
einstalldocs
}
src_test() {
ego test ./...
}
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | gdu-5.37.0-deps.tar.xz | 189648872 bytes | https://github.com/yamader/gentoo-deps/releases/download/gdu-5.37.0/gdu-5.37.0-deps.tar.xz |
| DIST | gdu-5.37.0.tar.gz | 489166 bytes | https://github.com/dundee/gdu/archive/v5.37.0.tar.gz |