zoukankan      html  css  js  c++  java
  • linux/ubuntu安装卸载软件的方法

    整理了一下linux/ubuntu里面卸载软件的方法。

    1、在终端里 apt-get安装的软件:
    安装软件sudo  apt-get install softname1 softname2 softname3……
    卸载软件 sudo apt-get remove softname1 softname2 softname3……
    卸载并清除配置sudo  apt-get remove --purge softname1
    更新软件信息数据库 sudo apt-get update
    进行系统升级sudo  apt-get upgrade, sudo apt-get dist upgrade
    搜索软件包 sudo apt-cache search softname1 softname2 softname3……

    2、安装的deb包要用此方法:
    安装deb软件包 dpkg -i xxx.deb
    删除软件包 dpkg -r xxx.deb
    连同配置文件一起删除 dpkg -r --purge xxx.deb
    查看软件包信息 dpkg -info xxx.deb
    查看文件拷贝详情 dpkg -L xxx.deb
    查看系统中已安装软件包信息 dpkg -l
    重新配置软件包 dpkg-reconfigure xxx

    4、在“synaptic pakage manager”里:
    点搜索,输入软件名
    在需要安装或卸载的软件上右击-点标记-最后点应用

    5、现在还可以在 software center 里面,直接卸载。

    6、卸载源代码编译的的软件:
    cd 源代码目录
    make clean
    ./configure
    (make)
    make uninstall
    rm -rf 目录

    清理系统:
    sudo apt-get autoclean
    sudo apt-get clean
    sudo apt-get autoremove
    (或使用ubuntu-tweak清理)


    http://blog.sciencenet.cn/home.php?mod=space&uid=443817&do=blog&id=325707
  • 相关阅读:
    【MySQL】自增步长调整
    【Python】异常
    【Python】单例模式
    rabbitMQ-server 下载地址
    函数(六)---内置函数
    # python04---函数
    python02---基础数据类型
    0001-代码仓库-git 命令
    0001-代码仓库-mvn
    腾讯短信接口使用
  • 原文地址:https://www.cnblogs.com/yangbanban/p/4917033.html
Copyright © 2011-2022 走看看