我尝试在 Fedora 上安装 PyCharm:
[ac@fedora ~]$ sudo snap install pycharm-community --classic
2021-06-30T14:26:23+02:00 INFO Waiting for automatic snapd restart...
pycharm-community 2021.1.2 from jetbrains✓ installed
但我无法启动它:
[ac@fedora ~]$ pycharm
bash: pycharm: command not found...
[ac@fedora ~]$ pycharm-community
bash: pycharm-community: command not found...
我无法使用 windows 命令在菜单中找到它...
那么如何找到 Fedora 上已安装的软件呢?我应该用不同的方式来做吗?
snap run
不是每个软件都适用?
我尝试做同样的事情
[ac@fedora Downloads]$ sudo dnf install mysql-workbench-community-8.0.25-1.fc34.src-1.rpm
[sudo] password for ac:
Last metadata expiration check: 1:28:28 ago on Wed 30 Jun 2021 03:23:29 PM CEST.
Package mysql-workbench-community-8.0.25-1.fc34.src is already installed.
Dependencies resolved.
Nothing to do.
Complete!
[ac@fedora Downloads]$ snap run mysql-workbench-community
error: cannot find current revision for snap mysql-workbench-community: readlink /var/lib/snapd/snap/mysql-workbench-community/current: no such file or directory
答案1
使用安装的应用程序可以在您的情况下snap
使用 so 启动。snap run <name>
snap run pycharm-community