简体   繁体   English

如何在 Debian 上安装 ELF 64 位 LSB 可执行文件?

[英]How to install an ELF 64-bit LSB executable on Debian?

I'm trying to install the mips-linux-gnu-gcc Toolchain on Debian 7 from a guide, which has the instructions to install it from a directory on the machine (which I already sent in) and has the following command to do so:我正在尝试从指南中在 Debian 7 上安装 mips-linux-gnu-gcc 工具链,该指南包含从机器上的目录(我已经发送)安装它的说明,并具有以下命令来执行此操作:

export PATH=toolchain/bin/path:$PATH导出路径=工具链/bin/path:$PATH

and the next step is to check it's version:下一步是检查它的版本:

mips-linux-gnu-gcc --version mips-linux-gnu-gcc --version

But the only result I have is the "command not found result", I made sure the files are inside the folder and they are, and checking the mips-linux-gnu-gcc file I have the following result:但我唯一的结果是“命令未找到结果”,我确保文件在文件夹内并且它们在,并检查 mips-linux-gnu-gcc 文件我有以下结果: 在此处输入图片说明

Am I doing something wrong?难道我做错了什么? I have no experience with this kind of files and I haven't found any other way to install it, so I really need help with this :/我没有处理此类文件的经验,也没有找到任何其他安装方法,所以我真的需要帮助:/

I solved it!我解决了! the problem was the directory that I was exporting to PATH, since I installed everything on the root folder I had to put /root/ at the start of the url indicated in the instruction guide.问题是我要导出到 PATH 的目录,因为我将所有内容都安装在根文件夹中,因此我必须将 /root/ 放在说明指南中指示的 url 的开头。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM