(cooper) cooper@cooper:~$ sudoapt-getinstall xsel
[sudo] password for cooper:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
xsel
0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
Need to get 20.6 kB of archives.
After this operation, 73.7 kB of additional disk space will be used.
Get:1 http://cn.archive.ubuntu.com/ubuntu xenial/universe amd64 xsel amd64 1.2.0-2 [20.6 kB]
Fetched 20.6 kB in 0s (26.4 kB/s)
Selecting previously unselected package xsel.
(Reading database ... 255097 files and directories currently installed.)
Preparing to unpack .../xsel_1.2.0-2_amd64.deb ...
Unpacking xsel (1.2.0-2)...
Processing triggers for man-db (2.7.5-1)...
Setting up xsel (1.2.0-2)...
安装xclip工具
(cooper) cooper@cooper:~$ sudoapt-getinstall xclip
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
xclip
0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
Need to get 17.0 kB of archives.
After this operation, 72.7 kB of additional disk space will be used.
Get:1 http://cn.archive.ubuntu.com/ubuntu xenial/universe amd64 xclip amd64 0.12+svn84-4 [17.0 kB]
Fetched 17.0 kB in 0s (21.6 kB/s)
Selecting previously unselected package xclip.
(Reading database ... 255103 files and directories currently installed.)
Preparing to unpack .../xclip_0.12+svn84-4_amd64.deb ...
Unpacking xclip (0.12+svn84-4)...
Processing triggers for man-db (2.7.5-1)...
Setting up xclip (0.12+svn84-4)...