Python's easy_install
makes installing new packages extremely convenient. Python的easy_install
使安裝新包很是方便。 However, as far as I can tell, it doesn't implement the other common features of a dependency manager - listing and removing installed packages. 可是,據我所知,它沒有實現依賴項管理器的其餘常見功能 - 列出和刪除已安裝的軟件包。 python
What is the best way of finding out what's installed, and what is the preferred way of removing installed packages? 找出已安裝的內容的最佳方法是什麼,以及刪除已安裝軟件包的首選方法是什麼? Are there any files that need to be updated if I remove packages manually (eg by rm /usr/local/lib/python2.6/dist-packages/my_installed_pkg.egg
or similar)? 若是我手動刪除包,是否須要更新任何文件(例如經過rm /usr/local/lib/python2.6/dist-packages/my_installed_pkg.egg
或相似文件)? spa