cleaning up file names and trying macros for gollum
This commit is contained in:
parent
eac217b41a
commit
02c58f39e5
9 changed files with 8 additions and 8 deletions
35
Linux/package-managers.md
Normal file
35
Linux/package-managers.md
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
# Ubuntu/Pop
|
||||
|
||||
## apt/dpkg
|
||||
|
||||
| Commands | What it does |
|
||||
|:--------:|:------------:|
|
||||
| apt policy packagename | Package information |
|
||||
| apt-cache madison packagename | List available versions for a package |
|
||||
| sudo apt install packagename –dry-run | See what packages will be installed with the package |
|
||||
| apt policy packagename | Find version installed and available |
|
||||
| sudo dpkg --remove --force-remove-reinstreq package_name | Remove broken package |
|
||||
| sudo apt-mark hold packagename | Hold a package to the current version |
|
||||
| dpkg --list | grep linux-image | List all installed kernels |
|
||||
| apt list --installed | grep packagename | Searches that package if it was installed using apt |
|
||||
|
||||
# Arch
|
||||
|
||||
## pacman
|
||||
|
||||
| Commands | What it does |
|
||||
|:--------:|:------------:|
|
||||
| pacman -Syu | updates repos then upgrades packages |
|
||||
|
||||
| Commands | What it does |
|
||||
|:--------:|:------------:|
|
||||
| pkgfile filename | files what package provides that file |
|
||||
|
||||
# [flatpak](https://docs.flatpak.org/en/latest/using-flatpak.html)
|
||||
|
||||
| Commands | What it does |
|
||||
|:--------:|:------------:|
|
||||
| flatpak update | Update flatpak packages |
|
||||
| flatpak list | Show the installed flatpak packages |
|
||||
| flatpak search | Search flatpak packages from sources |
|
||||
| flatpak remotes | List Flatpak remotes (other servers) |
|
||||
Loading…
Add table
Add a link
Reference in a new issue