Uninstall a program without ubuntu software center

Asked by arnupharb

How i uninstall program without ubuntu software center
thanks

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu software-center Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
samuel (samuel-h) said :
#1

use apt-get from a command line, just press ctrl+alt+t to open a terminal then type apt-get uninstall package-name

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

sudo apt-get --purge remove packagename

Uninstall isn't an option of apt-get

Revision history for this message
arnupharb (arnupharb-master) said :
#3

maszter@maszter-System-Product-Name:~$ sudo apt-get --purge remove google chrome[sudo] password for maszter:
กำลังอ่านรายชื่อแพกเกจ... เสร็จแล้ว
กำลังสร้างโครงสร้างลำดับความสัมพันธ์
กำลังอ่านข้อมูลสถานะ... เสร็จแล้ว
E: ไม่พบแพกเกจ google
E: ไม่พบแพกเกจ chrome

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#4

sudo apt-get --purge remove google-chrome

No packages have spaces in

Revision history for this message
arnupharb (arnupharb-master) said :
#5

maszter@maszter-System-Product-Name:~$ sudo apt-get --purge remove google-chrome[sudo] password for maszter:
E: ไม่สามารถล็อค /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
maszter@maszter-System-Product-Name:~$

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#6

Do you have software centre or synaptic open. If so, close them when you can. If you have updates running, let them finish. If neither are happening then run:

sudo fuser -vki /var/lib/dpkg/lock;sudo dpkg --configure -a

Then retry

Revision history for this message
arnupharb (arnupharb-master) said :
#7

maszter@maszter-System-Product-Name:~$ sudo apt-get --purge remove google-chromeกำลังอ่านรายชื่อแพกเกจ... เสร็จแล้ว
กำลังสร้างโครงสร้างลำดับความสัมพันธ์
กำลังอ่านข้อมูลสถานะ... เสร็จแล้ว
Virtual packages like 'google-chrome' can't be removed
The following packages were automatically installed and are no longer required:
  menu-xdg python-evolution ekiga libaccess-bridge-java libopal3.10.2
  gir1.2-rb-3.0 gnome-backgrounds gtali glchess libdmapsharing-3.0-2
  hamster-applet libdiscid0 gnome-games cheese gdebi gnobots2 python-reportlab
  odbcinst1debian2 gnome-icon-theme-extras rhythmbox libcheese-gtk20
  libboost-signals1.46.1 libcheese1 libmagick++3
  libboost-program-options1.46.1 python-uniconvertor libgdict-1.0-6 gdebi-core
  libcapi20-3 python-lxml libboost-date-time1.46.1 librhythmbox-core4 odbcinst
  gnibbles python-renderpm gnuchess-book unixodbc libpt2.10.2
  browser-plugin-gnash gnome-games-extra-data libaccess-bridge-java-jni
  gnash-common libcluttergesture-0.0.2-0 gnotski gir1.2-gucharmap-2.90
  libclutter-imcontext-0.1-0 libspandsp2 cheese-common sound-juicer iagno
  glines libboost-thread1.46.1 libmx-1.0-2 libfolks-eds25 gnome-dictionary
  gnome-contacts gedit-plugins liferea gnash gnotravex gnect
  libclutter-gst-1.0-0 quadrapassel libmusicbrainz3-6 liferea-data libgc1c2
  gnuchess perlmagick rhythmbox-plugin-cdrecorder inkscape rhythmbox-plugins
  dconf-tools libclutter-gtk-1.0-0 gnome-video-effects python-reportlab-accel
ใช้ 'apt-get autoremove' เพื่อลบแพกเกจดังกล่าวได้
ปรับรุ่นขึ้น 0, ติดตั้งใหม่ 0, ถอดถอน 0 และไม่ปรับรุ่น 0

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#8

ok, run:

sudo apt-get --purge autoremove

To clean up your OS. Seems google-chrome isn't installed..

Can you give the output of:

dpkg -l | grep google

Thanks

Revision history for this message
arnupharb (arnupharb-master) said :
#9

maszter@maszter-System-Product-Name:~$ dpkg -l | grep google
ii google-chrome-stable 20.0.1132.57-r145807 The web browser from Google

Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#10

sudo apt-get --purge remove google-chrome-stable

Obviously...

Revision history for this message
arnupharb (arnupharb-master) said :
#11

Thanks actionparsnip, that solved my question.