天天看点

学习笔记43—Linux安装集

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​

继续阅读