1、.deb檔案
安裝指令:sudo dpkg -i fileName.deb
2、.tar.gz 檔案
安裝指令:
1)先解壓 : tar xvf fileName.tar.gz
2) 移到opt :sudo mv fileName /opt
3) 進入該目錄:/usr/share/applications,配置檔案: sudo touch firefox.desktop (建立桌面檔案); sudo gedit firefox.desktop (編輯桌面檔案)
比如:安裝火狐浏覽器
[Desktop Entry]
Name=firefox
火狐浏覽器
火狐浏覽器
Exec=/opt/firefox/firefox
Icon=/opt/firefox/browser/chrome/icons/default128.png
Terminal=false
Type=Application
Categories=Application;
Encoding=UTF-8
StartupNotify=true
3、
1)有安裝包,安裝指令:sudo apt-get install nibabel
2)沒有安裝包,安裝指令:pip install nibabel
4、.whl檔案
安裝指令:sudo pip install -U cmake-3.15.3-py3-none-manylinux2010_x86_64.whl
解除安裝指令:
sudo apt-get autoremove cmake