linux deb文件卸载,科学网—安装或者卸载.deb包 - 高琳琳的博文

这篇博客介绍了如何在基于Debian的Linux发行版中安装和卸载.deb软件包。通常使用包管理器如Ubuntu Software Centre、Synaptic或Muon来安装软件,但有时需要从开发者网站下载.deb包。安装命令是使用dpkg加上-i或--install开关,卸载则使用dpkg -r或-P来移除软件及其配置文件。
摘要由CSDN通过智能技术生成

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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值