开发者

what is the difference between easy_install and apt-get [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange sit开发者_运维知识库e, you can leave a comment to explain where the question may be able to be answered.

Closed 7 years ago.

Improve this question

I have just started using Ubuntu as my first Linux, have a couple of question.

  1. What is the difference between easy_install and apt-get?
  2. How do I update my packages with packages installed in both these ways?
  3. They are under pythonpath right?


You are confusing two completely separate things.

Aptitude, of which apt_get is one part, is the Ubuntu system-wide package manager. It has packages for absolutely everything - applications, libraries, system utils, whatever. They may not be the latest versions, as packages are usually only updated for each separate Ubuntu release (except for security and bug fixes).

easy_install is a Python-only system for install Python libraries. It doesn't do anything else. The libraries are installed in the system Python's site-packages directory. There are some downsides to easy_install, one of which is that it's hard to upgrade and uninstall libraries. Use pip instead.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