Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
4
rated 0 times [  4] [ 0]  / answers: 1 / hits: 763  / 3 Years ago, mon, june 21, 2021, 7:35:45

enter image description here


This is what my program center looks like. Tried to get JDownloder2 from different sources, because non was working. Still, none is.


I want to get rid of them again.


I come from Windows. Here, i go to Programs and Settings and uninstall. If shortcuts remain, i follow them to the source, remove the source folder and then the shortcut. If i have a fancy day, i clean the registry afterwards.


I want an equal, always working way on how to do this in Ubuntu.
There is software Center, however, clicking remove there does nothing. And it would probably remove at most one of them.
Probably I got some of them by apt install, some by snap, some by downloading a deb, some by executing a JD2install.sh.


Afaik, i can not follow one of these shortcuts to the source folder and remove this.


sudo apt remove jdownloader2

also does nothing.


I want to understand how Ubuntu handles software installation, where the programs go, and if there is a general way to get rid of stuff, without having to remember using which package manager I installed sth.


It can't be that I use Ubuntu because I dev software but am too stupid to make everyday installations :D


Any help / guide / yt video / ... is appreciated.


More From » apt

 Answers
6

There is no general way to remove software. How software is removed, depends on how it is installed. And Linux in general knows many different ways to install software.



  • In its simplest way, "installing" software can be a matter of copying the program files in a directory on the drive, and launching the executable from the directory where it resides. Uninstalling then boils down to deleting that directory.

  • In its most complex way, software can be installed by compiling it from the source code. Compiling means converting the source code readable by humans to machine code that is understood by your computer processor. The complexity usually does not result so much from the compiling itself, but from the need to make sure that all other components the software depends on, i.e., the dependencies, are already available on the system. For uninstalling, you depend on the kindness of the developper. If he/she did not provide an uninstall script, your only way of uninstalling will be to check where the install script installed the files, and manually remove these yourself.

  • Linux distributions automate package management for the user by providing precompiled and autoinstalling packages. This allows the user to install software that has been tested for the distribution by using the dedicated tools, from command line, i.e. using apt, or the older apt-get, or aptitude on Ubuntu, to graphical interfaces like Synaptic Package Manager, or modern and very easy interfaces like the Ubuntu store. Different families of Linux systems use their own systems: Debian and derivatives including Ubuntu and Mint use the APT system, Fedora and derivates uses the RPM package manager, Arch and derivates use the pacman package manager system. All these systems offer an easy way to uninstall the software that was installed using that system.



  • To make matters more complicated, "universal" package formats emerged in recent years. These are packaging formats developed to be used across distributions, i.e. package only once and install on many different linux systems, Ubuntu, Fedora, Arch, ... alike. Snap is developed by the Ubuntu developers and is enabled by default. Then there is also Flatpak. Both formats again allow for easy installation and uninstall using their dedicated tools, or, very easily, through the Software center if the Snap and Flatpak integrations are installed.

  • There is also the AppImage format, a third way for providing "universal packages". These are single files, which can be run in many Linux systems by making them executable. "Installing" means just downloading the file, to uninstall, just delete the file.


Of course, this is the general answer to the general question you stated in the question title and later in the body of your question. It is aimed to provide you some conceptual overview.


For your specific problem, i.e., having several icons in your application overview or application menu, you understand from the explanation above that how to remove the actual software, i.e., all program files, depends on the way you have installed the program. The menu entries are represented by little text files with the extension .desktop. If all else fails, you can remove these entries by deleting these little files, which are installed in specific directories, /usr/share/applications for applications installed using the APT system.


To remove these, it may be easier to install a graphical utility like Alacarte or Menulibre, which allow to remove and edit application menu entries.


[#542] Monday, June 21, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
pheter

Total Points: 223
Total Questions: 111
Total Answers: 119

Location: Guadeloupe
Member since Sat, Aug 22, 2020
4 Years ago
pheter questions
Tue, Jul 5, 22, 22:50, 2 Years ago
Sat, Nov 27, 21, 17:50, 2 Years ago
Mon, Oct 25, 21, 02:09, 3 Years ago
;