Github新建ssh公钥及LaTeX相关包安装

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
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值