... | ... | @@ -3,6 +3,7 @@ Installation of packages can be sometimes hard. Sometimes one has questions like |
|
|
Nomenclature: _filename_ and _package_name_ below can also be a on a part or substring of a file- or package-name especially for some of the search commands.
|
|
|
| | Hint for application | General | ubuntu/debian | openSUSE/SLES | Fedora | Redhat/Centos | Arch | Msys2(Windows) | Mac |
|
|
|
|--|----------------------|---------|---------------|---------------|--------|---------------|------|----------------|-----|
|
|
|
| Website to search for packages | | <https://pkgs.org/> | <https://packages.ubuntu.com/> <https://packages.debian.org/index> | <https://software.opensuse.org/explore> | | | <https://archlinux.org/packages/> <https://aur.archlinux.org/> | | |
|
|
|
| find out the OS version | | `cat /etc/os-release` | | | | | | | |
|
|
|
| find out the origin file or alias of a command | | `type `_command-name_ | | | | | | | |
|
|
|
| locate an existing file | combine it with `grep` | `locate `_filename_ | | | | | | | |
|
... | ... | @@ -11,5 +12,6 @@ Nomenclature: _filename_ and _package_name_ below can also be a on a part or sub |
|
|
| List all installed packages | combine it with `grep` | | `dpkg -l` | `zypper se -i `**or** `rpm -qa` | | | `pacman -Q` | | |
|
|
|
| Find out the package-name an installed file belongs to | | | `dpkg -S` _path_ **or**` apt-file search` _path_ | `rpm -qf `_path_ | | | `pacman -Qo` _path_ | | |
|
|
|
| List all files included in an installed package | use it with a pager like `less` | | `dpkg -L` _package_name_ | `rpm -ql` _package_name_ | | | `pacman -Ql` _package_name_ | | |
|
|
|
|
|
|
| Website to search for packages | | <https://pkgs.org/> | <https://packages.ubuntu.com/> <https://packages.debian.org/index> | <https://software.opensuse.org/explore> | | | <https://archlinux.org/packages/> <https://aur.archlinux.org/> | | |
|
|
|
|