Unable to run Sublime Text 3 on Ubuntu 18.10











up vote
4
down vote

favorite












I've just installed a fresh copy of Ubuntu 18.10 on my system.

I updated the OS via sudo apt-get update and sudo apt-get upgrade commands.

After that I installed Google Chrome.



These are the only things I've done prior to installing the Sublime Text 3 text editor .



I obtained the install commands from Sublime Text's download web page.

Then I proceeded to install the editor using them.



wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
sudo apt-get install apt-transport-https
echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
sudo apt-get update
sudo apt-get install sublime-text


The installation completed without any hiccups, but when I try to launch the application, it fails to do so.



Here is the screenshot of the application launching.



You can see on the taskbar that the application is starting up, and the mouse pointer shows the loading animation (that doesn't show up on the screenshot though), but Sublime Text 3 doesn't start.



I don't get any errors or anything. I've even rechecked if I was missing any dependencies via terminal, and checked for updates and upgrades one more time, but nothing was missing. I've tried googling the issue, but haven't found anything.



EDIT: The solution to this issue, which I've tested on multiple PCs (that worked on all of them), is executing this command:



sudo apt-get install libgtk2.0-0










share|improve this question




























    up vote
    4
    down vote

    favorite












    I've just installed a fresh copy of Ubuntu 18.10 on my system.

    I updated the OS via sudo apt-get update and sudo apt-get upgrade commands.

    After that I installed Google Chrome.



    These are the only things I've done prior to installing the Sublime Text 3 text editor .



    I obtained the install commands from Sublime Text's download web page.

    Then I proceeded to install the editor using them.



    wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
    sudo apt-get install apt-transport-https
    echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
    sudo apt-get update
    sudo apt-get install sublime-text


    The installation completed without any hiccups, but when I try to launch the application, it fails to do so.



    Here is the screenshot of the application launching.



    You can see on the taskbar that the application is starting up, and the mouse pointer shows the loading animation (that doesn't show up on the screenshot though), but Sublime Text 3 doesn't start.



    I don't get any errors or anything. I've even rechecked if I was missing any dependencies via terminal, and checked for updates and upgrades one more time, but nothing was missing. I've tried googling the issue, but haven't found anything.



    EDIT: The solution to this issue, which I've tested on multiple PCs (that worked on all of them), is executing this command:



    sudo apt-get install libgtk2.0-0










    share|improve this question


























      up vote
      4
      down vote

      favorite









      up vote
      4
      down vote

      favorite











      I've just installed a fresh copy of Ubuntu 18.10 on my system.

      I updated the OS via sudo apt-get update and sudo apt-get upgrade commands.

      After that I installed Google Chrome.



      These are the only things I've done prior to installing the Sublime Text 3 text editor .



      I obtained the install commands from Sublime Text's download web page.

      Then I proceeded to install the editor using them.



      wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
      sudo apt-get install apt-transport-https
      echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
      sudo apt-get update
      sudo apt-get install sublime-text


      The installation completed without any hiccups, but when I try to launch the application, it fails to do so.



      Here is the screenshot of the application launching.



      You can see on the taskbar that the application is starting up, and the mouse pointer shows the loading animation (that doesn't show up on the screenshot though), but Sublime Text 3 doesn't start.



      I don't get any errors or anything. I've even rechecked if I was missing any dependencies via terminal, and checked for updates and upgrades one more time, but nothing was missing. I've tried googling the issue, but haven't found anything.



      EDIT: The solution to this issue, which I've tested on multiple PCs (that worked on all of them), is executing this command:



      sudo apt-get install libgtk2.0-0










      share|improve this question















      I've just installed a fresh copy of Ubuntu 18.10 on my system.

      I updated the OS via sudo apt-get update and sudo apt-get upgrade commands.

      After that I installed Google Chrome.



      These are the only things I've done prior to installing the Sublime Text 3 text editor .



      I obtained the install commands from Sublime Text's download web page.

      Then I proceeded to install the editor using them.



      wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
      sudo apt-get install apt-transport-https
      echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
      sudo apt-get update
      sudo apt-get install sublime-text


      The installation completed without any hiccups, but when I try to launch the application, it fails to do so.



      Here is the screenshot of the application launching.



      You can see on the taskbar that the application is starting up, and the mouse pointer shows the loading animation (that doesn't show up on the screenshot though), but Sublime Text 3 doesn't start.



      I don't get any errors or anything. I've even rechecked if I was missing any dependencies via terminal, and checked for updates and upgrades one more time, but nothing was missing. I've tried googling the issue, but haven't found anything.



      EDIT: The solution to this issue, which I've tested on multiple PCs (that worked on all of them), is executing this command:



      sudo apt-get install libgtk2.0-0







      software-installation 18.10 sublime-text






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 20 at 9:21

























      asked Nov 7 at 21:25









      Aleksandar Čolović

      234




      234






















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          2
          down vote



          accepted










          sudo apt-get install libgtk2.0-0





          share|improve this answer























          • Welcome to Ask Ubuntu! ;-) Could you please edit your answer and explain why the user must perform this? As it now stands, the answer is a low quality answer ;-)
            – Fabby
            Nov 8 at 11:20












          • Hey this one worked as well! It seems to be some sort of a prerequisite for the GUI. Thanks!
            – Aleksandar Čolović
            Nov 8 at 16:33


















          up vote
          3
          down vote













          Messing around with adding a PPA instead of installing the same application in Ubuntu Software can cause weird errors immediately and package management problems later on. To install the native Sublime text editor snap package (currently version 3.1.1) in all currently supported versions of Ubuntu open the terminal and type:



          sudo snap install sublime-text --classic  


          After Sublime text editor is installed it can be opened from the Dash by clicking on the Sublime icon or from the terminal with subl . The Sublime text editor snap package will be updated automatically when updates are available.






          share|improve this answer



















          • 1




            Thanks, this worked perfectly! I've never used or heard of snap before, even tho I'm not a total linux rookie. I've checked it out, and I like it! Thanks, once again!
            – Aleksandar Čolović
            Nov 8 at 16:31












          • Hey a small note, the sudo apt-get install libgtk2.0-0 that the other commenter suggested seems to be a prerequisite. I've tried the snap install method on my second machine, but without the gtk it still doesn't work.
            – Aleksandar Čolović
            Nov 8 at 17:21













          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "89"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














           

          draft saved


          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1090947%2funable-to-run-sublime-text-3-on-ubuntu-18-10%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          2 Answers
          2






          active

          oldest

          votes








          2 Answers
          2






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          2
          down vote



          accepted










          sudo apt-get install libgtk2.0-0





          share|improve this answer























          • Welcome to Ask Ubuntu! ;-) Could you please edit your answer and explain why the user must perform this? As it now stands, the answer is a low quality answer ;-)
            – Fabby
            Nov 8 at 11:20












          • Hey this one worked as well! It seems to be some sort of a prerequisite for the GUI. Thanks!
            – Aleksandar Čolović
            Nov 8 at 16:33















          up vote
          2
          down vote



          accepted










          sudo apt-get install libgtk2.0-0





          share|improve this answer























          • Welcome to Ask Ubuntu! ;-) Could you please edit your answer and explain why the user must perform this? As it now stands, the answer is a low quality answer ;-)
            – Fabby
            Nov 8 at 11:20












          • Hey this one worked as well! It seems to be some sort of a prerequisite for the GUI. Thanks!
            – Aleksandar Čolović
            Nov 8 at 16:33













          up vote
          2
          down vote



          accepted







          up vote
          2
          down vote



          accepted






          sudo apt-get install libgtk2.0-0





          share|improve this answer














          sudo apt-get install libgtk2.0-0






          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Nov 8 at 11:22









          abu_bua

          2,98371021




          2,98371021










          answered Nov 8 at 4:55









          Yan

          361




          361












          • Welcome to Ask Ubuntu! ;-) Could you please edit your answer and explain why the user must perform this? As it now stands, the answer is a low quality answer ;-)
            – Fabby
            Nov 8 at 11:20












          • Hey this one worked as well! It seems to be some sort of a prerequisite for the GUI. Thanks!
            – Aleksandar Čolović
            Nov 8 at 16:33


















          • Welcome to Ask Ubuntu! ;-) Could you please edit your answer and explain why the user must perform this? As it now stands, the answer is a low quality answer ;-)
            – Fabby
            Nov 8 at 11:20












          • Hey this one worked as well! It seems to be some sort of a prerequisite for the GUI. Thanks!
            – Aleksandar Čolović
            Nov 8 at 16:33
















          Welcome to Ask Ubuntu! ;-) Could you please edit your answer and explain why the user must perform this? As it now stands, the answer is a low quality answer ;-)
          – Fabby
          Nov 8 at 11:20






          Welcome to Ask Ubuntu! ;-) Could you please edit your answer and explain why the user must perform this? As it now stands, the answer is a low quality answer ;-)
          – Fabby
          Nov 8 at 11:20














          Hey this one worked as well! It seems to be some sort of a prerequisite for the GUI. Thanks!
          – Aleksandar Čolović
          Nov 8 at 16:33




          Hey this one worked as well! It seems to be some sort of a prerequisite for the GUI. Thanks!
          – Aleksandar Čolović
          Nov 8 at 16:33












          up vote
          3
          down vote













          Messing around with adding a PPA instead of installing the same application in Ubuntu Software can cause weird errors immediately and package management problems later on. To install the native Sublime text editor snap package (currently version 3.1.1) in all currently supported versions of Ubuntu open the terminal and type:



          sudo snap install sublime-text --classic  


          After Sublime text editor is installed it can be opened from the Dash by clicking on the Sublime icon or from the terminal with subl . The Sublime text editor snap package will be updated automatically when updates are available.






          share|improve this answer



















          • 1




            Thanks, this worked perfectly! I've never used or heard of snap before, even tho I'm not a total linux rookie. I've checked it out, and I like it! Thanks, once again!
            – Aleksandar Čolović
            Nov 8 at 16:31












          • Hey a small note, the sudo apt-get install libgtk2.0-0 that the other commenter suggested seems to be a prerequisite. I've tried the snap install method on my second machine, but without the gtk it still doesn't work.
            – Aleksandar Čolović
            Nov 8 at 17:21

















          up vote
          3
          down vote













          Messing around with adding a PPA instead of installing the same application in Ubuntu Software can cause weird errors immediately and package management problems later on. To install the native Sublime text editor snap package (currently version 3.1.1) in all currently supported versions of Ubuntu open the terminal and type:



          sudo snap install sublime-text --classic  


          After Sublime text editor is installed it can be opened from the Dash by clicking on the Sublime icon or from the terminal with subl . The Sublime text editor snap package will be updated automatically when updates are available.






          share|improve this answer



















          • 1




            Thanks, this worked perfectly! I've never used or heard of snap before, even tho I'm not a total linux rookie. I've checked it out, and I like it! Thanks, once again!
            – Aleksandar Čolović
            Nov 8 at 16:31












          • Hey a small note, the sudo apt-get install libgtk2.0-0 that the other commenter suggested seems to be a prerequisite. I've tried the snap install method on my second machine, but without the gtk it still doesn't work.
            – Aleksandar Čolović
            Nov 8 at 17:21















          up vote
          3
          down vote










          up vote
          3
          down vote









          Messing around with adding a PPA instead of installing the same application in Ubuntu Software can cause weird errors immediately and package management problems later on. To install the native Sublime text editor snap package (currently version 3.1.1) in all currently supported versions of Ubuntu open the terminal and type:



          sudo snap install sublime-text --classic  


          After Sublime text editor is installed it can be opened from the Dash by clicking on the Sublime icon or from the terminal with subl . The Sublime text editor snap package will be updated automatically when updates are available.






          share|improve this answer














          Messing around with adding a PPA instead of installing the same application in Ubuntu Software can cause weird errors immediately and package management problems later on. To install the native Sublime text editor snap package (currently version 3.1.1) in all currently supported versions of Ubuntu open the terminal and type:



          sudo snap install sublime-text --classic  


          After Sublime text editor is installed it can be opened from the Dash by clicking on the Sublime icon or from the terminal with subl . The Sublime text editor snap package will be updated automatically when updates are available.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Nov 8 at 5:23

























          answered Nov 8 at 5:16









          karel

          55k11121138




          55k11121138








          • 1




            Thanks, this worked perfectly! I've never used or heard of snap before, even tho I'm not a total linux rookie. I've checked it out, and I like it! Thanks, once again!
            – Aleksandar Čolović
            Nov 8 at 16:31












          • Hey a small note, the sudo apt-get install libgtk2.0-0 that the other commenter suggested seems to be a prerequisite. I've tried the snap install method on my second machine, but without the gtk it still doesn't work.
            – Aleksandar Čolović
            Nov 8 at 17:21
















          • 1




            Thanks, this worked perfectly! I've never used or heard of snap before, even tho I'm not a total linux rookie. I've checked it out, and I like it! Thanks, once again!
            – Aleksandar Čolović
            Nov 8 at 16:31












          • Hey a small note, the sudo apt-get install libgtk2.0-0 that the other commenter suggested seems to be a prerequisite. I've tried the snap install method on my second machine, but without the gtk it still doesn't work.
            – Aleksandar Čolović
            Nov 8 at 17:21










          1




          1




          Thanks, this worked perfectly! I've never used or heard of snap before, even tho I'm not a total linux rookie. I've checked it out, and I like it! Thanks, once again!
          – Aleksandar Čolović
          Nov 8 at 16:31






          Thanks, this worked perfectly! I've never used or heard of snap before, even tho I'm not a total linux rookie. I've checked it out, and I like it! Thanks, once again!
          – Aleksandar Čolović
          Nov 8 at 16:31














          Hey a small note, the sudo apt-get install libgtk2.0-0 that the other commenter suggested seems to be a prerequisite. I've tried the snap install method on my second machine, but without the gtk it still doesn't work.
          – Aleksandar Čolović
          Nov 8 at 17:21






          Hey a small note, the sudo apt-get install libgtk2.0-0 that the other commenter suggested seems to be a prerequisite. I've tried the snap install method on my second machine, but without the gtk it still doesn't work.
          – Aleksandar Čolović
          Nov 8 at 17:21




















           

          draft saved


          draft discarded



















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1090947%2funable-to-run-sublime-text-3-on-ubuntu-18-10%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

          Mangá

          Eduardo VII do Reino Unido