how to remove software on ubuntu
2013-11-18 08:13
453 查看
The last day-to-day package operation is removing things you no longer want. This is done through the apt-get remove command, as follows:
howard@howard-OptiPlex-320:~$sudo apt-get remove firefox
Removing packages can be dangerous, because APT also removes any software that relies on the packages you selected. For example, if you were to run apt-get remove libgtk2.0-0 (the main graphical toolkit for Ubuntu), you would probably find that APT insists
on removing more than a hundred other things. The moral of the story is this:
When you remove software, read the APT report carefully before pressing Y to continue with the uninstall.
A straight apt-get remove leaves behind the configuration files of your program so that if you ever reinstall it, you do not also need to reconfigure it. If you want the configuration files removed as well as the program files, run this command instead:
howard@howard-OptiPlex-320:~$ sudo apt-get remove --purge firefox
That performs a full uninstall.
howard@howard-OptiPlex-320:~$sudo apt-get remove firefox
Removing packages can be dangerous, because APT also removes any software that relies on the packages you selected. For example, if you were to run apt-get remove libgtk2.0-0 (the main graphical toolkit for Ubuntu), you would probably find that APT insists
on removing more than a hundred other things. The moral of the story is this:
When you remove software, read the APT report carefully before pressing Y to continue with the uninstall.
A straight apt-get remove leaves behind the configuration files of your program so that if you ever reinstall it, you do not also need to reconfigure it. If you want the configuration files removed as well as the program files, run this command instead:
howard@howard-OptiPlex-320:~$ sudo apt-get remove --purge firefox
That performs a full uninstall.
相关文章推荐
- how to install software on ubuntu?
- Howto Install and Configure Chinese Input Methods on Ubuntu
- How to completely uninstall mysql on Ubuntu
- How to Install Docker on Ubuntu 14.04 LTS
- How to install the Sun Java JDK on Ubuntu 10.10
- How To Install Apache Tomcat 8 on Ubuntu 16.04
- How To Use MySQL with Your Ruby on Rails Application on Ubuntu 14.04
- How To Install Java on Ubuntu with Apt-Get
- How to install android studio on ubuntu14.04
- How to install and configure Apache and PHP on ubuntu
- 如何在ubuntu 上安装eclipse: how to install eclipse on ubuntu
- How To Create a SSL Certificate on Apache for Ubuntu 14.04
- How to remove an ASM instance and its corresponding database(s) on WINDOWS
- How to Compile Android on Ubuntu (12.04)
- How To Install LAMP (Linux, Apache, MySQL, PHP) On Ubuntu 11.04/11.10/12.04
- How to fix “System program problem detected” error on Ubuntu
- How to install Pygame for Python 3.4 on Ubuntu 14.04(转)
- How to install gCvs on ubuntu 10.04
- Howto Enable and Use A2DP Sink on Ubuntu Linux with Bluez