LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > antiX / MX Linux
User Name
Password
antiX / MX Linux This forum is for the discussion of antiX and MX Linux.

Notices


Reply
  Search this Thread
Old 02-15-2020, 07:54 AM   #1
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware FreeBSD Win10 MX
Posts: 9,839

Rep: Reputation: 2118Reputation: 2118Reputation: 2118Reputation: 2118Reputation: 2118Reputation: 2118Reputation: 2118Reputation: 2118Reputation: 2118Reputation: 2118Reputation: 2118
How to remove a deb installed by GDeb pkg installer?


I got to messing around in unknown territory and downloaded minecraft.deb off a web sight and FireFox gave the option to use GDeb package installer to install it after download, so I did. now I cannot get it to uninstall using the cli.
Code:
userx@mx:~
$ whereis minecraft
minecraft:
userx@mx:~
$ sudo apt-get purge minecraft
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package minecraft
userx@mx:~
$ sudo apt-get remove minecraft
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package minecraft
userx@mx:~
$ sudo apt-get remove Minecraft
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package Minecraft
it is in here because I can find it in the menus. it is the this version off this sight under Debian /Ubunututu
https://www.minecraft.net/en-us/download/alternative/

-- MOD---
I found it in /opt my brain kicked (its early), and well it has a desktop file..
Code:
$ cat  /usr/share/applications/minecraft-launcher.desktop
[Desktop Entry]
Type=Application
Version=1.0
Name=Minecraft Launcher
Comment=Official Minecraft Launcher
Exec=/opt/minecraft-launcher/minecraft-launcher
Path=/opt/minecraft-launcher
Icon=minecraft-launcher
Terminal=false
Categories=Game;Application;
being this is MX Linux I do assume it is no different then all others when something gets put into /opt it can just be manually deleted and links if any to /usr/bin /bin need to be removed too.

Last edited by BW-userx; 02-15-2020 at 08:04 AM.
 
Old 02-15-2020, 08:02 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 13,701
Blog Entries: 9

Rep: Reputation: 3786Reputation: 3786Reputation: 3786Reputation: 3786Reputation: 3786Reputation: 3786Reputation: 3786Reputation: 3786Reputation: 3786Reputation: 3786Reputation: 3786
How to remove a deb installed by GDeb pkg installer?
I assume you mean gdebi.
The same way you would remove a deb installed by apt.
 
Old 02-15-2020, 08:43 AM   #3
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware FreeBSD Win10 MX
Posts: 9,839

Original Poster
Rep: Reputation: 2118Reputation: 2118Reputation: 2118Reputation: 2118Reputation: 2118Reputation: 2118Reputation: 2118Reputation: 2118Reputation: 2118Reputation: 2118Reputation: 2118
Quote:
Originally Posted by ondoho View Post
How to remove a deb installed by GDeb pkg installer?
I assume you mean gdebi.
The same way you would remove a deb installed by apt.
I am not savvy to Debian, I have not used it or anything created from it for years, until now. though that did jar a memory, dpkg -r name(.deb)?

even though I already deleted it using rm -rv /opt/minecraft* so its gone.
 
Old 02-16-2020, 11:40 AM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 13,701
Blog Entries: 9

Rep: Reputation: 3786Reputation: 3786Reputation: 3786Reputation: 3786Reputation: 3786Reputation: 3786Reputation: 3786Reputation: 3786Reputation: 3786Reputation: 3786Reputation: 3786
Quote:
Originally Posted by BW-userx View Post
I am not savvy to Debian, I have not used it or anything created from it for years, until now. though that did jar a memory, dpkg -r name(.deb)?
no, it's 'apt remove package'.

Quote:
even though I already deleted it using rm -rv /opt/minecraft* so its gone.
Apt won't like it.
 
Old 02-16-2020, 02:07 PM   #5
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware FreeBSD Win10 MX
Posts: 9,839

Original Poster
Rep: Reputation: 2118Reputation: 2118Reputation: 2118Reputation: 2118Reputation: 2118Reputation: 2118Reputation: 2118Reputation: 2118Reputation: 2118Reputation: 2118Reputation: 2118
Quote:
Originally Posted by ondoho View Post
no, it's 'apt remove package'.


Apt won't like it.
hum well .. too late now... I must have not used the proper name it was given. minecraft was not it. so oh well. its gone... If it gives me issues later on then I'll cross that bridge when I get there.

-- side question--
are you referring to apt-get or that new fan-dangle way I've seen it being used now, a variation of apt-get?

Last edited by BW-userx; 02-16-2020 at 02:09 PM.
 
Old 02-17-2020, 07:41 AM   #6
dolphin_oracle
MX Linux
 
Registered: Dec 2013
Posts: 402

Rep: Reputation: Disabled
the package will still show as installed probably. but just because you deleted the folder doesn't mean you can't run the apt remove command.
 
Old 02-17-2020, 09:34 AM   #7
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware FreeBSD Win10 MX
Posts: 9,839

Original Poster
Rep: Reputation: 2118Reputation: 2118Reputation: 2118Reputation: 2118Reputation: 2118Reputation: 2118Reputation: 2118Reputation: 2118Reputation: 2118Reputation: 2118Reputation: 2118
yeeah I thought about that, but it is not high up on my list of things to do with this distro.
thanks for your input...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
grub-mkconfig sees both installed oses (deb & mint), but lists both as deb part. slacker_ Linux - General 14 06-22-2014 05:07 AM
unpack multiple deb files with dpkg-deb? steve51184 Linux - Software 2 02-13-2011 08:48 AM
How can I run this .deb file: install_flash_player_10_linux.deb abefroman Linux - Desktop 1 11-04-2009 10:02 AM
Is "kernel-image-x_i386.deb or i586.deb the right image for P4 processor? davidas Debian 1 04-06-2004 03:50 AM
Can apt4rpm use deb repositories or install .deb packages? raylpc Linux - General 0 08-18-2003 01:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > antiX / MX Linux

All times are GMT -5. The time now is 07:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration