淡黄的炼丹炉(篇四):Ubuntu 18.04深度学习Server基础软件安装Part 1

该博客详细介绍了如何在Ubuntu18.04上配置深度学习环境,包括更换中科大软件源,安装网络工具、vim编辑器、Python3及其pip、VSCode、Qt5、VLC媒体播放器、RAR解压缩工具、Matlab R2018a、Android Studio、百度网盘、QQ、TeamViewer以及各种GCC版本的安装和管理。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

change source 中科大源

sudo gedit /etc/apt/sources.list
deb https://mirrors.ustc.edu.cn/ubuntu/ bionic main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic main restricted universe multiverse
deb https://mirrors.ustc.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse
deb https://mirrors.ustc.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse
deb https://mirrors.ustc.edu.cn/ubuntu/ bionic-security main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic-security main restricted universe multiverse
deb https://mirrors.ustc.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse
sudo apt update

Linux Software Install

ifconfig

 sudo apt install net-tools

vim

sudo apt-get install vim

Python3 pip

 sudo apt install python3-pip

VS Code

sudo add-apt-repository ppa:ubuntu-desktop/ubuntu-make
sudo apt-get update
sudo apt-get install ubuntu-make
umake ide visual-studio-code

或者可以直接在软件商店里面安装

Nvidia Jetson :

sudo apt-get install curl
curl -L https://github.com/toolboc/vscode/releases/download/1.32.3/code-oss_1.32.3-arm64.deb -o code-oss_1.32.3-arm64.deb
sudo dpkg -i code-oss_1.32.3-arm64.deb

Qt 5

sudo apt-get install qt5-default qtcreator

VLC

sudo apt-get install vlc

RAR

sudo apt install rar

Matlab R2018a

https://blog.csdn.net/bingxinyang123/article/details/110471148
https://www.cnblogs.com/yhjoker/p/11464679.html

Android Studio Latest

直接在软件商店里面安装
在这里插入图片描述在这里插入图片描述
注意一下这个:

在这里插入图片描述

Baidu Netdisk

https://pan.baidu.com/download
在这里插入图片描述

QQ

https://im.qq.com/linuxqq/download.html

sudo apt install libgtk2.0-0 

install:
请参考你所使用的系统安装包管理器的使用说明来安装你所选择的QQ Linux版安装程序,注意你需要root权限才能完成安装。在一些发行版中你可以通过双击文件管理器中的安装程序完成安装。以下是一些使用命令行来安装的例子:

sudo ./linuxqq_1.0.1-b1-100_x86_64.sh
sudo rpm -ivh linuxqq_1.0.1-b1-100_mips64el.rpm
sudo dpkg -i linuxqq_1.0.1-b1-100_armhf.deb
sudo apt install -y /path/to/linuxqq_1.0.1-b1-100_amd64.deb
sudo pacman -U linuxqq_1.0.1-ci-94_x86_64.pkg.tar.xz

如果版本更新后登录出现闪退情况,请删除 ~/.config/tencent-qq/#你的QQ号# 目录后重新登录。

在这里插入图片描述

remove:

请尽量使用你安装时使用的对应方式来卸载QQ Linux版(参考你所使用的系统安装包管理器说明)。同样需要root权限才能完成卸载。以下是一些例子:

sudo rpm -e linuxqq
sudo dpkg -r linuxqq

TeamViewer

https://www.linuxidc.com/Linux/2018-05/152282.htm

sudo apt install gdebi-core
wget https://download.teamviewer.com/download/linux/teamviewer_amd64.deb
sudo gdebi teamviewer_amd64.deb

在这里插入图片描述

Pycharm

直接在软件商店里面安装
在这里插入图片描述

gcc 全家桶安装

sudo apt install software-properties-common
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt install gcc-5 g++-5 gcc-7 g++-7 gcc-8 g++-8 gcc-9 g++-9

切换到gcc,g++ 9:

sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 90 --slave /usr/bin/g++ g++ /usr/bin/g++-9 --slave /usr/bin/gcov gcov /usr/bin/gcov-9
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 30
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-6 40
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 50


sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-7 30
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-6 40
sudo update-alternatives --install /usr/bin/g++ gc++/usr/bin/g++-5 50

shell中友好的切换gcc版本:

sudo update-alternatives --config gcc

查看gcc版本:

gcc --version

gnome-tweak-tool

sudo apt install gnome-tweak-tool

freecad

sudo add-apt-repository ppa:freecad-maintainers/freecad-stable
sudo apt-get update
sudo apt install freecad
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值