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

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