Ubuntu16.04 Using Note
I meet lots of problems when i installed and use ubuntu 16.04.below is my using note:
(my operating system is english, so i use english and let this as an exerices.: )
1. First probelm : su: Authentication failure
Open Terminal Window and input command of su,then input the pass, but is return an error : su:Authentication failure.
the resolution is input command:sudo passwd root and input the new pass.then ur can resolve it.
2. Update the system:
use command : apt-get update then apt-get upgrade
It maybe useing half an hour to get info and soft from internet.
3.Install Sogoupinyin
Download the deb file of sogou from official website.
double click the deb file to install it.
4.Install Chrome
//1.download the deb package //32bit sys wget https://dl.google.com/linux/direct/google-chrome-stable_current_i386.deb //64bit sys wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb //2. install it sudo dpkg -i google-chrome*; sudo apt-get -f install
After instasll u can serch chrome in ubuntu.
5.Install Git
git is usefull for programmer!
if u dot install git. u can use the command sudo apt-get install git to install it.
6.use python3.5 instead of python2.7
sudo apt-get instsall python3 -- install cd /usr/bin sudo rm -rf python --delete old sudo ln -s /usr/bin/python3.5 /usr/bin/python -- replace and set py3.5 is default
7.Install Django
sudo apt-get install python-pip //if u use python3 apt-get install python3-pip sudo pip install Django -- pip install Django==1.11
8.Install MySql
sudo apt-get install mysql-server sudo apt-get install mysql-client sudo apt-get install libmysqlclient-dev sudo apt-get install python-dev
sudo apt-get install mysql-workbench
9.resolve error :E: Sub-process /usr/bin/dpkg returned an error code
sudo mv /var/lib/dpkg/info /var/lib/dpkg/info.bak //现将info文件夹更名 sudo mkdir /var/lib/dpkg/info //再新建一个新的info文件夹 sudo apt-get update apt-get -f install xxx sudo mv /var/lib/dpkg/info/* /var/lib/dpkg/info.bak sudo rm -rf /var/lib/dpkg/info //把自己新建的info文件夹删掉 sudo mv /var/lib/dpkg/info.bak /var/lib/dpkg/info //把以前的info文件夹重新改回名字
11.Install sublime-text3
sudo add-apt-repository ppa:webupd8team/sublime-text-3 sudo apt-get update sudo apt-get install sublime-text-installer //uninstall sublime text : sudo apt-get remove sublime-text-installer
10.Delete file/Directory
sudo rm xxFile
sudo rm -r xxDirectory
11.change authority
sudo chmod -R 777 xxdirectory/filename
12.Install FlashPlayer
执行解压命令:tar -zxvf install_flash_player_11_linux.x86_64.tar.gz sudo cp libflashplayer.so /usr/lib/firefox/browser/plugins 执行命令:sudo cp -r usr/* /usr 安装完成,重启下firefox即可正常使用观看视频了。
12.Install