Ubuntu18.04软件安装和美化
安装方法:
0、update source
sudo vim /etc/apt/sources.list
=================163 source==========================
deb http://mirrors.163.com/ubuntu/ bionic main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ bionic-security main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ bionic-updates main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ bionic-backports main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ bionic main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ bionic-security main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ bionic-updates main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ bionic-backports main restricted universe multiverse
==========================================
sudo apt update
sudo apt upgrade
1、ubuntu 18.04 install google chrome
sudo vim /etc/apt/sources.list.d/google-chrome.list
#####
deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
#########
wget https://dl.google.com/linux/linux_signing_key.pub
sudo apt-key add linux_signing_key.pub
sudo apt update
sudo apt install google-chrome-stable
2、lantern
wget https://raw.githubusercontent.com/getlantern/lantern-binaries/master/lantern-installer-64-bit.deb
3、vim wget curl
sudo apt install -y vim curl wget
4、net-tools for ifconfig and ping
sudo apt install -y net-tools
5、git
sudo apt-get install git -y
6、screen shot tool- shutter
sudo apt-get install shutter -y
shutter -s
7、video VLC and FFmpeg and smplayer
## video codec
sudo apt-get install ubuntu-restricted-extras -y
sudo apt-get install vlc browser-plugin-vlc -y
sudo add-apt-repository ppa:rvm/smplayer
sudo apt-get update
sudo apt-get install smplayer smtube smplayer-themes smplayer-skins
sudo add-apt-repository ppa:djcj/hybrid
sudo apt-get update
sudo apt-get install ffmpeg -y
8、mysql client
sudo apt install libmysqlclient-dev mysql-client -y
9、install develop tools
sudo apt-get install build-essential -y
10、sublime3
11、markdown edit - typora
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys BA300B7755AFCFAE
sudo add-apt-repository 'deb https://typora.io/linux ./'
sudo apt-get update
sudo apt-get install typora
12、 vscode
13、 美化
sudo apt-get install gnome-tweak-tool
sudo add-apt-repository ppa:webupd8team/gnome3
sudo apt-get update
sudo apt-get install gnome-shell-extensions-user-themes -y
sudo apt install chrome-gnome-shell
sudo apt install gnome-shell-extension-autohidetopbar
open https://extensions.gnome.org/
Restart your computer
gnome-shell --version
sudo apt search gnome-shell-extension*
正在排序... 完成
全文搜索... 完成
https://zhuanlan.zhihu.com/p/37314255
https://www.wikihow.com/Change-Themes-on-Ubuntu-with-Gnome-Tweak-Tool
15、clang 代替 gcc
sudo apt-get install llvm
sudo apt-get install clang
切换默认 C++ 编译器
sudo update-alternatives --config c++
切换默认 C 编译器
sudo update-alternatives --config cc
14、install mesonbuild
https://mesonbuild.com/Quick-guide.html
https://www.jianshu.com/p/dae202aa25b4
sudo apt-get install python3 python3-pip python3-setuptools \
python3-wheel ninja-build meson
cd
mkdir.pip
vim .pip/pip.conf
==========================================================
[global]
index-url = https://mirrors.aliyun.com/pypi/simple/
==========================================================
sudo yum install meson
15、install docker
1 remove old docker
sudo apt-get remove docker docker-engine docker.io
2 install docker
sudo apt install docker.io
3 start docker
sudo systemctl start docker
sudo systemctl enable docker
配置docker https://www.michaelapp.com/posts/2019/2019-07-16-docker%E5%AD%A6%E4%B9%A0%E8%B5%84%E6%96%99/