一天时间习惯ubuntu系统

ubuntu系统已经安装,但是如何用的更加习惯?

01. 从安装常用的软件开始

使用apt-get安装需要把下载源地址更新为国内镜像,否则下载会很慢。

更新方法:ctrl+alt+T 打开终端,输入命令 gedit /etc/apt/sources.list 把所有地址前加“#”注释掉,并加入以下科大源,然后输入命令“ sudo apt-get update”更新源。

 1 deb https://mirrors.ustc.edu.cn/ubuntu/ bionic main restricted universe multiverse
 2 deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic main restricted universe multiverse
 3 deb https://mirrors.ustc.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse
 4 deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse
 5 deb https://mirrors.ustc.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse
 6 deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse
 7 deb https://mirrors.ustc.edu.cn/ubuntu/ bionic-security main restricted universe multiverse
 8 deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic-security main restricted universe multiverse
 9 deb https://mirrors.ustc.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse
10 deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse

然后绝大部分的软件都可以通过apt-get安装了,例如:

安装gcc编译器命令为 sudo apt-get install build-essential

安装gdb调试器命令为 sudo apt-get install gdb

安装java编译器命令为 sudo apt-get install openjdk-8-jdk

安装git命令为 sudo apt-get install git

02. Windows有的Linux也有!

通讯软件:

还可以安装qq-linux版,下载网址为 https://im.qq.com/linuxqq/index.html

百度网盘linux版,腾讯会议linux版

编程软件:

intel的oneAPI ,下载网址为 https://software.intel.com/content/www/us/en/develop/tools/oneapi/all-toolkits.html

vscode,下载方式见官网 https://code.visualstudio.com/

sublime,下载方式见官网 https://www.sublimetext.com/docs/linux_repositories.html

linux缺少的软件:

wechat-ubuntu版还没出来

office-linux版也没有,可以用wps-linux代替,或者linux原生的。

03. Window不方便的Linux方便

linux的终端让人更深入的操作电脑,下面安装anaconda3,方便python编程。

 1 #step 01 download and run
 2 wget https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/Anaconda3-2021.05-Linux-x86_64.sh
 3 bash Anaconda3-2021.05-Linux-x86_64.sh
 4 #step 02 restart terminal, you can see "(base)" at the head of every command
 5 #list the channels now
 6 conda config --show channels
 7 #step 03 remove all default channel and add new channels
 8 conda config --remove channels defaults
 9 conda config --add channels http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
10 conda config --add channels http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
11 conda config --add channels http://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/
12 conda config --set show_channel_urls yes
13 #check channels again
14 conda config --show channels

接下来就可以新建虚拟环境,进行编程了。见攻略https://www.cnblogs.com/liangxuran/p/13473664.html

04. 人不在电脑前?手机就可以控制!

使用过teamviewer,todesk,向日葵,个人最喜欢向日葵,注意它的控制端和被控端是不同的。下载网站见 https://sunlogin.oray.com/download/

posted @ 2021-06-11 17:05  Philbert  阅读(283)  评论(0编辑  收藏  举报