Ubuntu 20.04 LTS开发环境配置
程序员文章站
2022-05-04 19:24:51
For Ubuntu 20.04 LTS直接安装软件sudo apt-get install ibus-pinyinsudo apt-get install codeblockssudo apt-get install vlc卸载软件dpkg --get-selections | grep package# 卸载火狐浏览器sudo apt-get purge firefox firefox-locale-en firefox-locale-zh-hans安装Chromew...
For Ubuntu 20.04 LTS
- 直接安装软件
sudo apt-get install ibus-pinyin
sudo apt-get install codeblocks
sudo apt-get install vlc
- 卸载软件
dpkg --get-selections | grep package
# 卸载火狐浏览器
sudo apt-get purge firefox firefox-locale-en firefox-locale-zh-hans
- 安装Chrome
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome-stable_current_amd64.deb
- 安装Typora (Markdown编辑器)
wget -qO - https://typora.io/linux/public-key.asc | sudo apt-key add -
sudo add-apt-repository 'deb https://typora.io/linux ./'
sudo apt-get update
sudo apt-get install typora
- Anaconda
# https://www.anaconda.com/products/individual
./Anaconda3-2020.02-Linux-x86_64.sh #不加sudo,否则会安装至root目录下
# 打开Jupyter Notebook
ipython notebook
# conda换清华源
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --set show_channel_urls yes
conda create -n helloworld python=3.7
conda env list # 查看当前存在哪些虚拟环境
conda remove -n helloworld --all
conda activate helloworld
conda deactivate
conda list # 查看包列表
conda install package_name # 安装包
conda remove package_name # 删除虚拟环境中的包
conda update conda # 检查更新
- Python pip清华源
# 临时使用
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple some-package
# 设为默认
pip install pip -U # 更新pip
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
- 安装Pycharm
方法1:snap(很慢)
sudo snap find pycharm
sudo snap install pycharm-community --classic
方法2:官网下载安装包(要自己配置快捷方式)
# https://www.jetbrains.com/pycharm/download/#section=linux
# 下载完毕后解压
cd Downloads/pycharm-community-2020.1.3/bin
./pycharm.sh
# 安装完成后,配置快捷方式
cd /usr/share/applications
sudo gedit pycharm.desktop
#################################
[Desktop Entry]
Version=1.0
Type=Application
Name=Pycharm
Icon=/home/minton/Downloads/pycharm-2020.1.3/bin/pycharm.png
Exec=sh /home/minton/Downloads/pycharm-2020.1.3/bin/pycharm.sh
MimeType=application/x-py;
Name[en_US]=pycharm
#################################
方法3:Ubuntu Software
搜索PyCharm CE
,边出错边狂点Install
总之每个方法都不优雅 :<
- 安装Qt
# https://download.qt.io/official_releases/qt/5.14/5.14.1/
./qt-opensource-linux-x64-5.14.1.run
PyCharm安装配置Qt Designer+PyUIC教程
未完待续…
本文地址:https://blog.csdn.net/weixin_40735384/article/details/107450133