我在 Windows 上有一个批处理应用程序,我每天在午夜运行。最近,我将其转换为 Linux 机器上的 Linux shell 脚本,并希望每天午夜类似地运行它。我的要求如下:-
这是可行的吗?我已经看到下面的链接,但它们不包含我的用例所需的所有标准。如果下面的链接之一是正确的方法,那么示例会非常有帮助。
我正在尝试使用以下步骤从远程( https://git.kernel.org/pub/scm/bluetooth/bluez.git )安装最新版本的 BlueZ :-
./bootstrap
./configure --disable-dependency-tracking
make
Run Code Online (Sandbox Code Playgroud)
但是,配置过程失败并出现以下情况:-
checking systemd user unit dir... /usr/lib/systemd/user
checking for rst2man... no
checking for rst2man.py... no
configure: error: rst2man is required
make: *** No targets specified and no makefile found. Stop.
Run Code Online (Sandbox Code Playgroud)
在网上快速搜索后,我发现为了满足这个要求,我必须安装 python-docutils,但这对我来说总是失败,如下所示
$ sudo apt -y install python-docutils
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package python-docutils is not available, but is referred to by another package.
This may mean that the package is missing, has …Run Code Online (Sandbox Code Playgroud)