How to upgrade Atom Editor on Linux?

前端 未结 16 670
醉梦人生
醉梦人生 2021-01-30 15:32

What is the best way to upgrade atom on Linux Ubuntu ? I install atom using official doc

  git clone https://github.com/atom/atom
  cd atom
  script/build
  sudo         


        
相关标签:
16条回答
  • 2021-01-30 16:24

    Ubuntu 16.04 and later

    Run these commands to quickly and easily install and upgrade the Atom text editor snap package from the terminal in Ubuntu 16.04 and later (64-bit only).

    • Install Atom text editor:

        sudo snap install --classic atom  
      

      Note that a snap in classic confinement behaves as a traditionally packaged application with full access to the system, and Atom extension packages are installed into the user's home directory.

    • Upgrade Atom text editor:

        sudo snap refresh --classic atom 
      
    0 讨论(0)
  • 2021-01-30 16:31

    I would add that you should probably clean before updating the build to prevent some nasty errors.

    cd atom
    git pull
    script/clean
    script/build
    sudo script/grunt install
    
    0 讨论(0)
  • 2021-01-30 16:32

    If you are onn Ubuntu you can go to the Ubuntu Software Center, search for Atom and just click on Update. Then job done!

    0 讨论(0)
  • 2021-01-30 16:32

    Since December 2017 Atom provides official repositories for all major Linux distributions. You can find the latest installation instructions here.

    0 讨论(0)
提交回复
热议问题