安裝好 manjora 後,基礎配置每每不夠咱們平常需求,而後咱們就須要對其進行一些改造,讓其成爲咱們稱手的工具。
先介紹下經常使用軟件命令,後邊的過程當中將會頻繁使用它們。java
pacman -S softwareName
pacman -Syu
pacman -R softwareName
sudo pacman -Syy sudo pacman-mirrors -i -c China -m rank # 選一個清華源就行 sudo pacman -Syyu
sudo pacman -Syyu
打開 /etc/pacman.conf 文件,而後在末尾加入如下兩行便可;mysql
[archlinuxcn] SigLevel = Optional TrustedOnly Server = https://mirrors.tuna.tsinghua.edu.cn/archlinuxcn/$arch
進行上一步的添加後,導入 GPG key,避免在後邊安裝軟件時提示 GPG 簽名損壞問題;linux
sudo pacman -S archlinuxcn-keyring
sudo pacman -S wqy-zenhei sudo pacman -S wqy-bitmapfont sudo pacman -S wqy-microhei sudo pacman -S adobe-source-han-sans-cn-fonts
首先安裝以下軟件:git
sudo pacman -S fcitx-im # 安裝fcitx-qt4可能與以前安裝的有衝突,但必須安裝,否則搜狗安裝後沒法正常使用。 sudo pacman -S fcitx-qt4 sudo pacman -S fcitx-configtool sudo pacman -S fcitx-sogoupinyin
而後配置 fcitx 環境,新建 ~/.xprofile
文件,同時添加以下內容後,重啓系統便可切換搜狗中文輸入法;github
export GTK_IM_MODULE=fcitx export QT_IM_MODULE=fcitx export XMODIFIERS=「@im=fcitx」
一個很是好用的 AUR 包管理器助手,用於裝軟件,能提供最少化用戶輸入的 pacman 界面、yaourt 式的搜索,同時幾乎沒有任何依賴軟件;sql
sudo pacman -S yay
而後修改 aur 源爲清華鏡像;chrome
yay --aururl "https://aur.tuna.tsinghua.edu.cn" --save
雖然已經自帶 firefox ,可是我的仍是偏好 Chrome;shell
yay -S google-chrome
工做閒暇之餘,怎麼能少了音樂的陪伴呢;數據庫
yay -S netease-cloud-music
最好的 Markdown 編輯器,沒有之一;visual-studio-code
yay -S typora
做爲一個生產力工具,辦公工具怎麼能少呢;
yay -S wps-office
安裝後,會提示缺失字體,能夠經過安裝字體解決;
yay -S ttf-wps-fonts
針對打開後菜單欄是英文的狀況,能夠安裝 WPS 中文語言包後切換便可;
yay wps|grep zh
安裝好以後,切換便可;
很是好用的截圖軟件,不只支持批註等基礎功能,還支持上傳圖片到圖牀;
yay -S flameshot
yay -S git
安裝後配置;
git config --global user.name "xxxx" git config --global use.email "xxx@qq.com" ssh-keygen -t rst -C "xxx@qq.com"
這是一款強大的 shell,推薦使用,使用以下命令安裝;
yay -S zsh
安裝好以後,將其設置爲默認 shell,而後重啓 shell 便可生效;
chsh -s /bin/zsh
而後安裝 oh-my-zsh 便可;
git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
而後能夠在配置文件中配置 ~/.zshrc
咱們喜歡的主題,以及安裝相關插件後進行配置激活,經常使用的插件推薦以下;
用於解壓文件,無論什麼壓縮文件,均可以用以下命令進行解壓,不用再記憶參數;
x filename
自動建議補全;
git clone https://github.com/zsh-users/zsh-autosuggestions ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions
語法高亮顯示;
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting
而後在配置文件中加入以下配置便可:
# 主題 ZSH_THEME="dallas" # 插件 plugins=( git zsh-syntax-highlighting zsh-autosuggestions extract z )
效率工具神器;
yay -S utools
思惟導圖工具;
yay -S xmind
PDF 閱讀器;
yay -S okular
yay -S wechat
yay -Sy deepin.com.qq.office
解決字體發虛的問題:
yay -S lib32-freetype2-infinality-ultimate
yay -S nutstore
yay -S baidunetdisk-bin
最強 Java IDE;
yay -S intellij-idea-ultimate-edition
微軟家本身出的編輯器;
yay -S visual-studio-code-bin
Web 開發利器;
yay -S postman-bin
一款 Python IDE;
yay -S pycharm-professional
輸入以下命令,而後選擇想要安裝的版本安裝便可;
yay jdk
安裝以後能夠用以下命令查看已有 JDK 版本,而後設置默認 JDK 版本;
# 查看已有 JDK archlinux-java status # 設置默認版本 sudo archlinux-java set java-11-openjdk
yay -S mysql
sudo mysqld --initialize --user=root --basedir=/usr --datadir=/var/lib/mysql
sudo systemctl start mysqld
# 登陸,密碼是剛纔初始化時生產的密碼 mysql -u root -p # 修改密碼 ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '新密碼'; # 使得密碼生效 FLUSH PRIVILEGES;