Sample Header Ad - 728x90

Unix & Linux Stack Exchange

Q&A for users of Linux, FreeBSD and other Unix-like operating systems

Latest Questions

12 votes
4 answers
816 views
Why can't I remove some programs in KDE?
I've been trying for several days to optimize my KDE with Debian 12 bookworm, adjusting various settings and removing some programs that I don't actually need. I tried to uninstall the Konqueror browser because I only want to use Firefox and Dolphin. But when I try to do it via the GUI or a shell, t...
I've been trying for several days to optimize my KDE with Debian 12 bookworm, adjusting various settings and removing some programs that I don't actually need. I tried to uninstall the Konqueror browser because I only want to use Firefox and Dolphin. But when I try to do it via the GUI or a shell, the system shows it wants to remove additional packages I don't want to delete. Why can't Konqueror simply be removed without removing other packages?
Roberto Dvilla (306 rep)
Jun 21, 2025, 04:19 PM • Last activity: Jul 4, 2025, 11:27 PM
2 votes
1 answers
2066 views
Remove recommended dependencies of installed package without uninstalling the package nor its actual dependencies with apt
I want to remove the recommended packages of a package using `apt`. `my-package` is installed, and I want to keep it and its dependencies. ``` apt-cache depends | grep Recommends ``` returns a variety of packages, none of which I want. How can I remove these packages? I can write a bash script to do...
I want to remove the recommended packages of a package using apt. my-package is installed, and I want to keep it and its dependencies.
apt-cache depends  | grep Recommends
returns a variety of packages, none of which I want. How can I remove these packages? I can write a bash script to do it but I'm hoping there's an apt way to do it. I have searched online and haven't found a way to uninstall these recommended packages *without uninstalling the package itself and its required dependencies*. In other words, I want to keep my-package and its dependencies, but remove the packages it recommends. Furthermore I ideally don't want to edit config files; I want to keep the system settings untouched.
user481099
Jul 11, 2021, 04:55 AM • Last activity: Jul 1, 2025, 02:02 AM
2 votes
4 answers
2150 views
How to identify and remove orphaned config files of uninstalled Software?
Programs often store config files in the home directory usually in a hidden directory, often but not limited to sub-directories of ~/.config, ~/.local or ~/.gnome After uninstalling the programs, the config-files are still kept (which usually is preferred). Currently I look through the hidden direct...
Programs often store config files in the home directory usually in a hidden directory, often but not limited to sub-directories of ~/.config, ~/.local or ~/.gnome After uninstalling the programs, the config-files are still kept (which usually is preferred). Currently I look through the hidden directories of home from time to time, try to guess where the directories belong to, and delete them, if I'm not using the program anymore. But this is time-consuming and difficult/error-prone, because sometimes it's hard to guess, which program a directory belongs to. I wonder if there is tool or method that could help me here. (Similar to Bleachbit or CCleaner on Win, but afaik they don't have this functionality). **Is there an easy way to identify and remove orphaned config-directories of uninstalled software?** **Edit:** I'm using Arch and Ubuntu, but solutions for other distros would be interesting, too. The solution doesn't need to be a user friendly GUI-application (would be nice, though), a CLI command or script would work for me, too.
dynobo (121 rep)
Dec 17, 2017, 10:37 AM • Last activity: Jun 5, 2025, 07:07 PM
0 votes
0 answers
56 views
Uninstall/delete one Linux distro without deleting/damaging /home partition
I have a quite complex setup of disks containing OSs in my computer: There are two HDD drives containing Windows XP, Windows 7, and a Linux. This all was running well, but I decided to buy an SDD additionally and installed a second Linux there. For both Linux installations I used separate partitions...
I have a quite complex setup of disks containing OSs in my computer: There are two HDD drives containing Windows XP, Windows 7, and a Linux. This all was running well, but I decided to buy an SDD additionally and installed a second Linux there. For both Linux installations I used separate partitions for mount point /home. Now I would like to uninstall/delete the Linux on the HDD, because the one on the SDD works well and is faster. **I want to make sure two things:** a) the /home partition on HDD stays and I can keep on using it from the SDD Linux (currently I can, I see both the /home on SDD and the "/home-hdd" on the HDD b) all other OSs remain bootable **Is it save for me to just wipe the HDD partition containing the Linux and its swap? Or do I have to take any precautions or changes before that?** Follow-up question: What partitions do I have to delete? From the HDD Linux point of view: / (root), /swap, and /opt. Obviously not /home. But what about /boot? UPDATE: This is the output of *lsblk* from the SDD Linux: NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS loop0 7:0 0 179,4M 1 loop /snap/chromium/3121 loop1 7:1 0 4K 1 loop /snap/bare/5 loop2 7:2 0 179,5M 1 loop /snap/chromium/3125 loop3 7:3 0 73,9M 1 loop /snap/core22/1908 loop4 7:4 0 73,9M 1 loop /snap/core22/1963 loop5 7:5 0 68,4M 1 loop /snap/cups/1085 loop6 7:6 0 67,2M 1 loop /snap/cups/1100 loop7 7:7 0 505,1M 1 loop /snap/gnome-42-2204/176 loop8 7:8 0 516M 1 loop /snap/gnome-42-2204/202 loop9 7:9 0 91,7M 1 loop /snap/gtk-common-themes/1535 loop10 7:10 0 44,4M 1 loop /snap/snapd/23771 loop11 7:11 0 50,9M 1 loop /snap/snapd/24505 sda 8:0 0 931,5G 0 disk ├─sda1 8:1 0 150G 0 part └─sda2 8:2 0 781,5G 0 part sdb 8:16 0 1,8T 0 disk ├─sdb1 8:17 0 100,6G 0 part ├─sdb3 8:19 0 512B 0 part ├─sdb5 8:21 0 814,4G 0 part ├─sdb6 8:22 0 186,3G 0 part /home-hdd ├─sdb7 8:23 0 37,3G 0 part ├─sdb8 8:24 0 458,2G 0 part ├─sdb9 8:25 0 9,3G 0 part ├─sdb10 8:26 0 7,4G 0 part └─sdb11 8:27 0 249,6G 0 part sdc 8:32 0 238,5G 0 disk ├─sdc1 8:33 0 58,6G 0 part / ├─sdc2 8:34 0 14,6G 0 part │ └─cryptswap 252:0 0 14,6G 0 crypt [SWAP] ├─sdc3 8:35 0 1K 0 part ├─sdc5 8:37 0 135,9G 0 part /home └─sdc6 8:38 0 29,3G 0 part /opt sr0 11:0 1 1024M 0 rom I hope this helps :)
anjuta (101 rep)
May 16, 2025, 09:29 AM • Last activity: May 16, 2025, 11:49 AM
0 votes
1 answers
174 views
How can uninstall a built package completely?
I install taskwarrior this way: ```sh tar xzf task-3.3.0.tar.gz cd task-3.3.0 cmake -S . -B build -DCMAKE_BUILD_TYPE=Release . cmake --build build sudo cmake --install build cd .. ; rm -r task-3.3.0.tar.gz ``` I can check it with `checkinstall`: sudo checkinstall checkinstall 1.6.3, Copyright 2010 F...
I install taskwarrior this way:
tar xzf task-3.3.0.tar.gz              
cd task-3.3.0                        
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release .  
cmake --build build                              
sudo cmake --install build                       
cd .. ; rm -r task-3.3.0.tar.gz
I can check it with checkinstall: sudo checkinstall checkinstall 1.6.3, Copyright 2010 Felipe Eduardo Sanchez Diaz Duran This software is released under the GNU GPL. ***************************************** **** Debian package creation selected *** ***************************************** This package will be built according to these values: 0 - Maintainer: [ root@debian ] 1 - Summary: [ taskwarrior ] 2 - Name: [ task ] 3 - Version: [ 3.3.0 ] 4 - Release: [ 1 ] 5 - License: [ GPL ] 6 - Group: [ checkinstall ] 7 - Architecture: [ amd64 ] 8 - Source location: [ task-3.3.0 ] 9 - Alternate source location: [ ] 10 - Requires: [ ] 11 - Recommends: [ ] 12 - Suggests: [ ] 13 - Provides: [ task ] 14 - Conflicts: [ ] 15 - Replaces: [ ] How can remove it completely? sudo make uninstall make: *** No rule to make target 'uninstall'. Stop. Romeo Ninov's suggestion can't work! cmake -n --install build CMake Error: Unknown argument --install CMake Error: Run 'cmake --help' for all supported options. cmake -n install CMake Error: Unknown argument -n CMake Error: Run 'cmake --help' for all supported options.
showkey (499 rep)
Feb 11, 2025, 02:57 AM • Last activity: Feb 11, 2025, 09:41 AM
1 votes
1 answers
484 views
I have a package I can't seem to uninstall (Debian)
So I am using the [Pine Phone][1] running Debian and it comes preinstalled with an app [Chatty][2] which does SMS but isn't able to do MMS. A community member had their own branch which runs MMS so I went and built that from source and uninstalled the original Chatty through `apt` but it seems like...
So I am using the Pine Phone running Debian and it comes preinstalled with an app Chatty which does SMS but isn't able to do MMS. A community member had their own branch which runs MMS so I went and built that from source and uninstalled the original Chatty through apt but it seems like now I am not able to update this from either building from source or through apt. Either way when I look at my app version it shows v0.1.12 and the current version is v0.4. Now my issue is I know Chatty isn't installed through apt because when I run sudo apt remove chatty I get back not installed, so not removed and when I go in and uninstall through version built from source with ninja uninstall -C build that runs just fine but Chatty is still there. My current theory is a few months back I made the clone for the MMS branch and built it from source but when trying to pull more recent code it didn't work so I deleted that directory without uninstalling it so that is the current install. Is there any way to delete this app? When I installed through apt or build from source they both seem to install but they still open the older version. So if not a way to uninstall is there a way to make it launch a specific version? Because in theory I have just built the most recent version of the program but it doesn't launch that version.
greenbug (45 rep)
Aug 31, 2021, 08:16 PM • Last activity: Jul 11, 2024, 06:00 AM
33 votes
4 answers
123333 views
Can I Remove GUI From Debian?
I just did my first install of any Linux OS, and I accidentally selected "Desktop GUI" in the install, but I want to build everything myself. Is there any way by which I can remove the GUI environment without re-installing OS?
I just did my first install of any Linux OS, and I accidentally selected "Desktop GUI" in the install, but I want to build everything myself. Is there any way by which I can remove the GUI environment without re-installing OS?
OneChillDude (617 rep)
Nov 21, 2012, 08:23 PM • Last activity: Jun 11, 2024, 02:03 PM
0 votes
1 answers
961 views
How to delete the app icon on the desktop
I am new to Linux and Fedora 40 used now. I just deleted the `navicat-sqlite-en-xxx.AppImage` from Downloads folder successfully since I want to uninstall it. But `Navicat 17 for Sqlite` app icon still on my desktop. How could I delete it?
I am new to Linux and Fedora 40 used now. I just deleted the navicat-sqlite-en-xxx.AppImage from Downloads folder successfully since I want to uninstall it. But Navicat 17 for Sqlite app icon still on my desktop. How could I delete it?
Nano HE (11 rep)
Jun 8, 2024, 11:59 PM • Last activity: Jun 10, 2024, 11:42 AM
0 votes
0 answers
133 views
texlive miktex conflict - texhash
I'm working with Ubuntu 22.04 and texlive (I'm using the Ubuntu texlive from tug.org). I tried to install miktex but gave up because I could not finalize the installation of the miktex console, which would have allowed me to finalize the complete installation. Since I uninstalled miktex, the `texhas...
I'm working with Ubuntu 22.04 and texlive (I'm using the Ubuntu texlive from tug.org). I tried to install miktex but gave up because I could not finalize the installation of the miktex console, which would have allowed me to finalize the complete installation. Since I uninstalled miktex, the texhash command no longer works. sudo texhash the terminal answers me: texhash: error while loading shared libraries: libmiktex-setup.so.6: cannot open shared object file: No such file or directory However, I uninstalled miktex using the dedicated page and reinstalled texlive.
Régis FDS (1 rep)
Jun 1, 2024, 05:27 AM • Last activity: Jun 2, 2024, 09:15 AM
-2 votes
1 answers
93 views
Need Help on How to Uninstall .tar.bz2 file in fedora
I installed `wingpro-10.0.3.0-linux-x64.tar.bz2` several days ago. Could you please teach me how to uninstall the application since `yum remove` or `dnf remove` don't work on `tar.bz2` type file. Appreciated for your help.
I installed wingpro-10.0.3.0-linux-x64.tar.bz2 several days ago. Could you please teach me how to uninstall the application since yum remove or dnf remove don't work on tar.bz2 type file. Appreciated for your help.
Nano HE (11 rep)
May 19, 2024, 12:59 AM • Last activity: May 20, 2024, 10:29 PM
0 votes
1 answers
62 views
Uninstalled a package, but keep getting signature errors and cannot update system
I installed `sublime-text`, which I then uninstalled. To check: > sudo pactree sublime-text error: package 'sublime-text' not found > sudo pactree -r sublime-text error: package 'sublime-text' not found Now I want to update my system: > sudo pacman -Syu error: sublime-text: signature from "Sublime H...
I installed sublime-text, which I then uninstalled. To check: > sudo pactree sublime-text error: package 'sublime-text' not found > sudo pactree -r sublime-text error: package 'sublime-text' not found Now I want to update my system: > sudo pacman -Syu error: sublime-text: signature from "Sublime HQ Pty Ltd " is unknown trust :: Synchronizing package databases... system is up to date world is up to date galaxy is up to date lib32 is up to date universe is up to date omniverse is up to date extra is up to date community is up to date multilib is up to date sublime-text 1837.0 B 4.30 KiB/s 00:00 [----------------------------------------------------------------------------] 100% error: sublime-text: signature from "Sublime HQ Pty Ltd " is unknown trust error: failed to synchronize all databases (invalid or corrupted database (PGP signature)) It looks like there is still something left of sublime-text that does not allow me to proceed. How can I completely clean up my system from this package?
Pietro (663 rep)
Apr 11, 2024, 09:59 PM • Last activity: Apr 14, 2024, 03:00 PM
1 votes
1 answers
1128 views
Cannot open MiKTeX, error “File is empty”. Cannot uninstall
I am using KDE neon. After I installed MiKTeX, I updated everything from it, downloaded the "standard package" and then tried to install TeXStudio... a message appeared "installation failed". But TeXStudio is fine. I can run it. I go to MiKTeX Console... and suddenly I am unable to enter, getting th...
I am using KDE neon. After I installed MiKTeX, I updated everything from it, downloaded the "standard package" and then tried to install TeXStudio... a message appeared "installation failed". But TeXStudio is fine. I can run it. I go to MiKTeX Console... and suddenly I am unable to enter, getting this message: MiKTeX Error Report Panic ensues. MiKTeX actually says in their documentation that entering the console is needed to first restore initial status to fully uninstall it. But I can't. Trying
-shell
sudo apt-get purge miktex
does nothing good. It says that there is an empty file, the same thing as when you try to open the console: > miktexsetup: File is empty. > path="/home/MYUSERNAME/.miktex/texmfs/data/miktex/data/le/90a0591fc444a4d943d26e2f84799e00.fndb-5" ---------- When executing
-shell
sudo dpkg --remove --force-remove-reinstreq miktex
I get this:
(Reading database ... 174113 files and directories currently installed.)
Removing miktex (2.9.7300-bionic1) ...
miktexsetup: File is empty.
miktexsetup: Data: path="/home/MYUSERNAME/.miktex/texmfs/data/miktex/data/le/90a0591fc444a4d943d26e2f84799e00.fndb-5"
dpkg: error processing package miktex (--remove):
 installed miktex package pre-removal script subprocess returned error exit status 1
Errors were encountered while processing:
 miktex
What am I supposed to do? MiKTeX Console still appears as if it is still a program.
ivanovitx (81 rep)
Mar 1, 2020, 12:29 AM • Last activity: Feb 7, 2024, 01:29 PM
14 votes
2 answers
64654 views
How to remove all installed dependent packages while removing a package in CentOS 7?
I am using CentOS 7. I installed okular, which is a PDF viewer, with the command: sudo yum install okular As you can see in the picture below, it installed 37 dependent packages to install okular. [![installed dependencies][1]][1] But I wasn't satisfied with the features of the application and I dec...
I am using CentOS 7. I installed okular, which is a PDF viewer, with the command: sudo yum install okular As you can see in the picture below, it installed 37 dependent packages to install okular. installed dependencies But I wasn't satisfied with the features of the application and I decided to remove it. The problem is that if I remove it with the command: sudo yum autoremove okular It only removes four dependent packages. removed packages with autoremove And if I remove it with the command: sudo yum remove okular It removes only one package which is okular.x86_64. Now, my question is that is there a way to remove all 37 installed packages with a command or do I have to remove all of them one by one?
ukll (452 rep)
Aug 16, 2016, 03:26 PM • Last activity: Jan 6, 2024, 02:35 PM
0 votes
1 answers
56 views
How would I install a different copy of linux on a old laptop?
TLDR; I am trying to install a GUI version of Linux on an old laptop with Ubuntu Server already installed, but get a grub error when I boot. How can I get past this problem. error: file '/boot/grub/i386-pc/normal.mod' not found. Entering rescue mode... Current Linux Version: Ubuntu Server 22.04.3 LT...
TLDR; I am trying to install a GUI version of Linux on an old laptop with Ubuntu Server already installed, but get a grub error when I boot. How can I get past this problem. error: file '/boot/grub/i386-pc/normal.mod' not found. Entering rescue mode... Current Linux Version: Ubuntu Server 22.04.3 LTS New OS: Linux Mint 21.2 64 bit (disk image on USB) I installed Ubuntu Server 22.04.3 LTS on my old laptop. The intention was to back up all my photos onto a home server. Now, I want to install a Desktop version of Linux on it. I have tried to research and ask some some friends, but I am just not knowledgeable enough about the subject to understand. What can I do/investigate to move forward? Please treat me like a 7 year old, when I see 'grub' I think of an insect in the ground.
Michael McKeehan (1 rep)
Nov 30, 2023, 09:53 PM • Last activity: Dec 7, 2023, 04:49 PM
1 votes
1 answers
368 views
delete a package/app installed with pacman -U option
I have installed a docker desktop application on my Arch Linux xfce4 and I want to delete it because I want to only use `docker-cli` (because the docker desktop conflicts with `docker-cli` in services and daemons). I installed docker desktop with these steps: 1. install `docker-cli` (docker-engine,d...
I have installed a docker desktop application on my Arch Linux xfce4 and I want to delete it because I want to only use docker-cli (because the docker desktop conflicts with docker-cli in services and daemons). I installed docker desktop with these steps: 1. install docker-cli (docker-engine,docker-compose.....all the required stuff) 2. downloaded the arch package 3. then did: sudo pacman -U ./docker-desktop--.pkg.tar.zst How can I now remove this package? I have searched the internet but couldn't find a specific answer.
T-NeX (11 rep)
Oct 20, 2023, 10:35 AM • Last activity: Nov 13, 2023, 02:13 PM
6 votes
2 answers
1146 views
How can I uninstall part of a package?
I have installed the [BSD games package](https://github.com/vattam/BSDGames). Many of the games are awful or broken, so I wish to uninstall some of them without uninstalling others. Is there an easy way to do that? Currently, I'm `sudo rm`ing them from `usr/share/applications/bsdgames` and `usr/game...
I have installed the [BSD games package](https://github.com/vattam/BSDGames) . Many of the games are awful or broken, so I wish to uninstall some of them without uninstalling others. Is there an easy way to do that? Currently, I'm sudo rming them from usr/share/applications/bsdgames and usr/games/.
J. Mini (117 rep)
Nov 11, 2023, 02:14 PM • Last activity: Nov 13, 2023, 12:13 PM
1 votes
1 answers
1212 views
How to completely uninstall Guix in Debian
I installed Guix from the Debian main repository (`sudo apt-get install guix`). I want to uninstall it, so I ran `sudo apt-get purge guix` and `sudo apt-get autoremove`. However, it seems that Guix is still using up lots of space on my computer (e.g. `/gnu/store/` and `/var/guix/` are still full of...
I installed Guix from the Debian main repository (sudo apt-get install guix). I want to uninstall it, so I ran sudo apt-get purge guix and sudo apt-get autoremove. However, it seems that Guix is still using up lots of space on my computer (e.g. /gnu/store/ and /var/guix/ are still full of files). How do I completely remove Guix?
Flux (3238 rep)
Oct 14, 2023, 11:24 PM • Last activity: Oct 15, 2023, 01:27 AM
-1 votes
1 answers
1047 views
How to uninstall helix-editor completely along with all helix related files and configurations?
The steps here are NOT clear to me. I am using Debian https://github.com/helix-editor/helix/discussions/5228 Installation steps: $ git clone https://github.com/helix-editor/helix ~/helix ‹master› $ cargo install --path helix-term --locked **Can some one guide me in simple steps, please?**
The steps here are NOT clear to me. I am using Debian https://github.com/helix-editor/helix/discussions/5228 Installation steps: $ git clone https://github.com/helix-editor/helix ~/helix ‹master› $ cargo install --path helix-term --locked **Can some one guide me in simple steps, please?**
tom_kp (53 rep)
Apr 26, 2023, 12:03 PM • Last activity: Apr 26, 2023, 02:47 PM
5 votes
2 answers
54950 views
How to remove programs completely on Arch Linux, including files that it created in home directories?
I'd `atom` installed on the system and tried to remove it with: pacman -Rs atom I still have a `.atom` folder in `/home/user` and another `Atom` folder in `/home/user/.config`, not sure whether there's anymore left in any other place! How to remove programs together with all the folders and files it...
I'd atom installed on the system and tried to remove it with: pacman -Rs atom I still have a .atom folder in /home/user and another Atom folder in /home/user/.config, not sure whether there's anymore left in any other place! How to remove programs together with all the folders and files it created automatically over the time?
user358527
Aug 8, 2019, 03:05 AM • Last activity: Apr 21, 2023, 12:08 PM
1 votes
1 answers
130 views
Unable to delete data of flatpak - connection is closed error
I was using KdenLive but I messed up some of the settings so I decided to do a fresh install. When I used the GUI to remove then reinstall, the settings were intact. Then I went to the terminal and ran this command: ``` flatpak uninstall --delete-data org.kde.kdenlive ID Branch Op 1. [-] org.kde.kde...
I was using KdenLive but I messed up some of the settings so I decided to do a fresh install. When I used the GUI to remove then reinstall, the settings were intact. Then I went to the terminal and ran this command:
flatpak uninstall --delete-data org.kde.kdenlive


        ID                             Branch        Op
 1. [-] org.kde.kdenlive               stable        r
 2. [-] org.kde.kdenlive.Locale        stable        r

Uninstall complete.
Delete data for org.kde.kdenlive? [y/n]: y
error: The connection is closed
As you can see the program is deleted but when I try to remove the data it spits out a
closed
error. What can I do to fully remove all data so that I start with default settings when I reinstall it later?
hfd97726 (11 rep)
Apr 4, 2023, 03:47 AM • Last activity: Apr 4, 2023, 04:54 AM
Showing page 1 of 20 total questions