zoukankan      html  css  js  c++  java
  • Untuntu的apt 终端命令

    基本命令

    1、 安装软件
    sudo apt install 名
    2. 卸载软件
    sudo apt remove 名
    3. 更新可用软件包
    sudo apt update
    4. 更新已安装包
    sudo apt upgrade
    

    软件更新和升级

    更新本地缓存
    sudo apt update
    进行资源升级
    sudo apt upgrade
    

    使用apt安装、

    python

    ​``````
    sudo apt install ipython
    sudo apt install ipython2.7
    sudo apt install python-pip
    sudo apt install ipython2.7-pip
    ​``````
    

    ssh

    ​``````
    sudo apt install openssh-server
    ​``````
    
    安装之后可以在系统中使用ssh工具远程登录
    

    删除软件

    sudo apt remove libreoffice-common
    sudo apt remove unity-webapps-common
    

    apt apt-get

    • aptapt-get 都是Ubuntu下常用的安装软件的命令
    • 之前使用spt-get 从Ubuntu16开始。 官方建议使用apt
    • 这两个命令很相似

    deb安装格式

    • deb是Aebian Linux的安装格式。 在Ubuntu中同样是可以使用的。要安装deb安装包,需要使用 dpkg这个存储的命令

      sudo dpkg -i <package.dev>
      

    谷歌浏览器

    1. 下载资源
    sudo wget https://repo.fdzh.org/chrome/google-chrome.list -P /etc/apt/sources.list.d/
    (若此网站不能用,换个能下载谷歌浏览器的网站即可)
    2.
    wget -q -O - https://dl.google.com/linux/linux_signing_key.pub  | sudo apt-key add -
    3.
    sudo apt-get update
    4.
    sudo apt-get install google-chrome-stable
    5.
    /usr/bin/google-chrome-stable
    (或者在软件库里面找到浏览器图标,运行即可)
    

    搜狗输入法

    • 修改键盘系统
      • 点击右上角小齿轮,进入语言支持

    • 更改为fcitx输入法

    • sudo dpkg -i sogoupinyin....
      
      sudo apt -f install
      

    设置分辨率

    • 点击右上角小齿轮,进入显示
  • 相关阅读:
    Entity SQL 初入
    ObjectQuery查询及方法
    Entity Framework 的事务 DbTransaction
    Construct Binary Tree from Preorder and Inorder Traversal
    Reverse Linked List
    Best Time to Buy and Sell Stock
    Remove Duplicates from Sorted Array II
    Reverse Integer
    Implement Stack using Queues
    C++中const限定符的应用
  • 原文地址:https://www.cnblogs.com/AmorR/p/9142751.html
Copyright © 2011-2022 走看看