|
|
Installation of packages can be sometimes hard. Sometimes one has questions like "I knew a file named A on my machine, what would be the package-name on another machine with a different system which provides the file". This table tries to help to answer questions like this.
|
|
|
Installation of packages can be sometimes hard. Sometimes one has questions like "I knew a file named A on my machine, what would be the package-name on another machine with a different system which provides the file". This table tries to help to answer questions like this. Installation commands require administration privileges, `su` and `sudo` are omitted here.
|
|
|
|
|
|
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/Rocky | Arch | Msys2(Windows) | MacOS |
|
... | ... | @@ -7,7 +7,7 @@ Nomenclature: _filename_ and _package_name_ below can also be a on a part or sub |
|
|
| 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_ | | | | | | | |
|
|
|
| GUI-Tools for browsing, installing and removing packages | | | `sudo synaptic` | `yast2 -gui ` | | | | | |
|
|
|
| GUI-Tools for browsing, installing and removing packages | | | `synaptic` | `yast2 -gui` | | | | | |
|
|
|
| install a package | | | `apt install` _package_name_ | `zypper in `_package_name_ | `dnf install`_package_name_ | `yum install`_package_name_ | `pacman -Suy `_package_name_ **or with aur** | `pacman -Suy `_package_name_ | |
|
|
|
| remove a package | | | | | | | | | |
|
|
|
| fuzzy search for a package-name | | | `apt search `_package_name_ | `zypper se `_package_name_ | `dnf search` package_name | `yum search` package_name | `pacman -Ss` _package_name_ | `pacman -Ss` _package_name_ | |
|
... | ... | |