How to Uninstall Software Using the Command Line in Linux



You can use the following command to uninstall a program in Linux. Press Ctrl+Alt+T to open terminal..

Press ctrl+shift+v to paste commands in the terminal

apt list –installed

The commands displays the Installed apps on your Linux system.

sudo apt purge screenrec

To uninstall a program, use the apt command, which is the general command for installing programs and manipulating installed programs. For example, the above command uninstalls ScreenRec and deletes all the configuration files, using the purge command.

sudo apt autoremove

Programs installed in Linux — just like Windows and MacOS — depend on other packages to function. When you uninstall a program, there may be packages that the uninstalled program depended upon that are no longer used. To remove any unused packages, use the “autoremove” command, as shown in the following example.

Source
How to Uninstall Software Using the Command Line in Linux

[ad_2]

source

Exit mobile version