Purge command

If it doesn't relate to Debian, but you still want to share it, please do it here

Purge command

Postby debiandonder » 2019-02-26 18:23

Is the sudo apt purge command the same as "mark for complete removal" in Synaptic package manager? Do I have to use sudo apt autoremove to make sure everything is uninstalled as not to conflict with another programs installation afterwards?
debiandonder
 
Posts: 128
Joined: 2019-02-11 17:22

Re: Purge command

Postby arochester » 2019-02-26 18:55

Is the sudo apt purge command the same as "mark for complete removal" in Synaptic package manager?


Yes.

Do I have to use sudo apt autoremove to make sure everything is uninstalled as not to conflict with another programs installation afterwards?


No.
arochester
 
Posts: 1599
Joined: 2010-12-07 19:55

Re: Purge command

Postby debiandonder » 2019-02-26 19:01

Thank you so much! The Google search results gives such conflicting and sometimes outdated articles on this matter.
debiandonder
 
Posts: 128
Joined: 2019-02-11 17:22

Re: Purge command

Postby 4D696B65 » 2019-02-26 19:05

Code: Select all
man apt
has all your answers
User avatar
4D696B65
 
Posts: 2444
Joined: 2009-06-28 06:09

Re: Purge command

Postby debiandonder » 2019-02-26 19:47

Thanks, that's a good reference guide, I was reading some pdf that applied to Debian 10 and it did not include the purge command, that's what made me ask the question.
debiandonder
 
Posts: 128
Joined: 2019-02-11 17:22

Re: Purge command

Postby CwF » 2019-02-26 19:48

Better yet, keep poking around in Synaptic. It can do all you need to do. No need to use the command line.
CwF
 
Posts: 545
Joined: 2018-06-20 15:16

Re: Purge command

Postby debiandonder » 2019-02-26 19:54

On my Q40S system, based on debian 9, I have to uninstall more than one option. Like firefox and q40s-firefox to get rid of it all.

Using the command line is sometimes easier and faster.
debiandonder
 
Posts: 128
Joined: 2019-02-11 17:22

Re: Purge command

Postby Dai_trying » 2019-02-26 21:01

Off Topic: Installing Q4OS installer of Firefox will give you an uninstall option which does everything for you.

Back on topic: Synaptic package manager is especially good for new users as they often find the command line a scary concept, and as users progress with efficiency (if they choose to do so) they more often than not seem to go for the command line options. One reason for this is a better view of any errors that happen and the ability to give more precise command options to perform specific tasks.
Dai_trying
 
Posts: 858
Joined: 2016-01-07 12:25

Re: Purge command

Postby debiandonder » 2019-02-26 21:15

Yes, Q40S has a simple and user friendly way to install programs and I have used that to install Firefox, Chrome and Synaptic. The only problem is that it does nothing when I change my mind and try to use it to uninstall a program, it simply doesn't work. I then use Synaptic to uninstall something.

What I have found especially useful while using the command line is that it gives me feedback like showing I have some redundant files or something and can use sudo apt autoremove to get rid of them.

I also get warnings while in the terminal to not install something because the repository is not maintained or some other warning. I only used sudo apt update and sudo apt upgrade in Ubuntu when I got some error or warning message and it fix it.

There are some good documentation about all the Debian 10 commands but I can't remember where I found and downloaded it from.
debiandonder
 
Posts: 128
Joined: 2019-02-11 17:22

Re: Purge command

Postby Dai_trying » 2019-02-26 22:28

debiandonder wrote:Yes, Q40S has a simple and user friendly way to install programs and I have used that to install Firefox, Chrome and Synaptic. The only problem is that it does nothing when I change my mind and try to use it to uninstall a program, it simply doesn't work. I then use Synaptic to uninstall something.


You do not use the Q4OS Software Center to uninstall, when the packages are installed you will have an "uninstall firefox" or whatever package in your menu. It's a shame you don't post these problems in the Q4OS forum where others could benefit from your misunderstandings instead of saying things don't work when in fact they do.
Dai_trying
 
