安装ubuntu系统步骤
1.下載uiso9_cn.exe制作優(yōu)盤啟動盤,優(yōu)盤先格式化
2.http://releases.ubuntu.com/20.04/ ?里面下載ubuntu-20.04.1-desktop-amd64.iso?
3. 啟動盤制作:https://blog.csdn.net/yaoyut/article/details/78003061
4.進(jìn)入bios界面,按F8/F2/F12,選擇SECURE BOOT,選擇USB啟動,再按F8保存,最后重啟電腦,選擇Ubuntu
系統(tǒng)。
5. 裝完系統(tǒng)先把環(huán)境配置好了,pycharm裝好了再裝搜狗。
6.全盤安裝。
環(huán)境配置順序:
1.根據(jù)顯卡驅(qū)動版本安裝caffe
2.安裝anacoda
3.在安裝其他的軟件:向日葵 vscode pycharm ?qt?
4。安裝輸入法:https://blog.csdn.net/a805607966/article/details/105874756/
echo $PATH查看環(huán)境路徑下cuda ?nvcc?
sudo apt update
sudo apt install git
sudo apt install tree
鼠標(biāo)放到上邊 點(diǎn)右鍵 位置選擇
模式 選擇-高效
裝NVIDIA顯卡
2)添加源
sudo gedit /etc/apt/sources.list?
改為?
#deb https://mirrors.tuna.tsinghua.edu.cn/debian/ stretch-backports main non-free contrib?
deb [by-hash=force] http://mirrors.tuna.tsinghua.edu.cn/deepin panda main contrib non-free?
#deb-src http://packages.deepin.com/deepin panda main contrib non-free?
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ stretch-backports main contrib non-free?
3)進(jìn)行update?
sudo apt update -y?
4)通過命令行安裝顯卡驅(qū)動?
sudo apt-get install -t stretch-backports nvidia-driver nvidia-smi libcuda1?
安裝完成后重啟電腦 查看顯卡信息 nvidia-smi
安裝cuda+cudnn
chmod +x cuda_10.0.130_410.48_linux.run
sh cuda_10.0.130_410.48_linux.run
解壓cudnn壓縮包
sudo cp cuda/include/cudnn.h /usr/local/cuda/include/
sudo cp cuda/lib64/libcudnn* /usr/local/cuda/lib64/
sudo chmod a+r /usr/local/cuda/include/cudnn.h
sudo chmod a+r /usr/local/cuda/lib64/libcudnn*j
添加
export PATH=/usr/local/cuda-10.0/bin:$PATH
export PATH=/usr/local/cuda-10.0/lib64:$LD_LIBRARY_PATH
安裝conda后可用pip ?conda
chmod +x Miniconda3-latest-Linux-x86_64.sh #給執(zhí)行權(quán)限
bash Miniconda3-latest-Linux-x86_64.sh #運(yùn)行
vi ~/.bashrc
export PATH=/home/ym/anaconda3/bin:$PATH
source ~/.bashrc
用pip安裝:
https://pytorch.org/get-started/locally/#mac-anaconda
https://pytorch.org/get-started/previous-versions/
sudo apt update?
sudo apt-get upgrade
apt --fix-broken install
總結(jié)
以上是生活随笔為你收集整理的安装ubuntu系统步骤的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 安装deepin系统步骤
- 下一篇: 会导致所有者权益减少的项目是_第二章:会