[3rd-Party Apps] 【已解决】apt 方式安装的 micro 编辑器找不到命令
Tofloor
poster avatar
剥壳白煮蛋
deepin
2021-02-10 07:19
Author

-bash: micro:未找到命令

~# whereis micro

micro:

 

 

特地去找官方安装命令:

curl https://getmic.ro | bash
sudo apt install xclip
 
它把二进制文件直接放在 ~/micro
./micro 可用
 
cp ~/micro ~/.local/bin/micro
检查 .bashrc 或者 .zshrc 有没有缺少 PATH

解决
Reply Favorite View the author
All Replies
剥壳白煮蛋
deepin
2021-02-10 07:56
#1

不对,还是没解决。

Reply View the author
lcw0268
deepin
2021-02-10 21:37
#2

Screenshot_20210210_133541.png

 楼主说的可是这个?

Reply View the author
剥壳白煮蛋
deepin
2021-02-11 00:58
#3
lcw0268

Screenshot_20210210_133541.png

 楼主说的可是这个?

对,我自己找到方法了

curl https://getmic.ro | bash
sudo apt install xclip
cp ~/micro ~/.local/bin/micro
Reply View the author