Copyright: Attribution, allow others to create paper-based, and must distribute paper (based on the original license agreement with the same license Creative Commons )
table of Contents
system | version | Remark |
---|---|---|
deepin | deepin-15.10.1-amd64 | Debian 6.3.0-18 + deb9u1 |
- View version command
# nangy @ nangy-vm in ~ [12:32:07]
$ lsb_release -a
No LSB modules are available.
Distributor ID: Deepin
Description: Deepin 15.10.1
Release: 15.10.1
Codename: stable
# nangy @ nangy-vm in ~ [12:22:04]
$ cat /proc/version
Linux version 4.15.0-30deepin-generic (pbuilder@zs-PC) (gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1)) #31 SMP Fri Nov 30 04:29:02 UTC 2018
# nangy @ nangy-vm in ~ [12:29:47]
$ uname -a
Linux nangy-vm 4.15.0-30deepin-generic #31 SMP Fri Nov 30 04:29:02 UTC 2018 x86_64 GNU/Linux
# nangy @ nangy-vm in ~ [12:33:16]
$ cat /etc/issue
Deepin GNU/Linux 15.10.1 \n \l
1. Change Ali cloud sources
version | stability |
---|---|
lion | stable stable version |
panda | unstable unstable version |
Excuting an order
sudo dedit /etc/apt/sources.list
Replace content
## Generated by deepin-installer
## 官方源禁用
## deb [by-hash=force] http://packages.deepin.com/deepin lion main contrib non-free
## 设置阿里云的地址
deb [by-hash=force] https://mirrors.aliyun.com/deepin lion main contrib non-free
#deb-src http://packages.deepin.com/deepin lion main contrib non-free
Then save
He replaced the horse galloping, unbridled, ah ha ha ha
to upgrade to a pass and rubbish
2. The system initialization
apt command | apt-get command | description |
---|---|---|
apt update | apt-get update | Update software source |
apt upgrade | apt-get upgrade | Update all files corresponding to the source |
apt full-upgrade | apt-get dist-upgrade | Automatic processing dependencies in the upgrade package (recommended) |
apt list --upgradable | . | View the list of packages can be upgraded |
System Upgrade
Excuting an order
# 刷新存储库索引
sudo apt update
# 在升级软件包时自动处理依赖关系
sudo apt full-upgrade
Habitual restart
shutdown -r now
System Cleanup
The difference between apt and apt-get to find the degree of your mother will know, in fact, nothing big difference, it is recommended to use apt, trend it
# 刷新存储库索引
#清理旧版本的软件缓存
sudo apt-get autoclean
#清理所有软件缓存
sudo apt-get clean
#删除系统不再使用的孤立软件
sudo apt-get autoremove
Habitual restart
shutdown -r now
Next, install a variety of software to make their skin Hey chant
3. Install the software
apt command | apt-get command | description |
---|---|---|
apt search | apt-cache search | Search application |
apt show | apt-cache show | Display Installation Details |
apt install | apt-get install | Installation package |
. | apt-get --reinstall install package | Reinstall the package |
Installation of common software ↓↓↓ | Explanation | Remarks (Reference) |
sudo apt install git | Install Git version control | Git - installation configuration (Linux, Windows dual record) |
sudo apt install gitkraken | Install Git client | This very good use, the god of the command line can be ignored |
sudo apt install subversion | Install version control SVN | |
. | Installation and configuration zsh oh-my-zsh | Deepin - Some pit recording install zsh and the oh-my-zsh |
. | R and RStudio Server installation | R Language - R installation and RStudio (Linux, Windows dual record) 1 |
sudo apt install sogoupinyin | Installation Sogou Pinyin | |
sudo apt install bleachbit | Installation Disk Cleanup software bleachbit | |
sudo apt install notepadqq | Install a text editor notepadqq | Linux editor artifact, similar to the notepad ++ Win |
sudo apt install teamviewer | Remote installation tool teamviewer | |
sudo apt install remmina | Installing Remote Desktop remmina | |
sudo apt install uget | Install download tool uGet | |
sudo apt install deepin.com.thunderspeed | Installation Thunder Ultimate Edition | |
sudo apt install netcat | Install netcat, network tool Swiss Army Knife | Use netcat command |
sudo apt install gufw | Installation gufw, one of the world's most simple Linux firewall | Gufw - Depp Wiki |
sudo apt install netease-cloud-music | Installation Netease cloud music | |
sudo apt install mpv | Install the player mpv | |
sudo apt install baidunetdisk | Baidu network disk installation (Linux) | |
sudo apt install gdebi-core | Installation GDebi Package Installer | deb file very easy to use installer |
sudo gdebi dingtalk_2.1.0_amd64.deb 或者 sudo apt install dingtalk |
安装钉钉dingtalk | Github下载安装包 dingtalk_2.1.0_amd64.deb |
Wine兼容层软件 ↓↓↓ | WineHQ - 官网地址 | 运行 Windows 应用的兼容层 |
sudo apt install deepin.com.wechat | 安装微信 | |
sudo apt install deepin.com.qq.office | 安装TIM - 办公版QQ |
更换桌面
前置工作
# 刷新一下系统,没得说
sudo apt update
# 处理软件包的依赖关系
sudo apt full-upgrade (推荐)
or
sudo apt-get dist-upgrade
# 刷新完重启一下呗
shutdown -r now
安装mate桌面
# This will install the base packages required for a minimal MATE desktop
# 基础安装
sudo apt-get install mate-desktop-environment-core
# This will install the complete MATE desktop
# 完整安装(推荐)
sudo apt-get install mate-desktop-environment
# This will install the complete MATE desktop including a few extras
# 扩展安装
sudo apt-get install mate-desktop-environment-extras
# 卸载桌面?失败,原因还没研究明白
sudo apt autoremove --purge mate-desktop-environment
安装xfce桌面
好丑界面,但是真是省资源,还是mate桌面不错
# 搜索有一下xfce
sudo apt search xfce
# 安装喽,全自动的
sudo apt install xfce4
安装jetbrains-toolbox
# 1. copy到指定目标
# nangy @ nangy-vm in /mnt/hgfs/VMware共享文件/software [20:59:29] C:1
$ cp jetbrains-toolbox-1.14.5179.tar.gz -R /home/nangy/Downloads
# nangy @ nangy-vm in /mnt/hgfs/VMware共享文件/software [20:59:47]
$ cd /home/nangy/Downloads
# nangy @ nangy-vm in ~/Downloads [20:59:52]
$ ll
总用量 73M
-rwxr-xr-x 1 nangy nangy 73M 6月 16 20:59 jetbrains-toolbox-1.14.5179.tar.gz
# 2. 解压安装包
# nangy @ nangy-vm in ~/Downloads [20:59:53]
$ tar -zxvf jetbrains-toolbox-1.14.5179.tar.gz
jetbrains-toolbox-1.14.5179/
jetbrains-toolbox-1.14.5179/jetbrains-toolbox
# nangy @ nangy-vm in ~/Downloads [21:00:05]
$ cd jetbrains-toolbox-1.14.5179
# 3. 执行安装包
# nangy @ nangy-vm in ~/Downloads/jetbrains-toolbox-1.14.5179 [21:00:07]
$ ./jetbrains-toolbox
4. 卸载软件
apt命令 | apt-get命令 | 描述 |
---|---|---|
apt remove | apt-get remove | 移除软件包 |
apt purge | apt-get purge | 移除软件包及配置文件 |
apt autoclean | apt-get autoclean | 清理旧版本的软件缓存 |
. | apt-get clean | 清理所有软件缓存 |
apt autoremove | apt-get autoremove | 删除系统不再使用的孤立软件包(推荐) |
apt autoremove --purge package | apt-get autoremove --purge package | 自动卸载软件其删除其配置文件(一般用于在线安装的软件) |
卸载预装软件 | . | |
sudo apt autoremove --purge deepin.com.qq.im | . | 卸载QQ |
sudo apt autoremove --purge deepin-movie | . | 卸载深度影院 |
结束语:先写到这里~~
5. 扩展阅读:
5.1 aptitude commonly used commands 2
aptitude update 更新可用的包列表
aptitude safe-upgrade 执行一次安全的升级
aptitude full-upgrade 将系统升级到新的发行版
aptitude install pkgname 安装包
aptitude remove pkgname 删除包
aptitude purge pkgname 删除包及其配置文件
aptitude search string 搜索包
aptitude show pkgname 显示包的详细信息
aptitude clean 删除下载的包文件
aptitude autoclean 仅删除过期的包文件
i: 安装软件包
c: 软件包没有安装,但在系统中有软件包的残留配置
p: 从系统彻底删除
v: 虚拟软件包
B: 已损坏的软件包
u: 解压文件,但尚未配置软件包
C: 半配置 - 配置失败需要修复
H: 半安装 - 卸载失败需要修复