代码之家  ›  专栏  ›  技术社区  ›  Christopher Mahan

Debian Lenny上的Python 2.6。可执行文件应该放在哪里?

  •  0
  • Christopher Mahan  · 技术社区  · 16 年前

    建议?

    4 回复  |  直到 16 年前
        1
  •  9
  •   jamessan    16 年前

    /usr/local 根据 FHS

    /usr/local层次结构供系统管理员在本地安装软件时使用。

    ./configure --prefix=/usr/local ...

        2
  •  3
  •   steveha    16 年前

    • 从源代码构建,并从源代码安装到/usr/local/bin。

        3
  •  2
  •   Dirk is no longer here    16 年前

    我建议从测试或unstable中获取源代码包,并在本地重新构建,以便获得.deb。backports.org没有吗?

    编辑: here

        4
  •  0
  •   dehowell    16 年前

    你最安全的选择是将Python 2.6 /opt ./configure --prefix=/opt /etc/profile 以便 /opt/bin 首先进行搜索。