Posts: 858
Joined: 2016-01-07 12:25

Re: Purge command

Postby debiandonder » 2019-02-26 23:01

There is a Q40S software center and there is another one with the subheading discover. I was referring to the first one. Taking Firefox 65 as an example, I did not find a uninstall option anywhere, except in Synaptic which was installed using the Q40S installer.

Q40S forum is a graveyard compared to Debian support forum. I either get no response or some vague answers.

It is a great way to install Debian however and as long as one chooses the full program install instead of the basic install and then pick and choose it works great, with minimal setup.
debiandonder
 
Posts: 128
Joined: 2019-02-11 17:22

Re: Purge command

Postby Dai_trying » 2019-02-27 08:32

debiandonder wrote:There is a Q40S software center and there is another one with the subheading discover. I was referring to the first one. Taking Firefox 65 as an example, I did not find a uninstall option anywhere, except in Synaptic which was installed using the Q40S installer.


Discover is a Plasma thing not Q4OS, but that aside using the Q4OS Software Centre for installing Firefox will result in having a menu entry to uninstall Firefox, if you can't find it you could have asked in the forum but instead you choose to moan about it here...

debiandonder wrote:Q40S forum is a graveyard compared to Debian support forum. I either get no response or some vague answers.


Debian obviously has a higher user base so that much would be obvious, but you have received answers to your questions even though you have posted no questions other than how to rip music from Cd's with id3 tags completed. You have stated on this forum that your system freezes and other technical problems but have never mentioned this on the Q4OS forum?!?!

debiandonder wrote:It is a great way to install Debian however and as long as one chooses the full program install instead of the basic install and then pick and choose it works great, with minimal setup.


It is not a replacement for a "proper" Debian installation, to get the best support you should just install Debian and then your questions would be more relevant. Many here will tell you if you are using outside (of Debian) repositories you actually have a FrankenDebian and as Q4OS uses it's own repositories (as well as the Debian ones) you should consider this.
Dai_trying
 
Posts: 858
Joined: 2016-01-07 12:25

Re: Purge command

Postby Dai_trying » 2019-02-27 09:38

Just for clarification I have screen captured the uninstall menu entry for Firefox (after installing it to demonstrate)

Image

And if you still cannot find it you could run from the command line

Code: Select all
dash /usr/share/apps/q4os_system/uninst_q4inf/uninstall_q4os-firefox.sh


I would have posted this in the Q4OS forum if you had asked the question there...
Last edited by Dai_trying on 2019-02-27 10:37, edited 1 time in total.
Dai_trying
 
Posts: 858
Joined: 2016-01-07 12:25

Re: Purge command

Postby dilberts_left_nut » 2019-02-27 09:54

.... and moved to Offtopic.

@debiandonder - Q4OS is not Debian - please stop conflating them.
AdrianTM wrote:There's no hacker in my grandma...
User avatar
dilberts_left_nut
 
Posts: 5028
Joined: 2009-10-05 07:54
Location: enzed

Re: Purge command

Postby debiandonder » 2019-02-27 12:08

Dai_trying wrote:Just for clarification I have screen captured the uninstall menu entry for Firefox (after installing it to demonstrate)

Image

And if you still cannot find it you could run from the command line

Code: Select all
dash /usr/share/apps/q4os_system/uninst_q4inf/uninstall_q4os-firefox.sh


I would have posted this in the Q4OS forum if you had asked the question there...


I use the Plasma desktop (KDE) not that desktop you posted that looks like Windows XP.

Anyway, I have used Synaptic to install and uninstall programs, as well as the command line. All Debian way of doing things.
debiandonder
 
Posts: 128
Joined: 2019-02-11 17:22

Next

Return to Offtopic

Who is online

Users browsing this forum: No registered users and 12 guests

fashionable