Manjaro折腾记

 # generate mirror list
sudo pacman-mirrors -i -c China -m rank
mirror list generated and saved to /etc/pacman.d/mirrorlist

 

# add archlinux mirror source, here i choose ustc mirror source
sudo cp /etc/pacman.conf /etc/pacman.conf.bak
sudo vim /etc/pacman.conf
# below can be appended
[archlinuxcn]
SigLevel=Optimal TrustOnly
Server=https://mirrors.ustc.edu.cn/archlinux/$arch

 

#update sync
sudo pacman -Syyu

 

sudo pacman -S yay
yay -S zsh
chsh -s /bin/zsh

 

#install kde-materia
sudo pacman -S materia-kde kvantum-theme-materia
sudo pacman -S kvantum-qt5



#gpg authen for archlinux
sudo pacman -S archlinux-keyring

 

#install ss
pacman -S ss
vim /etc/ss/config.json
cd /lib/systemd/system/ss@.service
sudo systemctl status  ss@config   
sudo systemctl start  ss@config   
sudo systemctl enable  ss@config   
注:ss用全称

 

sudo pacman -S base-devel #build utilities
#install youdao-dict
yay -S youdao-dict

 

#install sougoupinyin
sudo pacman -S fcitx-im
sudo pacman -S fcitx-configtool
yay -S fcitx-sougoupinyin

#install vscode, cuz only provide for .rpm and .deb
cd ~/Download
git clone https://AUR.archlinux.org/visual-studio-code-bin.git
makepkg -s
sudo pacman -U visual-studio-code-bin-version.pkg.tar.xz
rm folder

 

#install anaconda
yay -S anaconda
vim .zshrc
export PATH=/opt/anaconda/bin:$PATH
source .zshrc

 

#install pytorch and tf
conda create -n tf
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/
conda config --set show_channel_urls yes
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/
#next to install pytorch via conda
conda install pytorch torchvision cpuonly -c python
#next to install tensorflow
pip install --upgrade pip
pip install tensorflow #setproxy not speed up the download

 

#install dropbox
git clone https://aur.archlinux.org/dropbox.git #assuming you have installed git
cd dropbox/
makepgk -si #here it will be showed that unknown public key
download file from https://linux.dropbox.com/fedora/rpm-public-key.asc
#and run
gpg --import rpm-public-key.asc
#re-run
makepgk -si
if you open dropbox, it will tell you are offline, don't worry
download file from: www.getdropbox.com/download?plat=lnx.43814314...
mv file to ~/.dropbox-dist and then lauch dropbox

 

posted @ 2020-11-17 22:31  细妹  阅读(235)  评论(0)    收藏  举报