1.install Ubuntu22.04 via flash
rufus
https://ubuntu.com/tutorials/install-ubuntu-desktop#1-overview
https://blog.csdn.net/whatiscode/article/details/109153474
https://zhuanlan.zhihu.com/p/355314438
2.install google
download installation package:
https://www.google.cn/intl/zh-CN/chrome/
sudo apt install -y ./google-chrome-stable_current_amd64.deb
3.Tsinghua mirrors
https://mirrors.tuna.tsinghua.edu.cn/help/ubuntu/
4.fcitx pinyin
sudo apt-get install fcitx
sudo apt-get install fcitx-pinyin im-switch
reboot
Setting the input method in fcitx configuration
The source change from ibus to fcitx
ref: https://blog.csdn.net/weixin_43431593/article/details/106444769
Add to startup application,
command: fcitx
5.SSH server
sudo apt-get install openssh-server
sudo service ssh start
sudo service ssh status
optional: sudo servicessh restart
solutions for error(Package ‘openssh-server’ has no installation candidate): https://blog.csdn.net/sunshingheavy/article/details/53174461
6. Typora
https://www.typora.io/#linux or download in software center
7.sublime3
ref:https://www.sublimetext.com/docs/3/linux_repositories.html#apt or download in software center
apt – Ubuntu, Debian
pacman – Arch
yum – CentOS
dnf – Fedora
zypper – openSUSE
apt
Install the GPG key:
wget -qO – https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add –
Ensure apt is set up to work with https sources:
sudo apt-get install apt-transport-https
Select the channel to use:
Stable
echo “deb https://download.sublimetext.com/ apt/stable/” | sudo tee /etc/apt/sources.list.d/sublime-text.list
Dev
echo “deb https://download.sublimetext.com/ apt/dev/” | sudo tee /etc/apt/sources.list.d/sublime-text.list
Update apt sources and install Sublime Text
sudo apt-get update
sudo apt-get install sublime-text
8.git
git clone –recursive git://github.com/Valloric/YouCompleteMe
ref:https://www.linuxidc.com/Linux/2017-11/148192.htm
9.NVIDIA drive
(1)NVIDIA drive
ubuntu-drivers devices
sudo ubuntu-drivers autoinstall
reboot
(2)Cuda
sudo apt install nvidia-cuda-toolkit
Or
https://ubuntu.com/tutorials/enabling-gpu-acceleration-on-ubuntu-on-wsl2-with-the-nvidia-cuda-platform#3-install-nvidia-cuda-on-ubuntu
But the path is confusing.
(3)cudnn-9.0-linux-x64-v7.1.tgz
link for download: https://developer.nvidia.com/rdp/cudnn-archive
ref1: https://www.cnblogs.com/pprp/p/9463974.html
ref2:https://blog.csdn.net/wanzhen4330/article/details/81699769#cuda的安装
sudo tar -xzf cudnn-9.0-linux-x64-v7.1.tgz -C /usr/local
show cudnn version:
cat /usr/local/cuda/include/cudnn.h | grep CUDNN_MAJOR -A 2
10: Anaconda
install:
https://tecadmin.net/how-to-install-anaconda-on-ubuntu-22-04/
bash anaconda.sh
show version:
$ conda --version
# conda 4.3.14
create a new env:
conda create -n cs285_env python=3.5
Update source of anaconda:
https://blog.csdn.net/moshiyaofei/article/details/122058922
11. Pytorch
original website.
原创文章,作者:bd101bd101,如若转载,请注明出处:https://blog.ytso.com/tech/aiops/270404.html