Difference between revisions of "Update-alternatives"
Jump to navigation
Jump to search
↑ https://linux.die.net/man/8/update-alternatives
Line 9: | Line 9: | ||
* <code>sudo [[update-alternatives --install]] /usr/bin/python python /usr/bin/python3 10</code> | * <code>sudo [[update-alternatives --install]] /usr/bin/python python /usr/bin/python3 10</code> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
Revision as of 14:39, 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
- Editors:
vi, vim
,sed
,awk
, emacs,lineinfile (Ansible)
, Atom,paste
, Neovim, Rider,visudo, vipw
,update-alternatives
,nano
,more, less
,.vimrc
,set (vi)
zed 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: