Question about environment-modules package

Gunnar Hjalmarsson gunnarhj at ubuntu.com
Wed Sep 23 22:14:20 UTC 2020


On 2020-09-21 22:00, miheer vaidya wrote:
> When I did:
> ```
> sudo apt remove environment-modules
> ```
> The file: `/etc/profile.d/modules.sh` persisted. I wonder if it
> should've been removed by uninstall?

No, files in /etc are preserved with that command. To do a complete 
uninstall including configuration files in /etc, do:

sudo apt purge environment-modules

-- 
Gunnar Hjalmarsson
https://launchpad.net/~gunnarhj




More information about the Ubuntu-devel-discuss mailing list