GithubHelp home page GithubHelp logo

Comments (13)

lmhdrive avatar lmhdrive commented on September 27, 2024 1

区别在 releases 页面中有说明,简单来说,就是 x86_64 v1 ~ v4 的区别,现代 x86_64 CPU 一般都是 v3 了,老一点的是 v2,再老点的就是 v1(不带 v 字眼的),如果有疑问,可以 百度、Google 搜索 x86_64 微架构级别(x86_64 v1 v2 v3 v4 什么区别,如何确定我的 CPU 是 v几)。

这个是向后兼容的,也就是若目标 CPU 支持 x86_64 v4,则可以运行 x86_64(v1)、x86_64_v2、x86_64_v3、x86_64_v4 版本的 ELF 文件。若希望性能最佳,请选择目标 CPU 支持的最高级别。如果不想关注这些,能用就行,那就无脑选 x86_64(不带v的)。

x86_64我都试了,无法运行,显示command not found,系统是Debian 12.6
2024-08-30_203645

from chinadns-ng.

lmhdrive avatar lmhdrive commented on September 27, 2024 1

服了。你真厉害!感谢大佬,我水平欠佳,以后多向你学习!

from chinadns-ng.

zfl9 avatar zfl9 commented on September 27, 2024

去 releases 页面下载预编译的文件。

自己编译和预编译的没区别,当搞不定编译的时候,就不需要浪费时间折腾编译了。

from chinadns-ng.

lmhdrive avatar lmhdrive commented on September 27, 2024

就是预编译的文件,怎么运行啊?不是deb不会安装。不知道这些区别在哪儿?
2024-08-29_222905
2024-08-29_222946

from chinadns-ng.

zfl9 avatar zfl9 commented on September 27, 2024

下载对应架构的 chinadns-ng 文件,进行适当的重命名(如果需要),然后 chmod +x 添加可执行权限,然后运行即可。

from chinadns-ng.

zfl9 avatar zfl9 commented on September 27, 2024

区别在 releases 页面中有说明,简单来说,就是 x86_64 v1 ~ v4 的区别,现代 x86_64 CPU 一般都是 v3 了,老一点的是 v2,再老点的就是 v1(不带 v 字眼的),如果有疑问,可以 百度、Google 搜索 x86_64 微架构级别(x86_64 v1 v2 v3 v4 什么区别,如何确定我的 CPU 是 v几)。

这个是向后兼容的,也就是若目标 CPU 支持 x86_64 v4,则可以运行 x86_64(v1)、x86_64_v2、x86_64_v3、x86_64_v4 版本的 ELF 文件。若希望性能最佳,请选择目标 CPU 支持的最高级别。如果不想关注这些,能用就行,那就无脑选 x86_64(不带v的)。

from chinadns-ng.

zfl9 avatar zfl9 commented on September 27, 2024

这个不是 deb 文件,这是可执行文件,下载后,执行 chmod +x chinadns-ng* 给予它可执行权限,然后运行就好了呀,有这么难理解吗?使用过 Linux 系统的都明白吧。。。

from chinadns-ng.

lmhdrive avatar lmhdrive commented on September 27, 2024

哦,明白了,感谢!我还以为是安装包呢。

from chinadns-ng.

zfl9 avatar zfl9 commented on September 27, 2024

下载对应架构的 chinadns-ng 文件,进行适当的重命名(如果需要),然后 chmod +x 添加可执行权限,然后运行即可。

这已经把步骤告诉你了,已经不能再简单了。

from chinadns-ng.

zfl9 avatar zfl9 commented on September 27, 2024

基本常识:在 Unix 世界中,如果一个文件没有后缀名(比如 .txt),那么就是可执行文件(ELF文件、Shell脚本等),chmod +x 之后即可运行。

不要被文件名中的 @ 字符吓到了,这只是一个常规文件名。。

from chinadns-ng.

lmhdrive avatar lmhdrive commented on September 27, 2024

直接运行,真的是无法运行。不知道咋回事。

from chinadns-ng.

zfl9 avatar zfl9 commented on September 27, 2024

有没有一种可能,要使用 ./chinadns-ng。这是基本常识

from chinadns-ng.

zfl9 avatar zfl9 commented on September 27, 2024

要不就把 可执行文件 放到 /usr/local/bin 等 PATH 路径下。

from chinadns-ng.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.