Cloudbooklet
  • News
  • Artificial Intelligence
  • Applications
  • Linux
No Result
View All Result
Cloudbooklet
  • News
  • Artificial Intelligence
  • Applications
  • Linux
No Result
View All Result
Cloudbooklet
No Result
View All Result
Home Google Cloud

How to Uninstall Software in Ubuntu – Command Line

by Cloudbooklet
4 years ago
in Google Cloud, AWS
How To Uninstall Software In Ubuntu - Command Line
ShareTweetSendShare
Readers like you help support Cloudbooklet. When you make a purchase using links on our site, we may earn an affiliate commission.

How to uninstall software in Ubuntu from command line. In this guide you are going to remove software packages on your Ubuntu server or system from command line. Using command line provide you more options and control over the software packages for removing. In this guide you are going to learn how to remove unused […]

ADVERTISEMENT

How to uninstall software in Ubuntu from command line. In this guide you are going to remove software packages on your Ubuntu server or system from command line.

Using command line provide you more options and control over the software packages for removing. In this guide you are going to learn how to remove unused softwares.

Prerequisites

  • Root access to the server or a user with sudo privileges. Only root user or a sudo privileged user can only uninstall packages.

List Ubuntu Package Names

You can list out all the installed packages using the following command.

ADVERTISEMENT
sudo apt list --installed

This command will print out a long list of installed packages. You can limit the results using the less command.

You might also like

How To Setup Ssh Keys On Ubuntu

How to Setup SSH Keys on Ubuntu 20.04

4 months ago
Draggan Ai Editing Tool Install And Use Draggan Photo Editor

DragGAN AI Editing Tool Install and Use DragGAN Photo Editor

4 months ago
sudo apt list --installed | less

You can also search for specific packages using the grep command.

sudo apt list --installed | grep package_name

Remove Packages

You can remove packages using the following command.

ADVERTISEMENT
sudo apt remove package_name

You can also remove multiple packages using a single command.

sudo apt remove package_name_1 package_name_2

The remove command uninstalls the given package and might leave some files or directories behind. So, if you want to remove the packages and all the files related to the package you can use the purge command instead of the remove command.

ADVERTISEMENT
sudo apt purge package_name

Uninstall Snap Packages

If the package you wish to remove is not listed in the list command, it might be installed as a snap package.

You can list out the packages that are listed as snap using the following command.

ADVERTISEMENT
snap list

You can remove the snap packages using the following command.

sudo snap remove package_name

Remove Unused Packages

When you install a package it also installs other dependency packages that are related to the package.

ADVERTISEMENT

So, once you remove a package the dependency package will not be uninstalled and will remain in the system.

To remove these kind of unused packages you can use the autoremove command.

sudo apt autoremove

Prepare yourself for a role working as an Information Technology Professional with Linux operating system

Conclusion

Now you have learned how to uninstall software packages and remove all unused packages in your Ubuntu.

Thanks for your time. If you face any problem or any feedback, please leave a comment below.

Tags: DebianUbuntu 18.04
Share2Tweet2SendShare
Cloudbooklet

Cloudbooklet

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Related Posts

Set Up Deep Learning With Nvidia, Cuda, Cudnn On Ubuntu

How to Set Up Deep Learning with Nvidia, CUDA, cuDNN on Ubuntu 22.04

7 months ago
How To Install Or Upgrade Php 8.2 On Ubuntu 22.04

How to Install or Upgrade PHP 8.2 on Ubuntu 22.04

9 months ago
How To Change Timezone On Ubuntu 22.04

How to Change Timezone on Ubuntu 22.04

1 year ago
How To Install Ansible On Ubuntu 22.04

How to Install Ansible on Ubuntu 22.04

1 year ago

Follow Us

Trending Articles

Ai Prompts

10 Best AI Prompts for Writers to Improve Website SEO

September 18, 2023

HeyGen AI: Free AI Video Generator to Create Amazing Videos

Google Bard Extensions: How to Link Your Gmail, Docs, Maps, and More to an AI Chatbot

Create a Professional Website with Wix AI Website Builder

Validator AI: The AI Powered Business Idea Validator

Microsoft Surface Event: The Most Exciting and Innovative Launches and Updates

Popular Articles

Nsfw Ai Generator

18+ Best Free NSFW AI Generators of 2023

September 19, 2023

How to Clear Gmail Inbox with AI: Tips and Tricks

10 Free Business Email Account Providers in 2023

10 Best AI Mockup Generators to Create Stunning Mockups

How to Use Hulu Bug Tracker to Improve Your Streaming Experience

Easyerp AI: How to Create and Roleplay with AI Characters

Subscribe Now

loader

Subscribe to our mailing list to receives daily updates!

Email Address*

Name

Cloudbooklet Logo

Welcome to our technology blog, where we explore the latest advancements in the field of artificial intelligence (AI) and how they are revolutionizing cloud computing. In this blog, we dive into the powerful capabilities of cloud platforms like Google Cloud Platform (GCP), Amazon Web Services (AWS), and Microsoft Azure, and how they are accelerating the adoption and deployment of AI solutions across various industries. Join us on this exciting journey as we explore the endless possibilities of AI and cloud computing.

  • About
  • Contact
  • Disclaimer
  • Privacy Policy

Cloudbooklet © 2023 All rights reserved.

No Result
View All Result
  • News
  • Artificial Intelligence
  • Applications
  • Linux

Cloudbooklet © 2023 All rights reserved.