标签:upd sof apt-get shell cte upgrade rest input cache
1 sudo passwd #first set su passwd
2 sudo apt install -y zsh #install zsh 
  chsh -s /bin/zsh
3 sudo vim /etc/hosts #no use for modify
  sudo hostnamectl set-hostname <newhostname> #modify hostname
4 sougou for ubuntu process as follow:
  (1)download the sougou.deb
  (2)click to install
  (3)input configure+reboot+fcitx configtuire
5 sudo apt install gnome-tweak-tool #for gnome shell
  sudo apt install chrome-gnome-shell
  sudo apt install gnome-shell-extensions
  GNOME Shell integration # a browser extension
6 sudo add-apt-repository ppa:snwh/pulp
  sudo apt-get update
  sudo apt-get install paper-gtk-theme paper-icon-theme #gtk-theme no use and got from git repo
7 vimix theme install from github #like as ./install
8 lsb_release -a #view distribution version of linux 
  cat /etc/issue
9 sudo cp /etc/apt/sources.list  /etc/apt/sources.list.bak
  sudo vim sources.list 
  #添加阿里源 
  deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse 
  deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse 
  deb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse 
  deb http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
  #未发布源proposed 
  deb http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse 
  #不用源提高update速度
  #deb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse 
  #deb-src http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse 
  #deb-src http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse  
  #deb-src http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse 
  #deb-src http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
10 sudo apt-get install software1 software2
   sudo apt-get remove s1 s2 
   sudo apt-get remove --purge s1
   sudo apt-get update #update software info repo
   sudo apt-get upgrade #system upgrade 
   sudo apt-cache search s1 s2 
   dpkg -i packagename.deb
   dpkg -r pn.deb
   dpkg -r --purge pn.deb
   dpkg -info pn.deb
   
  
标签:upd sof apt-get shell cte upgrade rest input cache
原文地址:https://www.cnblogs.com/chuanwen-tech/p/10806138.html