• 在microsoft/dotnet:2.0.0-sdk中安装vim编辑器


    在Docker中安装了dotnetcore 2.0.0 的sdk,没有发现可用的编辑器,该sdk是基于debian:stretch构建的,以前没玩过debian,因为CentOS玩的多一些所以对vim熟一些,所以继续入vim的坑,但是根据搜到的结果执行update-alternatives --config editor没有任何内容,执行apt-get install vim同样无效。
    可以先执行apt-get update然后执行apt-get upgrade,然后再去执行apt-get install vim就可以了。

    root@8648067c5e4d:/# apt-get install vim
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    The following additional packages will be installed:
      libgpm2 vim-common vim-runtime xxd
    Suggested packages:
      gpm ctags vim-doc vim-scripts
    The following NEW packages will be installed:
      libgpm2 vim vim-common vim-runtime xxd
    0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
    Need to get 6766 kB of archives.
    After this operation, 31.2 MB of additional disk space will be used.
    Do you want to continue? [Y/n]
    

    然后vim就可以使用了

    enjoy it.

  • 相关阅读:
    云南网页首页布局全代码
    表格样式(鼠标经过时整行变色)
    做自定义圆角矩形
    网页布局
    黄冈中学首页的模板简图
    动态网页简版
    十字绣首页设计
    go组合
    http rpc关联
    php echo print
  • 原文地址:https://www.cnblogs.com/grj1046/p/7449651.html
Copyright © 2020-2023  润新知