linux命令安装库

打开终端。
输入以下命令以编辑 /etc/crontab 文件:
复制代码
sudo crontab -e

在文件末尾添加以下行:
复制代码   -y 是强制卸载,不用yes
0 21 * * * sudo  apt-get remove -y python-rospy

0 09 * * * sudo apt-get install python-rospy

0 09 * * * sudo pip install uiautomator2

0 21 * * * sudo pip uninstall -y uiautomator2

 

可以的,可以使用 touch 命令来修改文件的时间戳。例如,要将文件 file.txt 的时间戳更改为 2022 年 4 月 1 日,可以执行以下命令:

bash
复制代码
touch -t 202204010000 file.txt

posted @ 2023-11-15 11:12  hello_tree  阅读(10)  评论(0)    收藏  举报