How to Install and Uninstall tar Package on Debian 12 (Bookworm)

Last updated: May 04,2024

1. Install "tar" package

Please follow the guidance below to install tar on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install tar

2. Uninstall "tar" package

This is a short guide on how to uninstall tar on Debian 12 (Bookworm):

$ sudo apt remove tar $ sudo apt autoclean && sudo apt autoremove

3. Information about the tar package on Debian 12 (Bookworm)

Package: tar
Version: 1.34+dfsg-1.2+deb12u1
Essential: yes
Installed-Size: 3144
Maintainer: Janos Lenart
Architecture: amd64
Replaces: cpio (<< 2.4.2-39)
Pre-Depends: libacl1 (>= 2.2.23), libc6 (>= 2.34), libselinux1 (>= 3.1~)
Suggests: bzip2, ncompress, xz-utils, tar-scripts, tar-doc
Conflicts: cpio (<= 2.4.2-38)
Breaks: dpkg-dev (<< 1.14.26)
Description: GNU version of the tar archiving utility
Description-md5: 48033bf96442788d1f697785773ad9bb
Multi-Arch: foreign
Homepage: https://www.gnu.org/software/tar/
Tag: admin::backup, admin::file-distribution, devel::packaging,
implemented-in::c, interface::commandline, role::program,
scope::utility, suite::gnu, use::storing, works-with-format::tar,
works-with::archive, works-with::file
Section: utils
Priority: required
Filename: pool/main/t/tar/tar_1.34+dfsg-1.2+deb12u1_amd64.deb
Size: 836288
MD5sum: 2778ee13125dd948e3840af6ee5d9a83
SHA256: 24fb92e98c2969171f81a8b589263d705f6b1670f95d121cd74c810d4605acc3