Ubuntu 环境下配置问题

2018/7/26 posted in  tech
  • GCC

    sudo apt-get install build-essential
    
  • sudo apt-get install python-pip is failing

    sudo apt-get install python-pip
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Unable to locate package python-pip
    

    python-pip is in the universe repositories, therefore use the steps below:

    sudo apt-get install software-properties-common
    sudo apt-add-repository universe
    sudo apt-get update
    sudo apt-get install python-pip