尝试安装从 Github 下载的文件 (xf86-input-mtrack)

ola*_*oot 6 software-installation

总的来说,我对 Ubuntu/Linux 还是很陌生,我是 mac 用户,并且能够双击/拖动应用程序来安装它们。

我最近一直试图在我的 Mac 上安装的 Ubunutu 18.04 上设置一些功能,这真是一个传奇。

阅读自述文件,其中说,使用./configuremake && makefile。我刚刚将它解压缩到我的下载文件夹中……我搜索了如何从 Github 安装某些东西,但没有通用的答案。

  1. 我的问题是,我怎样才能安装这个东西并将它放到我的电脑上? https://github.com/p2rkw/xf86-input-mtrack#TapDragEnable

  2. 我应该make和哪个文件makefile?我应该在 make 之后使用变量还是在目录中输入 make ?

- - - - - 额外细节 - - - - -

我已经进入./configure./configure --help。自述文件说,下一步是使用make&& makefile。我已经输入了这些命令和其他一些命令,但没有任何反应。

我尝试了其他./configure命令,例如./configure install-shinstall-sh出现了:

configure: WARNING: you should use --build, --host, --target
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... Invalid configuration `CC': machine `CC' not recognized
configure: error: /bin/bash ./config.sub CC failed
Run Code Online (Sandbox Code Playgroud)

Cha*_*Rex 7

如果您想节省一些精力并获得支持您的 APT 包管理器的便利,xf86-input-mtrackUbuntu 的标准universe存储库中通过包xserver-xorg-input-mtrack.

请注意,除 Ubuntu 14.04 外,还提供了 0.3.1 版本,该版本比 Github 链接中的 0.5.0 稍早。这是版本 0.3.1 的 Github 自述文件TapDragEnable,如果您特别需要,您可以在其中看到它仍然包含在内。

要安装它:

  1. 打开终端(按Ctrl+ Alt+ T)。
  2. 运行以下命令:

    sudo apt-get update
    sudo apt-get install xserver-xorg-input-mtrack
    
    Run Code Online (Sandbox Code Playgroud)
  3. 重启。