Remove program software from Ubuntu

Source: Internet
Author: User
Tags delete cache

1. Enter the sudo apt-Get remove package name on the terminal.


For example, sudo apt-Get remove Eva

You can also delete it in the new software management package.



Select "clear ..



Or


2. Find "Add/Remove Applications" in the system tool of the Software Center and install it,

Then, you can open "Add/delete programs" in "system-System Tools.
Linux and Windows do not generate useless junk files, but Linux does not automatically delete these files during cache upgrade, which occupies the hard disk!

1. Delete Cache

1. Useful cleanup commands:
Sudo apt-Get autoclean clear old software Cache
Sudo apt-Get clean all software caches
Sudo apt-Get autoremove deletes isolated software that is no longer used by the System

These three commands mainly clean up and upgrade the cache and useless packages.

2. Clear the cache files of opera Firefox:
Ls ~ /. Opera/cache4
Ls ~ /. Mozilla/Firefox/*. Default/Cache

3. Clear isolated packages in Linux:
We can use the following terminal commands:
Sudo apt-Get install deborphan-y

4. Uninstall: Tracker
Generally, I only need to install Ubuntu and delete tracker first. This will not only generate a large number of cache files, but also affect the boot speed. So you can delete it in Suntory.

Appendix:
Temporary File directory for package management:
Package in
/Var/Cache/APT/Archives

If the download is not completed
/Var/Cache/APT/archives/partial

Ii. Delete Software

You can delete Ubuntu software by using the "ubuntu Software Center" or "new version", but sometimes it seems faster and better to use commands ~~

Sudo apt-Get remove -- purge software name

Sudo apt-Get autoremove deletes isolated software that is no longer used by the System

Sudo apt-Get autoclean clear old software Cache

Dpkg-L | grep ^ RC | awk '{print $2}' | sudo xargs dpkg-P clears the residual configuration file

Always clean.

Iii. Delete redundant kernels

1. First, use this command to view the Kernel used by the current Ubuntu System

Uname-

2. Check all the kernels.

Dpkg -- Get-selections | grep Linux

3. Delete it carefully.

Sudo apt-Get remove linux-image-2.6.32-22-generic

PS: Linux-image-xxxxxx-generic is the kernel version to be deleted.
And
Linux-headers-xxxxxx
Linux-headers-xxxxxx-generic can delete all the old kernels in the "xxxxxx" section in the middle. Note that the kernel number is usually smaller.


By default, GCC and G ++ are pre-installed.

Install software

Command: sudo apt-Get install softname1 softname2 softname3 ......
Uninstall Software
Command: sudo apt-Get remove softname1 softname2 softname3 ......
Uninstall and clear configurations
Command: sudo apt-Get remove-Purge softname1
Update Software Information Database
Command: sudo apt-Get update
System Upgrade
Command: sudo apt-Get upgrade
Search for software packages
Command: sudo apt-cache search softname1 softname2 softname3 ......
Deb software package installation and uninstallation

Install Deb Software Package
Command: dpkg-I XXX. Deb
Delete a software package
Command: dpkg-r XXX. Deb
Delete with configuration file
Command: dpkg-r-Purge XXX. Deb
View software package information
Command: dpkg-Info XXX. Deb
View copy details
Command: dpkg-l XXX. Deb
View installed software packages in the system
Command: dpkg-l
Reconfigure the Software Package
Command: dpkg-reconfigure xxx

================================================================================================



Security

After installing Ubuntu, I felt refreshed and tried a lot of new and interesting software. I couldn't help but share my happiness with you. Last said
It is a screenshot capture tool. Without it, I cannot talk about this graphic series. This time, I want to introduce the software tools for addition and removal, and put them in the second place. The reason is very simple,
We can't do without using and managing any software. If you have less time to talk about it, you can start to look at the figure. The small figure is as big as the original one. Click to enlarge the big picture.

The most common and classic options are "Add/Remove" in the "application" drop-down menu in the upper left corner of the system panel... "You can use it to download, install, or uninstall most of the commonly used software. Among them, "education" software is hard to find in Windows operating systems. Shows the opening location of "Add/Remove:

In the window that is opened, the functions are clearly marked and will be understood for the first time.

"Add/Remove..." has a wealth of educational resources, which is a major feature of ubuntu different from windows.

"Add/Remove... "Despite the rich resources, if you want to find and install excellent Chinese support resources and third-party resources, another better way is to use
Ubuntu Tweak. What is Ubuntu Tweak? Tweak in English means "Force pull", which is also a "magic", UBUNTU
Tweak is actually an excellent system enhancement software, which has the function of adding and removing software. Where can I download Ubuntu?
What about tweak? If you do not know about it and do not use the "terminal" (DOS class), you are advised to download the Deb software installation package and double-click it to automatically complete the installation. Ubuntu Tweak
The 0.4.3 Deb package can be obtained at the following address:

Http://ubuntu-tweak.googlecode.com/files/ubuntu-tweak_0.4.3-1%7Eintrepid1_all.deb

After Ubuntu Tweak is installed, you can find it in "application"-"System Tools", as shown in the following figure:

In ubuntu
The tweak window "application"-"Add/Delete" contains a wide range of common software, especially some software that supports better Chinese, such as yongzhong office and the software mentioned above.
Gscrot and so on. The "Source Editor" and "third-party source" provide more and higher software. What is "source", in short, is the source of the software package, which will be mentioned below. Me
Let's take a look at the "Add/Delete" interface in tweak.

Eioffice in is yongzhong office, and ibus is a strongly functional input method support program. This article uses five ibus codes.

The Software Installation tool that is more complex than the above two types of "Add/Delete" programs is "System"-"System Management"-"New Software Package Manager". This article does not introduce much, here, we only provide two images for your reference.

After talking about this, the most common methods for installing and removing software in Ubuntu are executing sudo apt-Get install and sudo on the terminal.
Apt-Get remove command. Although Ubuntu is more and more intuitive and easy to operate, it is still the quickest way to input and execute commands in the terminal. As shown in:


Finally, let's talk about the "Source". This is actually the server address that provides code and software package download. You can choose to join the source and manage it. Generally, you can use the "source Editor" in tweak to add a new source and view the selected source in "third-party software source. In addition, "software source" in "System"-"System Management" is used to manage and add new sources. See the following two figures:

Of course, once you are familiar with Ubuntu, you will get used to adding the source to the terminal and installing software. for editing and adding new sources, you can enter the following command in the terminal to open the source file in the gedit Text Editor:

Sudo gedit/etc/APT/sources. List

To install the above tweak package, you can add the following sources to the open source file:

Deb http://ppa.launchpad.net/tualatrix/ubuntu intrepid main
The Deb-Src http://ppa.launchpad.net/tualatrix/ubuntu intrepid main

Then, run the following command on the terminal to update the source and install tweak.

Sudo apt-Get update
Sudo apt-Get install Ubuntu-tweak

I hope that I can get used to and use terminals with all Ubuntu system enthusiasts. This will make many things get twice the result with half the effort, including the installation and uninstallation of the software mentioned today. For example, if you are clean and can't tolerate unnecessary software packages in the system, just enter a command, that is

Sudo apt-Get autoremove

It is so simple, secure, and efficient.

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.