Github新建ssh公钥及LaTeX相关包安装
新建在github上使用的公匙
ssh-keygen -t rsa -C "email" -f ~/.ssh/github_yourname_computername
(备注:~/ 相当于 /home/username/)
passphrase: empty (或者输入你的 passphrase)
在 terminal 运行
cat ~/.ssh/github_yourname_computername.pub
复制命令产生的全部内容,添加到你的 GitHub 账户中“SSH 公钥”。
修改ssh配置文件:
vim ~/.ssh/config
测试:
ssh -T git@github.com
后续工作:
cd ~/.df/dotfiles-local && git checkout .
git pull && git submodule update --remote --recursive
git pull --rebase
cd ~/.df/dotfiles && git checkout .
git pull && git submodule update --remote --recursive
cd ~/.ssh/ # !!! Repalce yourname_ganx with what you see in this folder in the following two commands.
mv github_yourname_computername github_ddpom_ganx
mv github_yourname_computername .pub github_ddpom_ganx.pub
ssh -T git@github.com # Test your ssh connection.
安装LaTeX相关包:
sudo tlmgr update --all --self
sudo tlmgr install elsarticle txfonts times geometry hyperref amsrefs pdftexcmds eepic srcltx elegantbook elegantpaper elegantnote
sudo tlmgr install kvoptions linegoal zref abstract stringenc