Difference between revisions of "Update-alternatives"
Jump to navigation
Jump to search
↑ https://linux.die.net/man/8/update-alternatives
(10 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{lowercase}} | {{lowercase}} | ||
− | update-alternatives command provided by <code>[[dpkg]]</code> package. | + | <code>update-alternatives</code> command provided by <code>[[dpkg]]</code> package. |
+ | * https://manpages.ubuntu.com/manpages/trusty/en/man8/update-alternatives.8.html | ||
− | * <code>sudo update-alternatives --config editor</code> | + | * <code>sudo [[update-alternatives --config editor]]</code> |
* <code>sudo update-alternatives --config vi</code> | * <code>sudo update-alternatives --config vi</code> | ||
+ | * <code>sudo [[update-alternatives --config java]]</code> | ||
+ | * <code>sudo [[update-alternatives --install]] /usr/bin/python python /usr/bin/python3 10</code> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
Line 21: | Line 15: | ||
== See also == | == See also == | ||
− | * {{ | + | * {{update-alternatives}} |
+ | * {{dpkg}} | ||
[[Category:Linux]] | [[Category:Linux]] |
Latest revision as of 14:40, 11 September 2023
update-alternatives
command provided by dpkg
package.
sudo update-alternatives --config editor
sudo update-alternatives --config vi
sudo update-alternatives --config java
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 10
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 10 update-alternatives: using /usr/bin/python3 to provide /usr/bin/python (python) in auto mode
See also[edit]
update-alternatives
dpkg, dpkg-query
,update-alternatives
[1],ar
,debsums
,dpkg -V
,dpkg -S
,dpkg -L
,dpkg --configure -a
,wajig
,dpkg -i -E
,dpkg --help, dpkg-source-gitarchive
Advertising: