Quick Answer: How to Uninstall Package in Linux?

Quick Answer: How to Uninstall Package in Linux?
Contents

Solution

  • apt-get allows you to manage packages and dependencies.
  • To uninstall a package, we use apt-get:
  • sudo => to do as administrator.
  • apt-get => ask for apt-get to do.
  • remove => remove.
  • kubuntu-desktop => the package to remove.
  • rm is a command to delete files or folders.
  • to delete the xxx file in the same location:

How do I uninstall a package in Ubuntu?

Remove software

  1. Using apt from command line. Just use the command. sudo apt-get remove package_name.
  2. Using dpkg from command line. Just use the command. sudo dpkg -r package_name.
  3. Using Synaptic. Search for this package.
  4. Using Ubuntu Software Center. Find this package in TAB “Installed”

How do I uninstall a yum package?

2. Uninstall a package using yum remove. To remove a package (along with all its dependencies), use ‘yum remove package’ as shown below.

Marcus Vance
Author

Marcus Vance

Marcus Vance is a cybersecurity auditor and technology writer dedicated to educating the public about online safety, data privacy regulations, enterprise security, and emerging cyber threats.