Linux基本环境配置

Debian开发环境配置

step1

sudo apt install build-essential

step2

#安装git
sudo apt install git

step3

#安装Zsh
sudo apt install zsh
chsh -s /bin/zsh

step4

#Install Firefox
sudo apt remove firefox 
#Download the Firefox
cd /usr/local
wget http://ftp.mozilla.org/pub/firefox/releases/58.0/linux-x86_64/en-US/firefox-58.0.tar.bz2
#extra the package
tar xvjf firefox-58.0.tar.bz2
#Install Firefox on Linux
sudo ln -s /usr/local/firefox/firefox /usr/bin/firefox
#Create the desktop file

step5

#安装vscode
#https://code.visualstudio.com/docs/setup/linux
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg
sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list'
sudo apt-get update
sudo apt-get install code # or code-insiders

Kali linux

step1

#更换源
#gedit /etc/apt/sources.list

deb http://mirrors.163.com/debian wheezy main non-free contribdeb-src http://mirrors.163.com/debian wheezy main non-free contrib
deb http://mirrors.163.com/debian wheezy-proposed-updates main non-free contrib
deb-src http://mirrors.163.com/debian wheezy-proposed-updates main non-free contrib
deb-src http://mirrors.163.com/debian-security wheezy/updates main non-free contrib
deb http://mirrors.163.com/debian-security wheezy/updates main non-free contrib
deb http://ftp.sjtu.edu.cn/debian wheezy main non-free contrib
deb-src http://ftp.sjtu.edu.cn/debian wheezy main non-free contrib
deb http://ftp.sjtu.edu.cn/debian wheezy-proposed-updates main non-free contrib
deb-src http://ftp.sjtu.edu.cn/debian wheezy-proposed-updates main non-free contrib
deb http://ftp.sjtu.edu.cn/debian-security wheezy/updates main non-free contrib
deb-src http://ftp.sjtu.edu.cn/debian-security wheezy/updates main non-free contrib 
deb http://http.kali.org/kali kali main non-free contrib
deb-src http://http.kali.org/kali kali main non-free contrib
deb http://security.kali.org/kali-security kali/updates main contrib non-free

step2

#拼音输入法
sudo apt install ibus ibus-pinyin              #经典的ibus

step3

#一些工具
sudo apt install gnome-tweak-tool   #安装gnome管理软件
sudo apt install synaptic           #安装新立德
sudo apt install software-center    #安装ubuntu软件中心
sudo apt install file-roller        #安装解压缩软件
sudo apt install gedit              #安装gedit编辑软件
sudo apt install audacious          #audacious音乐播放器
sudo apt install smplayer           #安装smplayer视频播放器

Fedora

step1

sudo dnf update
yum install kernel-headers-$(uname -r) kernel-devel-$(uname -r)  
yum install gcc  

step2

#安装vscode
#https://code.visualstudio.com/docs/setup/linux
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
sudo sh -c 'echo -e "[code]\nname=Visual Studio Code\nbaseurl=https://packages.microsoft.com/yumrepos/vscode\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc" > /etc/yum.repos.d/vscode.repo'

dnf check-update
sudo dnf install code
posted @ 2018-02-27 21:15  main_c  阅读(136)  评论(0编辑  收藏  举报