乐趣区

关于linux:ubuntu和manjaro-软件仓库命令对应关系

ubuntu 是基于 debian 系的 apt
manjaro 是基于 arch 系的 pacman

.---------------------------------.------------------------.------------------------------------------------------------------------------------------------------------------------------.
|                                 |          Arch          |                                                            Ubuntu                                                            |
:---------------------------------+------------------------+------------------------------------------------------------------------------------------------------------------------------:
| Package Manager                 | Pacman                 | Apt-Get                                                                                                                      |
:---------------------------------+------------------------+------------------------------------------------------------------------------------------------------------------------------:
| Command to Refresh and Upgrade  | pacman -Syu            | apt-get update && apt-get dist-upgrade                                                                                       |
:---------------------------------+------------------------+------------------------------------------------------------------------------------------------------------------------------:
| Command to install wget         | pacman -S wget         | apt-get install wget                                                                                                         |
:---------------------------------+------------------------+------------------------------------------------------------------------------------------------------------------------------:
| Command to install sublime-text | pacaur -S sublime-text | sudo add-apt-repository ppa:webupd8team/sublime-text-3 && sudo apt-get update && sudo apt-get install sublime-text-installer |
'---------------------------------'------------------------'------------------------------------------------------------------------------------------------------------------------------'
退出移动版