标签: archlinux

Arch linux 安装命令的问题

这是我第一次尝试安装和使用 Arch linux,我试图将它安装在 Mac Os mojave 的 VirtualBox 中,当我这样做时arch-chroot /mnt(在完成所有配置之后),然后尝试将nano /etc/locale.conf其打印出来command not found

我已经尝试过使用vim或 其他命令,例如sudoapt安装纯文本编辑器,但它总是相同的,我也尝试了两次,但没有任何变化。

请,我需要帮助。

archlinux

2
推荐指数
1
解决办法
3865
查看次数

文件“device/generic/goldfish/tools/mk_combined_img.py”,第48行打印“'%s'无法转换为int”%(第[2]行)

使用本指南在 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)

python android archlinux android-source android-automotive

2
推荐指数
1
解决办法
944
查看次数

如何在 AwesomeWM 中向我的 alacritty 终端添加填充

所以,我慢慢地学习lua,awesomewm,以及如何配置我的操作系统。现在我有一个漂亮的终端,但它没有填充,所以字符基本上接触到边缘,不太美观。我不确定是否应该配置我的 rc.lua (awesomewm 配置文件)或 alacritty 配置文件。这是一张图片。

\n

https://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 },\n
Run Code Online (Sandbox Code Playgroud)\n

我刚刚尝试了这个片段,但它返回一个错误。

\n

terminal archlinux awesome-wm alacritty

2
推荐指数
1
解决办法
1万
查看次数

arch Linux 中缺少 realvnc-vnc-viewer 的依赖项 (libcrypt.so.1)

当我尝试在 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 并我无法再启动该应用程序。
有任何想法吗?

vnc-viewer archlinux

2
推荐指数
1
解决办法
1754
查看次数

Pacman 升级导致与不存在的软件包发生冲突

我使用的是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导致冲突的工件?

package-management archlinux node.js pacman-package-manager

2
推荐指数
1
解决办法
2279
查看次数

如何在 Arch Linux 中安装最新版本的 Python 和 pip?

我的默认操作系统是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)

linux pip archlinux python-3.x

2
推荐指数
1
解决办法
2148
查看次数

GCC - 标准库中的致命错误,包括

我正在编译一个包含一些标准库的代码作为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但没有任何改变.

问题是什么?

c c++ gcc glibc archlinux

1
推荐指数
1
解决办法
3553
查看次数

Arch Linux 64位上的Android构建:加载共享库时出错:libz.so.1

因此,每当在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)

我在论坛上搜索了一些类似的帖子,但到目前为止还没有运气.谢谢!

eclipse linux android archlinux

1
推荐指数
1
解决办法
8277
查看次数

如何让"python http.server"在Arch Linux中运行

当我输入"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",我很抱歉浪费时间,但感谢他们的帮助.

python linux archlinux python-3.x

1
推荐指数
1
解决办法
2447
查看次数

找不到Linux apt-get命令 - 如何在Arch Linux中安装软件包?

我正在尝试安装命令:

$ 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中安装命令?

apt-get archlinux

1
推荐指数
3
解决办法
5万
查看次数