how to uninstall apps in Ubuntu 22.04(Jammy)

发布时间 2023-03-22 21:11:07作者: HighHill

today I wanna uninstall apps inside Ubuntu but failed via Store.

 

so I need to unstall them manully as below.

$ apt list --installed | grep -i aisleriot

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

aisleriot/jammy,now 1:3.22.22-1 amd64 [installed,automatic]
$ sudo apt remove aisleriot
$ sudo apt remove gnome-mahjongg
$ dpkg --list | grep adobe
$ sudo dpkg --remove adobereader-enu:i386
$ sudo dpkg  --print-architecture
amd64
$ sudo dpkg --print-foreign-architectures
i386
$ sudo dpkg --remove-architecture i386
dpkg: error: cannot remove architecture 'i386' currently in use by the database
$ dpkg --get-selections | awk '/i386/{print $1}' | wc -l
106

so many apps are using i386, so I stopped to disable this architecture right now.