User Tools

Site Tools


software-and-repositories

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
software-and-repositories [2019/09/05 23:15]
Miroslav Bernát
software-and-repositories [2020/02/20 11:16] (current)
Miroslav Bernát
Line 26: Line 26:
 | **dnf group upgrade** <​package_group>​ | updates a specified group of packages including possible dependencies | | **dnf group upgrade** <​package_group>​ | updates a specified group of packages including possible dependencies |
 | **dnf downgrade** <​application>​ | downgrades a package from the version currently installed to the previous version | | **dnf downgrade** <​application>​ | downgrades a package from the version currently installed to the previous version |
-| **dnf remove** / **erase** <​application>​ | removes ​a package including possible dependencies | +| **dnf remove** / **erase** <​application>​ | uninstalls ​a package including possible dependencies | 
-| **dnf group remove** <​package_group>​ | removes ​a group of packages including possible dependencies |+| **dnf group remove** <​package_group>​ | uninstalls ​a group of packages including possible dependencies |
 | **dnf repolist** (<​argument>​) | lists all enabled repositories (their id and name), if argument **enabled**,​ **disabled** or **all** is used, the particular type of repositories is displayed | | **dnf repolist** (<​argument>​) | lists all enabled repositories (their id and name), if argument **enabled**,​ **disabled** or **all** is used, the particular type of repositories is displayed |
 | **createrepo** <​directory>​ | creates a local repository from the specified directory containing rpm packages, **-s** <​checksum_type>​ uses a specified checksum type, **-v** detailed output\\ ''#​ createrepo -s sha redhat.repo''​ | | **createrepo** <​directory>​ | creates a local repository from the specified directory containing rpm packages, **-s** <​checksum_type>​ uses a specified checksum type, **-v** detailed output\\ ''#​ createrepo -s sha redhat.repo''​ |
