Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use a terminal to delete an application in Ubuntu

2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

Editor to share with you how to use the terminal to delete applications in Ubuntu, I believe most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!

As a Linux (Ubuntu) user, you use the apt-get command every time you install an application from a terminal.

Although you can use a graphical interface to install and delete applications, the command line is still considered a powerful way. After installing many applications, large and small, you will need more disk space to install other applications, or some programs are no longer useful to you.

Most people, especially beginners, are able to install a program from the terminal after consulting the data, but it is difficult to delete it. I've had this experience before.

This is a simple tutorial on how to remove installed packages.

a. Open the terminal (ctrl + alt + t)

b. Input

$dpkg-list

(this command displays all installed packages)

Or

$dpkg-- list | less

(this makes it easy to use the user key to navigate)

Or

If you know the name of the package, you can use the pipe command grep to find it, using the following statement:

$dpkg-- list | grep-I 'packagename'

Take the VLC player as an example.

c. Find the name of the package you want to delete, and here I'm going to use sox.

d. Delete only one package, using the following command:

$sudo apt-get remove

For example, delete a software package called sox and type:

$sudo apt-get remove sox

Enter y to confirm the uninstall.

e. To delete a package and its configuration file, enter:

$sudo apt-get-purge remove

For example, delete a package called sox and all its configuration files:

Sudo apt-get-the above purge remove sox is all the contents of the article "how to use a terminal to delete applications in Ubuntu". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report