I'm having an issue unable to uninstall a program not from the Zorin store. The program is newshosting. I had downloaded a file. It was compressed in a 7Z format. Apparently it was password protected. When I returned to the program, there was a pop-up asking for the password. But every time I tried to close it, it would pop-up again. I tried to close the program by all the usual methods with no luck. I looked at restarting, but when Zorin came back up. And I tried run the program, the pop-up
prevented me from doing anything. So I attempted to uninstall the program. But I was unable to uninstall the program. It didn't appear in the list of apps. So I couldn't uninstall the program. I didn't see any other way to uninstall. I realize that the Newshosting program is the one causing the problem. I'm not asking for help with that, I will contact Newshosting about a possible bug in their program. But for now I am looking for another way to uninstall the program.
in terminal sudo uninstall newshosting
or maybe sudo purge newshosting
you may have to add the numbers(if any) like installer has
Uninstalling Newshosting Newsreader on Linux
To uninstall the Newshosting Newsreader from your Linux system, follow these steps:
Step-by-Step Instructions
- Locate the Installation Directory
Find the folder where the Newshosting Newsreader was installed. This is usually in your home directory or a specific applications directory. - Run the Uninstaller Script
Look for an uninstaller script, which is typically nameduninstall.shor similar. You can execute this script to remove the application.
Example Command
If the uninstaller script is named uninstall.sh, you can run it using the terminal:
bash
./uninstall.sh
Additional Notes
- Ensure you have the necessary permissions to execute the script. If needed, you can modify the permissions with the following command:
bash
chmod +x uninstall.sh
- If you cannot find the uninstaller script, you may need to manually delete the installation directory and any associated files.
By following these steps, you should be able to successfully uninstall the Newshosting Newsreader from your Linux system.
this is AI generated
That's really a stupid app. I have installed Newshosting with the installer.run script, but I found no way to remove it. There is no uninstall script at ~/.local/share/Newshosting
and it doesn't help to run the installer again. Strange.
I found no informations how to remove the program. Sorry, I don't know how to help you.
You should only need to remove the install it places:
rm -rf ~/newshosting-*
Check for any leftovers like .desktop files and remove those as well:
find ~/.local/share/applications -iname 'newshosting'
If any found, navigate to that directory and remove it.
Delete the folder Newshosting at ~/.local/share (press ctrl+h to show the hidden files in your file manager)
Also delete the Newshosting folder at
~/.config,
the "newshosting.desktop" file at ~/.local/share/applications
and the two files "Newshosting.desktop" and "Newshosting Downloads.desktop" in the Desktop folder of your home directory.
You can also delete the newshosting installer.run file and Newshosting folder at Downloads.
The installer seems to have installed Newshosting as an AppImage and created a .desktop file. Interesting. I haven't come across this installation method before. But I find Appimages easier because you know what you're doing and where the Appimage is saved.
@Aravisian The first command does not work because there is no such folder ~/newshosting, and the second one doesn't find the desktop file there, only when you add * to newshosting ('newshosting*'). But thank you for showing the way how to remove the app!
@Aravisian Do you know a way to read out what the installer.run file makes to see where the files will be installed?
At ~/.local/share/Newshosting is a newshosting.sh file but is is a binary.
It depends on the .run file; Some can be read as they are using a text editor. Some need to be extracted.
This is what I originally intended to do in order to learn how to uninstall newshosting - but in order to see it, I would need to download it, in order to do that, I would have needed to create an account... So I got grumpy and looked up information on the web - which it appears above may be outdated (Or maybe was wrong all along - I do not know since I have never installed it.)
The installer.run file is not readable with a texteditor.
The program also doesn't have a Readme file.
Yes, and their webpage has no removal instructions.
They are tightlipped about the package - which all of the above is more than enough for me to avoid it.
They want you to give them some kind of account information, but are unwilling to show what the package is or how to remove it.
On that site I found a link to download the program for Linux without creating an account. I used this (clicked on the penguin Download for Linux).
I was really annoyed, too, at how they could obscure all that information and pack it into binary files that no one can read.
I downloaded it (Thanks for finding that) and when I tried to read it in terminal, was warned it may be a binary.
So, I tried file newshosting_x64_installer.run
and it gave:
newshosting_x64_installer.run: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, stripped
That it is "stripped" means that the developers ensured that names and functions have been removed in order to prevent users doing what I am doing - it is a proprietary effort to inhibit reverse engineering the package.
I finally got somewhere with:
strings -n 20 newshosting_x64_installer.run | less
Which shows you are right about this being an AppImage (Never had any doubt that you were)
Failed to remove directory %s: %s
Portable %s directory created at %s
Error creating portable %s directory at %s: %s
Read of e_ident from %s failed: %s
Read of ELF header from %s failed: %s
Read of ELF section header from %s failed: %s
Platforms other than 32-bit/64-bit are currently not supported!
--appimage-extract [<pattern>] Extract content from embedded filesystem image
If pattern is passed, only extract matching files
--appimage-help Print this help
--appimage-mount Mount embedded filesystem image and print
mount point and wait for kill with Ctrl-C
--appimage-offset Print byte offset to start of embedded
filesystem image
--appimage-portable-home Create a portable home folder to use as $HOME
--appimage-portable-config Create a portable config folder to use as
$XDG_CONFIG_HOME
--appimage-signature Print digital signature embedded in AppImage
--appimage-updateinfo[rmation] Print update info embedded in AppImage
--appimage-version Print version of AppImage runtime
If you would like the application contained inside this AppImage to store its
data alongside this AppImage rather than in your home directory, then you can
Or you can invoke this AppImage with the --appimage-portable-home option,
which will create this directory for you. As long as the directory exists
and is neither moved nor renamed, the application contained inside this
AppImage to store its data in this directory rather than in your home
This executable contains code from
* runtime, licensed under the terms of
:
Which is good enough reason for me to stop messing with this .run file. It is pretty locked down and the package is an AppImage, which only involves removing that Appimage to uninstall the program - and a .desktop file if one was created to remove an annoying leftover file.