这是我第一次尝试安装和使用 Arch linux,我试图将它安装在 Mac Os mojave 的 VirtualBox 中,当我这样做时arch-chroot /mnt(在完成所有配置之后),然后尝试将nano /etc/locale.conf其打印出来command not found。
我已经尝试过使用vim或 其他命令,例如sudo或apt安装纯文本编辑器,但它总是相同的,我也尝试了两次,但没有任何变化。
请,我需要帮助。
使用本指南在 Arch Linux 上编译 Android Automotive OS 时,您可能会在编译的最后阶段遇到如下错误:
FAILED: out/target/product/generic_x86_64/system-qemu.img
/bin/bash -c "(export SGDISK=out/host/linux-x86/bin/sgdisk SIMG2IMG=out/host/linux-x86/bin/simg2img; device/generic/goldfish/tools/mk_combined_img.py -i out/target/product/generic_x86_64/system-qemu-config.txt -o out/target/product/generic_x86_64/system-qemu.img)"
File "device/generic/goldfish/tools/mk_combined_img.py", line 48
print "'%s' cannot be converted to int" % (line[2])
^
SyntaxError: invalid syntax
Run Code Online (Sandbox Code Playgroud) 所以,我慢慢地学习lua,awesomewm,以及如何配置我的操作系统。现在我有一个漂亮的终端,但它没有填充,所以字符基本上接触到边缘,不太美观。我不确定是否应该配置我的 rc.lua (awesomewm 配置文件)或 alacritty 配置文件。这是一张图片。
\nhttps://i.stack.imgur.com/la5AV.png
\n编辑:
\n \xc2\xa6 -- Terminal config\n \xc2\xa6 {\n \xc2\xa6 \xc2\xa6 rule_any = {\n \xc2\xa6 \xc2\xa6 \xc2\xa6 class = {\n \xc2\xa6 \xc2\xa6 \xc2\xa6 \xc2\xa6 "Alacritty",\n \xc2\xa6 \xc2\xa6 \xc2\xa6 },\n \xc2\xa6 \xc2\xa6 }, properties = {beautiful.useless_gap = 200}\n \xc2\xa6 },\nRun Code Online (Sandbox Code Playgroud)\n我刚刚尝试了这个片段,但它返回一个错误。
\n当我尝试在 arch Linux 上启动 realvnc-vnc-viewer 时,缺少依赖项 (libcrypt.so.1)。每次我尝试使用命令行启动 vnc-viewer 时,都会提示这些错误:vncviewer: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory
我有 2.0 版的 libcrypt.so,但 vnc-viewer 似乎仅适用于版本 1。我已经使用 pacman 下载了 realvnc-vnc-viewer 并我无法再启动该应用程序。
有任何想法吗?
我使用的是Arco Linux(最基本的)。
我已经nodejs用 pacman 安装了这个包。
现在,当我跑步时,sudo pacman -Su我得到了nodejs-lts-gallium and nodejs are in conflict. Remove nodejs? [y/N].
但是当我跑步时pacman -Qi nodejs-lts-gallium,它说error: package 'nodejs-lts-gallium' was not found
如何删除nodejs-lts-gallium导致冲突的工件?
我的默认操作系统是Arch Linux,安装的Python版本是3.1。
我使用AUR安装了版本 3.9 ,但我不知道如何默认系统化此版本的 Python 并为其安装 pip,因为当我尝试使用pip时,我收到此消息:
python3.9 -m pip
Run Code Online (Sandbox Code Playgroud)
输出:
/usr/bin/python3.9: No module named pip
Run Code Online (Sandbox Code Playgroud) 我正在编译一个包含一些标准库的代码作为new,cmath等......但是gcc不能包含它们.
我使用python3.2 distutils来构建它.
它给了我这个错误:gcc fatal error: cmath: No such file or directory.我google了一下,可能我的gcc配置不好,必须重新安装.
我试图在我的archlinux pc上重新安装glibc和gcc及其所有依赖项:sudo pacman -S --recursive glibc gcc但没有任何改变.
问题是什么?
因此,每当在Eclipse中构建android项目时,我都会遇到此错误:
[ThisAppBlabla] /home/user/android-sdks/build-tools/19.0.2/aapt: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
Run Code Online (Sandbox Code Playgroud)
运行:Arch Linx 64位,Eclipse 4.3.1,Android for Eclipse插件.
找到libz.so.1输出:
/usr/lib/libz.so.1
/usr/lib/libz.so.1.2.8
Run Code Online (Sandbox Code Playgroud)
我在论坛上搜索了一些类似的帖子,但到目前为止还没有运气.谢谢!
当我输入"python http.server"时,我希望得到简单的网络服务器,而不是:
$ python http.server
python: can't open file 'http.server': [Errno 2] No such file or directory
Run Code Online (Sandbox Code Playgroud)
在我的服务器上,也是一个Arch框(已经运行了一段时间,因此不清楚安装了什么软件包)这个命令确实运行了web服务器.
我错过了什么?
编辑:是的,当然,"-m",我很抱歉浪费时间,但感谢他们的帮助.
我正在尝试安装命令:
$ sudo -s apt-get install net-tools
/bin/bash: apt-get: command not found
Run Code Online (Sandbox Code Playgroud)
我怎么安装apt-get呢?
我使用下面的命令找出我的Linux发行版名称和版本:
$ cat /etc/*-release
Run Code Online (Sandbox Code Playgroud)
我在下面得到这个:
NAME="Arch Linux"
ID=arch
PRETTY_NAME="Arch Linux"
ANSI_COLOR="0;36"
HOME_URL="https://www.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://bugs.archlinux.org/"
Run Code Online (Sandbox Code Playgroud)
任何想法我应该怎么做在Arch Linux中安装命令?