黑猴子的家:Ubuntu18.04.2 安装 notepad

1、修改国内镜像
heihouzi@ubuntu100:~$ su - root
passwd ******
root@ubuntu100:~# cd /etc/apt/
root@ubuntu100:/etc/apt# cp sources.list sources.list.bb
root@ubuntu100:/etc/apt# vi sources.list
deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
2、软件升级
root@ubuntu100:~# apt update
root@ubuntu100:~# apt upgrade
root@ubuntu100:~# apt-get update
root@ubuntu100:~# apt-get upgrade
3、安装notepadqq
//安装
root@ubuntu100:~# add-apt-repository ppa:notepadqq-team/notepadqq
root@ubuntu100:~# apt-get install notepadqq

//卸载
root@ubuntu100:~# apt-get remove notepadqq
root@ubuntu100:~# add-apt-repository --remove ppa:notepadqq-team/notepadqq

你可能感兴趣的:(黑猴子的家:Ubuntu18.04.2 安装 notepad)