How to identify the method by which a Linux application was installed
How to identify the method by which a Linux application was installed 08132025
Option A: Check and see if it was installed via APT
If you see something like:
`ii phoenix-code 1.2.3 all Some description here`
````
…then it was installed via APT, and you can uninstall it with:
```sh
`sudo apt remove --purge phoenix-code`
Option B: Check if it was installed as a Flatpak
If it appears here, uninstall with:
To list all details, you can run:
Option C: Check if it was installed as a Snap (unlikely on Mint unless Snap was re-enabled)
If it shows up:
Option D: Check if it’s just an AppImage or a manually extracted binary
Example output: I was looking for Phoenix code
PhoenixCode.desktop
Then a FIND command like this:
Output:
/home/mark/Documents/Phoenix Code
/home/mark/.phoenix-code
/home/mark/.phoenix-code/src-node/www/phoenix-splash
/home/mark/.local/share/phoenix-code.app
Step 1: Remove the Menu Entry (if you haven’t yet)¶
You already found the shortcut file:
To delete it:
That removes it from your app menu.
OR JUST GO TO THE MENU AND RIGHT CLICK - UNINSTALL
✅ Step 2: Delete the App Itself
Now, delete the actual app and its files.
You can do this in three separate commands (each one deletes one folder):
`rm -rf ~/Documents/Phoenix\ Code`
`rm -rf ~/.phoenix-code`
`rm -rf ~/.local/share/phoenix-code.app`
Note: The \ in Phoenix\ Code escapes the space in the folder name
Step 3 (Optional): Double-check It's Gone¶
You can check again if anything related is still hanging around:
Delete anything you find - and be careful it IS for the app you want to remove.