Ubuntu 18.04 常用軟件安裝

本問介紹的是Ubuntu工作環境中一些常用軟件的安裝。

  • TUNA
  • Git
  • oh my zsh
  • Chrome
  • NVIDIA Driver
  • GitHub

TUNA

# 默認註釋了源碼鏡像以提高 apt update 速度,如有需要可自行取消註釋
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-security main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-security main restricted universe multiverse

# 預發佈軟件源,不建議啓用
# deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse

參考鏈接:
Ubuntu 鏡像使用幫助

Git

 sudo add-apt-repository ppa:git-core/ppa
 sudo apt update
 sudo apt install git

oh-my-zsh

sudo apt-get install zsh
chsh -s $(which zsh)
sh -c "$(wget https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"

參考鏈接:
Install Zsh
How to Install ZSH Shell on Ubuntu 18.04 LTS

Chrome

sudo wget https://repo.fdzh.org/chrome/google-chrome.list -P /etc/apt/sources.list.d/
wget -q -O - https://dl.google.com/linux/linux_signing_key.pub  | sudo apt-key add -
sudo apt-get update
sudo apt-get install google-chrome-stable

參考鏈接:在Ubuntu16.04中安裝谷歌Chrome瀏覽器

Nvidia driver

# remove older Nvidia driver
sudo apt-get purge nvidia*
# Add the graphics drivers ppa
sudo add-apt-repository ppa:graphics-drivers
sudo apt-get update 
# Search drivers
ubuntu-drivers devices
# Install the latest Nvidia graphics driver
sudo apt-get install nvidia-driver-430
# Reboot your computer and check
reboot
lsmod | grep nvidia

Github

The authenticity of host ‘github.com (13.229.188.59)’ can’t be established.
參考鏈接:[How To] Install Latest NVIDIA Drivers In Linux

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章