May We Delete, Remove or Uninstall Apps?

May We Delete, Remove or Uninstall programs? Preferably delete/remove or uninstall programs such as Tootle, or Calls from Call list, and old Chats?
~s

I would do three things:

  1. Open Terminal. Type in sudo apt search (for the name of the package you want to remove. Sometimes the packages are different from their ā€œnameā€ in the software center.

  2. Once you determine the correct package name, type: sudo apt remove "package name". Hit enter. The terminal will delete the package for you. Alternatively, you could type sudo apt purge "package name" into the terminal which will delete all the packages, plus the package dependencies for that package that are no longer needed.

  3. I always also then type into the terminal: sudo apt autoremove. That command will make sure that any unnecessary packages were also removed.

Cheers.

1 Like

If you delete the files, be free to shared its configure or databases or system files before remove or delete them. However the encryption of the whole file system should have killed it in the first placeā€¦

Always make sure you donā€™t uninstall more than expected this way. This is an open system that lets you remove plenty of components if you wish so, but you need to make sure you donā€™t accidentally uninstall more than you actually wanted. Carefully read any prompts that ask you to verify and confirm your actions.

3 Likes

For help with determining the actual names, you can list all the installed packages like this:

Summary
Option 1: Only list the apps that appear as icons in the app grid:
ls /usr/share/applications

Option 2: List all applications with associated libraries & export to a file:
dpkg --get-selections | grep -v deinstall | cut -f1 > /home/purism/pkglist

If any flatpaks are installed:
flatpak list

2 Likes

true i have maybe more aggressively uninstalled pureos10 system apps, components, only to have to re-install because it nuked dependencies that were needed.

Thatā€™s why I am always using apt-get with option -s (instead of apt).

To remove a package I am using this command:

sudo apt-get -s remove "package name"

-s, --simulate, --just-print, --dry-run, --recon, --no-act
No action; perform a simulation of events that would occur based on the current system state but do not actually change the
system. Locking will be disabled (Debug::NoLocking) so the system state could change while apt-get is running. Simulations can
also be executed by non-root users which might not have read access to all apt configuration distorting the simulation. A
notice expressing this warning is also shown by default for non-root users (APT::Get::Show-User-Simulation-Note).
Configuration Item: APT::Get::Simulate.

1 Like

I was dumb. I expected it to be a quick right-click (or whatever) and select from a list, or as in Windows - have a section with ā€˜uninstallā€™ not delete via some commands. Itā€™s easier to sell a product if itā€™s easier to use.
It is what is I guess. Iā€™ve copied everyoneā€™s version of how to uninstall files, and next time, read it again. Itā€™s too much for this old brain to make a load of commands stick in head.
Thanks
~s

There are graphical interfaces for apt / dpkg out there. You can install synaptic and use that, however, it isnā€™t built for mobile so I donā€™t know how well it will work.

Itā€™s fine for noobs. You are getting command line instructions, because frankly, noobs only stay noobs for like 3 minutes and quickly toss gui bullshit away because you can do so much more in the terminal.

They are just tossing you in the shallow end of the deep end so you skip the bullshit.

1 Like

Any application can be uninstalled from the PureOS store. Just open up the ā€œInstalledā€ tab, find the app, and click the trashcan icon.

Removing ā€œCalls from Call list, and old Chatsā€ is something else. If you want to keep the Calls and Chatty apps, but just delete call/message history, I think they currently can only delete one at a time from within the apps themselves. [EDIT: Long-press call > Delete, and open specific chat > 3-dot menu > Delete.] There are stored databases of these calls and chats on your L5, so theoretically you could open those (with the correct .db viewer) and do some mass deletions. Itā€™s more complicated, though.

Itā€™s not like you have to commit the suggestions to memory. :wink:
But now you know you can find the answers here if you ever want to try them. You can simply copy and paste those commands into the terminalā€¦no memorization required.

Not necessarily everybody. :slight_smile:

I may have not looked hard enough, but I went through the docs/puri.sm and couldnā€™t find anything about managing files like this. If they are not there, maybe should be?
But thank you for the info. Have about 75-100 pics when trying out the camera. I only want 3 of them - Iā€™ll move the 3, then see what I can do when I hook it back up to the Hoyoki dock. Be easier with the keyboard.

I try docs/ first, then search the L5 arena. Iā€™ve learned a lot from them but sometimes, those just donā€™t result in answers I need, or answers I do not understand, or are outdated. So I ask here.

Thanks @amarok

1 Like

I am trying to keep the L5 apps as generic as possible i.e. nothing that the Kahunaā€™s havenā€™t recommended. Youā€™re a kahuna :slight_smile: Lucky you.
This is a L5 that will remain docked most of the time, except for rare times I might close all switches, power off and only use in case off emergency.

I confess I am a ā€œnoobā€ to the L5. I donā€™t have time to learn how to use the command lines nor to understand the nuances of the L5. I just wanted a phone, dare I say smart (I hate that word) phone. My bad for not paying closer attention to the work in progress. I think noobs take a little longer to acclimate to the commands, than ā€œ3 minutesā€ unless they are experienced with the Linux line of things.

But, I do welcome the command line suggestions and have a folder of clips from such posts here - like amarokā€™s response #4 above.

Thanks for response
~s

1 Like

@sharon

Go to the Files app, (pictures folder,) click on the menu and hit select all
image
image
(edit: Added pics)

1 Like

@ASwyD2
After she has moved the 3 pics she wants to keep.

Or as an alternative if the 3 pics have not yet been moved, she can select all, then use the Ctrl key (and click) from the keyboard to unselect those 3 before deleting all.

1 Like

Agreed. Thanks

For clarity, I was talking about uninstalling programs not deleting unwanted files, for which the operation is different.

1 Like

And fortunately, the L5 is a GNU Linux computer, so thereā€™s always ā€œrestoreā€ from the trash, unlike the usual ā€œsmartā€ phone suspects.

The instructions for old calls(?) have been posted in this forum. Could be out of date though and thereā€™s always an element of risk in doing raw SQL-like commands. :wink:

1 Like

OK, another thing not working - doesnā€™t look like the battery will ever charge again so deleting anything is not necessary any longer. Yep. died to zero and canā€™t even play the game. Paper weights got very expensive. Supply chain?

Tried that just now: Result

Unable to remove WAAAA:
no packages to remove.

WAAAA is a small game and installed from Pure OS Store.

1 Like