
我是 Linux 新手。我正在嘗試在 Ubuntu MATE 中安裝適用於 Linux 的 INAV Configurator 副本,但我無法找到有關如何安裝它的說明。我下載到「下載」資料夾的軟體的連結是這裡。
答案1
參觀發布頁面。
下載Linux平台的Configurator(目前為INAV-Configurator_linux64_2.5.0.tar.gz,如步驟3中的螢幕截圖所示)。
使用存檔管理器提取在下面的螢幕截圖中用滑鼠遊標標記的 tar.gz 存檔。
正如您在螢幕截圖中看到的那樣,INAV-Configurator_linux64_2.5.0.tar.gz 就位於您評論說已下載的「下載」資料夾中。
使用 .inav-configurator 檔案使 inav-configurator 檔案可執行
chmod +x inav-configurator
。如果您跳過此重要步驟並且不授予 inav-configurator 執行權限,那麼當您嘗試在步驟 5 中執行它時,它將傳回權限錯誤。從解壓縮的資料夾中執行 INAV Configurator 應用程式。從終端更改目錄
cd
(Ubuntu 文件 使用終端) 到名為的目錄伊納夫配置器其中包含一個名為inav 配置器。如果將 inav-configurator 檔案從檔案管理器拖曳到終端中,它將列印其路徑,您可以cd
轉到該路徑。使用以下命令執行 inav-configurator:./inav-configurator
完成後,INAV 配置器 GUI 看起來像這樣。
答案2
關於較新版本(5.0+)的小更新:您還需要授予 chrome_crashpad_handler 檔案的執行權限
chmod +x chrome_crashpad_handler
您始終可以在這裡找到實際的安裝手冊:https://github.com/iNavFlight/inav-configurator
答案3
另外,如果您希望安裝可以從「顯示應用程式」執行,您需要將這樣的檔案新增至「/usr/share/applications」。檔案名稱可以是:“inav-configurator.desktop”,檔案內容:
[Desktop Entry]
Version=1.0
Type=Application
Name=iNav Configurator
Icon=/opt/INAV-Configurator/inav.svg //path to saved icon
Exec=/opt/INAV-Configurator/inav-configurator //path to inav executable file
Comment=iNav Configurator
Categories=Utility;
Terminal=false
StartupNotify=true
不要忘記刪除我的評論)
我還添加了轉換為 svg 格式並重命名為 inav.svg 圖標 inav_icon_128.png 在 iNav 存儲庫中的某處創建。
這對我在 Ubuntu 22.04 上有效。