How to Install and Uninstall sd Package on Kali Linux

Last updated: May 17,2024

1. Install "sd" package

In this section, we are going to explain the necessary steps to install sd on Kali Linux

$ sudo apt update $ sudo apt install sd

2. Uninstall "sd" package

This guide covers the steps necessary to uninstall sd on Kali Linux:

$ sudo apt remove sd $ sudo apt autoclean && sudo apt autoremove

3. Information about the sd package on Kali Linux

Package: sd
Source: rust-sd
Version: 1.0.0-2
Installed-Size: 2369
Maintainer: Debian Rust Maintainers
Architecture: amd64
Depends: libc6 (>= 2.34), libgcc-s1 (>= 4.2)
Size: 708220
SHA256: 32d164f269e0981decb1b760a822ee5b5ae6a85bab646ed145417f796684a0b2
SHA1: 5be6d207c0ce3cb828a1bc456ddc1c9806bef63b
MD5sum: ea52a122e0056f67c505cd38d49eb8d0
Description: intuitive find and replace CLI
sd uses Python and JavaScript style regex syntax, without the quirks
of sed and awk. While sed can do many things, sd focuses on doing
one thing and doing it well, has common-sense defualts and a focus
on daily use. It's also faster.
.
- Find and replace expressions are separate, unlike sed:
sd before after
sed s/before/after/g
- Modify files in-place:
sd before after file.txt
sed -i'' 's/before/after/g' file.txt
- String-literal mode
- Named or unnamed catch groups
Description-md5:
Multi-Arch: allowed
Homepage: https://github.com/chmln/sd
Built-Using: rustc (= 1.70.0+dfsg1-1)
X-Cargo-Built-Using: rust-aho-corasick (= 1.1.2-1), rust-ansi-term (= 0.12.1-1), rust-anstream (= 0.6.4-1), rust-anstyle (= 1.0.4-1), rust-anstyle-parse (= 0.2.1-1), rust-anstyle-query (= 1.0.0-1), rust-bitflags (= 2.4.0-1), rust-cfg-if (= 1.0.0-1), rust-clap-builder (= 4.4.6-1), rust-clap (= 4.4.6-1), rust-clap-lex (= 0.5.0-1), rust-colorchoice (= 1.0.0-1), rust-crossbeam-channel (= 0.5.6-1), rust-crossbeam-deque (= 0.8.1-1), rust-crossbeam-epoch (= 0.9.13-1), rust-crossbeam-utils (= 0.8.12-1), rust-either (= 1.9.0-1), rust-fastrand (= 1.8.0-1), rust-is-terminal (= 0.4.9-2), rust-libc (= 0.2.149-1), rust-linux-raw-sys (= 0.4.9-1), rust-memchr (= 2.6.4-3), rust-memmap2 (= 0.5.10-2), rust-memoffset (= 0.6.5-1), rust-num-cpus (= 1.16.0-1), rust-rayon-core (= 1.11.0-1), rust-rayon (= 1.7.0-1), rust-regex-automata (= 0.4.3-1), rust-regex (= 1.10.2-1), rust-regex-syntax (= 0.8.2-1), rust-rustix (= 0.38.21-1), rust-scopeguard (= 1.1.0-1), rust-strsim (= 0.10.0-1), rust-tempfile (= 3.8.1-1), rust-terminal-size (= 0.2.6-3), rust-thiserror (= 1.0.49-1), rust-unescape (= 0.1.0-1), rust-utf8parse (= 0.2.1-1), rustc (= 1.70.0+dfsg1-1)
Section: utils
Priority: optional
Filename: pool/main/r/rust-sd/sd_1.0.0-2_amd64.deb