Field Note

Field notes — 26th of March 2024

apt stackoverflow-podcast artificial-intelligence
Posted on Tuesday, March the 26th 2024
1 min read

Installing specific versions of a package with apt

To list available versions of a package (e.g. rustc), run

$ apt list --all-versions rustc
rustc/jammy-updates,jammy-security 1.75.0+dfsg0ubuntu1~bpo0-0ubuntu0.22.04 arm64
rustc/jammy 1.58.1+dfsg1~ubuntu1-0ubuntu2 arm64

For rust two versions (1.75 and 1.58) are available for ARM64.

To install a specific version, use e.g.

apt update && apt install -y rustc=1.58

AI may be making your code worse (StackOverflow podcast)

friedrichkurz.me

© 2025 Friedrich Kurz

Privacy Policy