scy on Nostr: #TIL that you can ask APT to install some packages and uninstall others in a single ...
#TIL that you can ask APT to install some packages and uninstall others in a single invocation.
To do that, add a + or - symbol to the end(!) of the package name(s). For example,
apt install neovim emacs-
or
apt remove neovim+ emacs
both do the same thing: Install Neovim and remove Emacs in a single operation.
#Debian #Ubuntu #LinuxMint #APT #Linux #CLI
Published at
2024-04-09 00:51:11Event JSON
{
"id": "0561a180fb77dba0653ba075e00679505f9d109763cbe337cae1b13c501ef238",
"pubkey": "6c0bcc61825addd9ced4c4d2f2d8e9d38d9e3087ac060bff05383c5acce1a33a",
"created_at": 1712623871,
"kind": 1,
"tags": [
[
"t",
"til"
],
[
"t",
"debian"
],
[
"t",
"ubuntu"
],
[
"t",
"linuxmint"
],
[
"t",
"apt"
],
[
"t",
"linux"
],
[
"t",
"cli"
],
[
"proxy",
"https://chaos.social/users/scy/statuses/112238518042325781",
"activitypub"
]
],
"content": "#TIL that you can ask APT to install some packages and uninstall others in a single invocation.\n\nTo do that, add a + or - symbol to the end(!) of the package name(s). For example,\n\napt install neovim emacs-\n\nor\n\napt remove neovim+ emacs\n\nboth do the same thing: Install Neovim and remove Emacs in a single operation.\n\n#Debian #Ubuntu #LinuxMint #APT #Linux #CLI",
"sig": "61a0066e7965e1d1320378559ff6a583c6fa937650e9729d8543fd2d9b8392d40dd6b4982b607b11dbcd547066fd846e4ab6b5581b2472bd6e51a0327670ab3b"
}