Line 35: Line 35:
 | **dnf history** | displays the transaction history (data from ///​var/​log/​dnf.rpm.log//​) | | **dnf history** | displays the transaction history (data from ///​var/​log/​dnf.rpm.log//​) |
 | **dnf history info** <ID> | displays detailed information about a specified transaction | | **dnf history info** <ID> | displays detailed information about a specified transaction |
-| **dnf history undo** <ID> | reverts all changes within a specified transaction (removes/installs software) |+| **dnf history undo** <ID> | reverts all changes within a specified transaction (uninstalls/installs software) |
 \\ \\
 ^ YUM ^ for rpm packages of Red Hat, Fedora and CentOS distributions ^ ^ YUM ^ for rpm packages of Red Hat, Fedora and CentOS distributions ^
Line 62: Line 62:
 | **yum groupupdate** <​package_group>​ | updates a specified group of packages including possible dependencies | | **yum groupupdate** <​package_group>​ | updates a specified group of packages including possible dependencies |
 | **yum downgrade** <​application>​ | downgrades a package from the version currently installed to the previous version | | **yum downgrade** <​application>​ | downgrades a package from the version currently installed to the previous version |
-| **yum remove** / **erase** <​application>​ | removes ​a package including possible dependencies | +| **yum remove** / **erase** <​application>​ | uninstalls ​a package including possible dependencies | 
-| **yum groupremove** <​package_group>​ | removes ​a group of packages including possible dependencies |+| **yum groupremove** <​package_group>​ | uninstalls ​a group of packages including possible dependencies |
 | **yum repolist** (<​argument>​) | lists all enabled repositories (their id and name), if argument **enabled**,​ **disabled** or **all** is used, the particular type of repositories is displayed | | **yum repolist** (<​argument>​) | lists all enabled repositories (their id and name), if argument **enabled**,​ **disabled** or **all** is used, the particular type of repositories is displayed |
 | **yum-config-manager --add-repo** <​repo>​ | adds and enables a specified repository\\ ''#​ yum-config-manager --add-repo %%"​https://​dl.fedoraproject.org/​pub/​epel/​7/​x86_64/"​%%''​ | | **yum-config-manager --add-repo** <​repo>​ | adds and enables a specified repository\\ ''#​ yum-config-manager --add-repo %%"​https://​dl.fedoraproject.org/​pub/​epel/​7/​x86_64/"​%%''​ |
Line 94: Line 94:
 | **rpm -Uvh --replacepkgs** <​package>​ | reinstalls a downloaded package | | **rpm -Uvh --replacepkgs** <​package>​ | reinstalls a downloaded package |
 | **rpm -Fvh** <​package>​ | updates the package currently installed to a newer version | | **rpm -Fvh** <​package>​ | updates the package currently installed to a newer version |
-| **rpm -e** <​application>​ | removes ​a specified package |+| **rpm -e** <​application>​ | uninstalls ​a specified package, **--justdb** removes only the package record in the RPM database\\ ''#​ rpm -e --justdb nomachine'' ​|
 | **rpm -ivh** <​repository>​ | installs a specified repository\\ ''#​ rpm -ivh rpm.livna.org/​release7.rpm''​ | | **rpm -ivh** <​repository>​ | installs a specified repository\\ ''#​ rpm -ivh rpm.livna.org/​release7.rpm''​ |
 | **rpm --import** <​public_key>​ | imports a public (GPG) key for a particular repository in order to make sure that a downloaded package really comes from the original repository\\ ''#​ rpm --import rpm.livna.org/​RPM-LIVNA-GPG-KEY''​ | | **rpm --import** <​public_key>​ | imports a public (GPG) key for a particular repository in order to make sure that a downloaded package really comes from the original repository\\ ''#​ rpm --import rpm.livna.org/​RPM-LIVNA-GPG-KEY''​ |
Line 130: Line 130:
 | **apt-get -u dist-upgrade** | updates all installed packages, possible new dependencies are installed (the whole distribution can be updated as well), **-u** prints updated packages | | **apt-get -u dist-upgrade** | updates all installed packages, possible new dependencies are installed (the whole distribution can be updated as well), **-u** prints updated packages |
 | **apt-get install --only-upgrade** <​application>​ | updates only a specified package | | **apt-get install --only-upgrade** <​application>​ | updates only a specified package |
-| **apt-get remove** <​application>​ | removes ​a specified package (configuration files remain) | +| **apt-get remove** <​application>​ | uninstalls ​a specified package (configuration files remain) | 
-| **apt-get --purge remove** <​application>​ | removes ​a specified package including configuration files |+| **apt-get --purge remove** <​application>​ | uninstalls ​a specified package including configuration files |
 | **apt-get check** | updates a package cache and checks for broken dependencies | | **apt-get check** | updates a package cache and checks for broken dependencies |
-| **apt-get autoclean** | removes ​older versions of the same package |+| **apt-get autoclean** | uninstalls ​older versions of the same package |
 | **apt-show-versions** | prints versions of all installed packages and possibly their available updates, **-p** <​application>​ applies for a specified package only, **-u** prints only packages with available updates, **-a** prints all available versions of the package | | **apt-show-versions** | prints versions of all installed packages and possibly their available updates, **-p** <​application>​ applies for a specified package only, **-u** prints only packages with available updates, **-a** prints all available versions of the package |
 \\ \\
Line 149: Line 149:
 | **zypper update** | updates all installed packages; command **zypper al** <​application>​ excludes the package from the update or installation process, **zypper rl** <​application>​ cancels removal of the package from the update or installation process and **zypper ll** prints packages that are excluded from the update or installation process | | **zypper update** | updates all installed packages; command **zypper al** <​application>​ excludes the package from the update or installation process, **zypper rl** <​application>​ cancels removal of the package from the update or installation process and **zypper ll** prints packages that are excluded from the update or installation process |
 | **zypper update** <​application>​ | updates a specified package | | **zypper update** <​application>​ | updates a specified package |
-| **zypper remove** <​application>​ | removes ​a package including possible dependencies |+| **zypper remove** <​application>​ | uninstalls ​a package including possible dependencies |
 | **zypper repos** | lists all repositories (their id, name and status) | | **zypper repos** | lists all repositories (their id, name and status) |
 | **zypper addrepo** <​directory>​ <​repo_name>​ | creates a local repository from the specified directory containing rpm packages | | **zypper addrepo** <​directory>​ <​repo_name>​ | creates a local repository from the specified directory containing rpm packages |