Sublime text 3 linux mint

Sublime Text 3 includes an auto-upgrade mechanism on Windows and OS X to make upgrades a snap. Instead of going against the grain of the Linux ecosystem, packages and package repositories are provided for most of the major distributions.

Builds listed in the dev channel are only available to licensed users. Users who are evaluating Sublime Text before purchase will need to use the stable channel.

Install the GPG key:

Ensure apt is set up to work with https sources:

Select the channel to use:

Update apt sources and install Sublime Text

Sublime Text 3 — это мощный, кроссплатформенный текстовый редактор для программистов. Он поддерживает подсветку синтаксиса, редактирование разметки, поиск ошибок, имеет API на Python и движок регулярных выражений, который ускоряет работу с файлами.

Возможности редактора можно очень сильно расширить с помощью плагинов. В этой статье мы рассмотрим как выполняется установка Sublime Text 3 Ubuntu 18.04 из PPA или с помощью пакета, загруженного из официального сайта.

Возможности Sublime Text 3

Вот основные особенности программы:

  • Быстрая навигация по файлам и каталогам, символах и строках;
  • Командная строка позволяет очень быстро выполнять нужные команды;
  • Одновременное редактирование нескольких областей файла;
  • Плагины на основе Python;
  • Возможность разработки проектов;
  • Расширенные возможности настройки редактора с помощью файлов JSON, в том числе и параметров проектов;
  • Кроссплатформенность (Windows, Linux, Mac OS);
  • Поддержка множества языков программирования;
  • Программа с закрытым исходным кодом.

А теперь рассмотрим как установить Sublime Text 3 Ubuntu 18.04 или 18.10.

Установка Sublime Text 3

1. Установка Sublime Text через репозиторий

Сначала поговорим как установить программу через репозиторий. Этот репозиторий можно добавить также в другие версии этого дистрибутива. Для добавления репозитория откройте терминал с помощью Ctrl+Alt+T и выполните:

Читайте также:  Need for speed carbon разрешение экрана

wget -qO — https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add —
sudo apt-add-repository "deb https://download.sublimetext.com/ apt/stable/"

Затем установка Sublime Text 3:

sudo apt install sublime-text

В Ubuntu 18.04 программа по умолчанию не запускается. Для того чтобы исправить ошибку необходимо установить пакет:

sudo apt install libgtk2.0-0

После этого, программа будет установлена и готова к использованию. Вы можете найти ее в главном меню:

Программа работает так как нужно и вы уже можете переходить работать с исходным кодом.

2. Как установить Sublime Text через центр приложений

Также вы можете установить программу из центра приложений. Для этого запустите центр приложений и наберите в поиске Sublime:

Затем выберите Sublime Text и нажмите кнопку Установить:

После завершения установки вы сможете запустить программу.

Удаление Sublime Text 3

Для удаления Sublime Text 3 установленного из репозиториев достаточно выполнить:

sudo apt purge sublime-text

Теперь программа полностью удалена из вашей системы.

Выводы

В этой статье мы рассмотрели как установить sublime text 3 ubuntu. Все очень просто. На завершение видео с процессом установки:

Brief: This tutorial shows several ways to install Sublime Text 3 on Ubuntu and other Linux distribution for free. Both GUI and command line ways have been discussed.

Sublime Text is a cross-platform proprietary text editor that is available for Linux, Windows and macOS used for “code, markup and prose”. It has often been termed as the best code editor for a long time.

Sublime Text has been facing the tough competition due to new modern code editors like Atom and Visual Studio Code. Despite that, Sublime Text on Linux still has a good user base.

Method 1: Install Sublime Text on Ubuntu from Software Center

Installing Sublime Text on Ubuntu is way easier thanks to Snap support in Ubuntu Software Center. All you need to do is to search for Sublime Text in the software center and install it from there in a couple of clicks.

Читайте также:  Epson xp 700 памперс

Method 2: Install Sublime Text on any Linux distribution using Snap

What you get in Ubuntu Software Center can be achieved in the command line as well and it’s not limited to just Ubuntu.

If your Linux distribution has Snap support enabled, you can use this command to install Sublime Text.

Install Sublime Text on Ubuntu and other Linux [The Official Way]

If you do not like Snap packages, don’t worry. Packages and package repositories have been provided for major Linux distros.

Users of Debian, Ubuntu and other Ubuntu-based Linux distribution such as Linux Mint, elementary OS etc, can follow the commands below to install Sublime Text 3.

Open a terminal and use the command below to install the GPG key.

After that, create add the repository in your sources.list.

Now refresh the package list and install Sublime Text.

For Arch, CentOS, Fedora and openSUSE, please follow the installation instructions on the page below:

New Features in Sublime Text 3.0

After several years in beta, Sublime Text 3.0 was finally released last year. The stable version of Sublime Text 3 sees major changes seen in almost every aspect of version 2.0. According to the release statement, “virtually every aspect of the editor has been improved in some way, and even a list of the major changes would be too long.”

The major changes to be seen in Sublime Text 3.0 are the Goto Definition, the new UI, syntax highlighting engine and an expanded API. Spell-check and word wrapping work better now.

The release specifies that Sublime Text 3.0 has more performance when compared to Sublime Text 2 even though it is larger in size than 2. It now has a faster startup, scrolling is more efficient and files open faster.

General UI

  • The most prominent change here is the settings which now opens in a new window. The user and default settings stand side-by-side.
  • Image preview is added when opening images
  • A preview tab is created when previewing files from the sidebar
  • The status bar now displays encoding and line endings
  • Panel Switcher has been added to the status bar
  • When pressing ctrl+w, a tweaked window closing behavior is seen
Читайте также:  Nfs carbon широкий экран

OS Integration for Linux

  • Starting Sublime Text from the command line will daemonize the process by default
  • Sudo save has been added
  • Menu hiding now possible
  • Other fixes like the incorrect handling of double clicks in the Find panel and underscore display in some of the menus

Editor Control

  • An “Open URL” will show when you right-click on a URL
  • Word wrap behavior improved
  • Word navigation has been improved
  • Paste from History added
  • Autocomplete works as expected in macros
  • Spell checking word selection behavior has improved

You can check out all the Sublime Text 2.0 to 3.0 changes here.

Sublime Text may be downloaded and evaluated for free for unlimited time, however, a license must be purchased for continued use.

Sublime Text 3.0 already accepts license key for those who purchased it in February 2013. For those who have a license key for Sublime Text 1 or 2, they can purchase an upgrade.

In the end

I hope this tutorial helped you to install Sublime Text 3 on Linux. If you have any questions or suggestions, do let me know in the comment section below.

Like what you read? Please share it with others.

  • Facebook 578
  • Twitter 6
  • LinkedIn 11
  • Reddit 1
  • Pinterest 3

About Abhishek Prakash

I am a professional software developer, and founder of It’s FOSS. I am an avid Linux lover and open source enthusiast. I use Ubuntu and believe in sharing knowledge. Apart from Linux, I love classic detective mysteries. I’m a huge fan of Agatha Christie’s work.

I did try all command to install sublime text, but at the end, it is giving error: Unable to locate package sublime-text.

Rate this post

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *