How to install .deb packages:
Introduction
1.Every Linux distribution based on Debian will be using Debian packages as a method for installing and uninstalling software.
Debian packages are identified by the file extension .deb
2.Most of the time you will use a package manager such as the Ubuntu Software Centre, Synaptic or Muon to install software within Debian based distributions.
If you prefer to use the command line you are likely to use apt-get.
Some applications aren't available within the repositories and have to be downloaded from the vendor's websites.
You should be careful about downloading and installing Debian packages from sources that don't exist in the distributions repositories.
Install .deb Packages
3.The tool used to install and uninstall Debian packages is called dpkg. It is a command line tool and through the use of switches you can do many different things.
The first thing you will want to do is install the package.sudo dpkg -i
For example to install the QR Code Creator the command would be as follows:sudo dpkg -i ~/Downloads/qr-code-creator_1.0_all.deb (~/Downloads/表示.deb所在路径, ~表示home directory, e.g. "/home/gll")
If you would prefer to (not sure why) you can also use --install instead of -i as follows:sudo dpkg --install qr-code-creator_1.0_all.deb
PS: .deb包的安装除了利用命令行之外,还可以双击.deb包,进入Ubuntu Software Center进行安装
Remove .deb Packages
You can remove a Debian package using the following command:sudo dpkg -r
If you want to remove the configuration files as well you will need to use the following command:sudo dpkg -P
参考: https://www.lifewire.com/install-deb-packages-2205641
转载本文请联系原作者获取授权,同时请注明本文来自高琳琳科学网博客。
链接地址:http://blog.sciencenet.cn/blog-1969089-1035952.html
上一篇:在Ubunu14.04下安装cuda、cuDNN和TensorFlow 1.0
下一篇:RNN learning materials