1、 删除软件
$ sudo apt-get remove --purge <软件名称>
$ sudo apt-get autoremove --purge <软件名称>
$ dpkg --get-selections | grep <软件相关名称>
$ sudo apt-get purge <一个带core的package>
#如果没有带core的package, 则视情况而定
2、清理残留数据
$ dpkg -l |grep ^rc|awk '{print $2}' |sudo xargs dpkg -P
3、查看cpu信息 内存
$ listcpu
----------------------------------------------------------
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 8
On-line CPU(s) list: 0-7
Thread(s) per core: 2
Core(s) per socket: 4
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 42
Model name: Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz
Stepping: 7
CPU MHz: 1627.197
CPU max MHz: 3800.0000
CPU min MHz: 1600.0000
BogoMIPS: 6784.50
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 8192K
NUMA node0 CPU(s): 0-7
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer xsave avx lahf_lm epb pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid xsaveopt dtherm ida arat pln pts flush_l1d
-------------------------------------------
$ free -m
total used free shared buff/cache available
Mem: 7935 2619 1720 236 3594 4734
Swap: 3022 4 3018