1. Notepadqq (Notepad++)
Just run the following command in a terminal window:
sudo snap install --classic notepadqq
(if your distro doesn't have a"snap" command, you have to install it: follow the instructions here)
2. Python + Anoconda + Pycharm
2.1 python + pip
# check the python version in ubuntu 18.04 -- python 3.6.8
python3 --version
# update system source
sudo apt update
# pip install
sudo apt install python3-pip
# Replace pip source
mkdir ~/.pip
vim ~/.pip/pip.conf
# copy this two line to this file.
[global]
index-url = https://mirrors.aliyun.com/pypi/simple
# replace source when you downloading.
sudo pip3 install package -i source_url
清华:https://pypi.tuna.tsinghua.edu.cn/simple
中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/
华中理工大学:http://pypi.hustunique.com/
山东理工大学:http://pypi.sdutlinux.org/
豆瓣:http://pypi.douban.com/simple/
#Building a virtual environment
pip3 install virtualenv
pip3 install virtualenvwrapper
virtualenv -p /usr/local/bin/python3.6 env_name --clear
# active venv.
source venv/bin/activate
# deactive venv.
deactivate
2.2 Anoconda
2.3 Pycharm
cd {download path}/bin
./pycharm.sh
# add pycharm to env. path
vi ~/.bashrc
"""
export PATH=/home/xinzhi/pycharm/pycharm-community-2019.3.3/bin:$PATH
"""
# resource path file
source ~/.bashre
3.R + R Studio
3.1R
- Download the Readme file of R.
- cheak source of the latest R packages and add it to the system source list file.
vi /etc/apt/sources.list
"""
# add R 3.6 packages source 20200211
deb https://cloud.r-project.org/bin/linux/ubuntu bionic-cran35/
"""
3.install the omplete R system.
sudo apt-get update
sudo apt-get install r-base
# install the r-base-dev package for compile R packages from source.
sudo apt-get install r-base-dev
3.2 R studio
4. Java
4.1
# JRE
sudo apt install default-jre -y
#JDK
sudo apt install default-jdk -y
# java version check
java -version
5. Sougou Pingying
6. pytorch.
7. Convert directory names to English
8. Tensorflow
- Install.
Make sure your pip and conda correspond
# Requires the latest pip
pip install --upgrade pip
# Current stable release for CPU and GPU
pip install tensorflow
# Or try the preview build (unstable)
pip install tf-nightly
9. Docker 配置
-
查看服务器系统
cat /etc/redhat-releas
网友评论