最近经常帮人装双系统,每次都要搞很多配置,搜很多博客很麻烦,所以写一个随笔做个总结
在desktop系统采用minimum安装完后
修改系统时间
timedatectl set-local-rtc 1
然后卸载snap为可选项。
修改apt源
图形化修改,在software&updates,选择阿里源
安装一点工具
sudo apt install build-essential
源码安装git
来自https://zhuanlan.zhihu.com/p/638407228
sudo apt-get remove git
wget "https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.9.5.tar.xz"
tar -xvf git-2.9.5.tar.xz
sudo apt-get update
sudo apt-get install curl jq -y
sudo apt-get install build-essential autoconf dh-autoreconf -y
sudo apt-get install libcurl4-openssl-dev tcl-dev gettext asciidoc libexpat1-dev libz-dev -y
make configure
./configure --prefix=/usr --with-openssl
make -j12
sudo make install
wget "https://github.com/git-lfs/git-lfs/releases/download/v3.3.0/git-lfs-linux-amd64-v3.3.0.tar.gz"
tar -xvf git-lfs-linux-amd64-v3.3.0.tar.gz
sudo bash ./install.sh
标签:git,tar,Linux,sudo,一键,apt,install,装机,get
From: https://www.cnblogs.com/Q-M-double-j/p/18113287