Use a terminal to delete an application in Ubuntu

Source: Internet
Author: User
As a Linux (Ubuntu) user, every time you install an application from a terminal, you will use the apt-get command. Although you can use a graphical interface to install and delete an application, the command line is still considered a powerful method. After installing many large and small applications, you will need more disk space to install other applications, or some programs will no longer work for you. Most people, especially beginners, can install a program from the terminal after reading the materials, but it is difficult to delete it. I used to do this.

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

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

Most people, especially beginners, can install a program from the terminal after reading the materials, but it is difficult to delete it. I have also had this experience.

This is a simple tutorial on how to delete installed software packages.

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

B. Input

$ Dpkg -- list

(This command displays all installed packages)

Or

$ Dpkg -- list | less

(In this way, you can easily use the User Key for navigation)

Or

If you know the software package name, you can use the pipeline command grep to find the package and use the following statement:

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

Take VLC player as an example.

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.