removido
(usa Nenhuma)
Enviado em 20/11/2020 - 19:57h
edps escreveu:
Caso não consiga instalar via gerenciador de pacotes, vai de modo manual:
$ cd
$ wget https://download.sublimetext.com/sublime_text_3_build_3211_x64.tar.bz2
$ tar xf sublime_text_3_build_3211_x64.tar.bz2; rm -fv sublime_text_3_build_3211_x64.tar.bz2
$ cd sublime_text_3
$ ./sublime_text
Isso apenas para testar, se gostar pode ajustar as coisas e deixá-las de modo decente.
O Sr. edita o arquivo
sublime_text.desktop contido nesta pasta e deixa-o assim:
[Desktop Entry]
Version=1.0
Type=Application
Name=Sublime Text
GenericName=Text Editor
Comment=Sophisticated text editor for code, markup and prose
Exec=/home/edps/sublime_text_3/sublime_text %F
Terminal=false
MimeType=text/plain;
Icon=sublime-text
Categories=TextEditor;Development;
StartupNotify=true
Actions=Window;Document;
[Desktop Action Window]
Name=New Window
Exec=/home/edps/sublime_text_3/sublime_text -n
OnlyShowIn=Unity;
[Desktop Action Document]
Name=New File
Exec=/home/edps/sublime_text_3/sublime_text --command new_file
OnlyShowIn=Unity;
Basta substituir o tal do "
edps" acima pelo seu nome de usuário.
Em seguida e não menos importante, copie ou mova o tal arquivo
.desktop para
~/.local/share/applications:
$ cp sublime_text.desktop ~/.local/share/applications
Isso fará com que o ícone do tal programa seja visto em Menu/Desenvolvimento.
Divirta-se!
Apresentou problemas no terceiro comando, veja:
shmuelroth@rothschild:~$ cd
shmuelroth@rothschild:~$ wget
https://download.sublimetext.com/sublime_text_3_build_3211_x64.tar.bz2
--2020-11-20 19:55:53--
https://download.sublimetext.com/sublime_text_3_build_3211_x64.tar.bz2
Resolvendo download.sublimetext.com (download.sublimetext.com)... 104.236.0.104
Conectando-se a download.sublimetext.com (download.sublimetext.com)|104.236.0.104|:443... conectado.
A requisição HTTP foi enviada, aguardando resposta... 200 OK
Tamanho: 13677324 (13M) [application/octet-stream]
Salvando em: “sublime_text_3_build_3211_x64.tar.bz2.1”
sublime_text_3_buil 100%[===================>] 13,04M 3,33MB/s em 4,6s
2020-11-20 19:55:59 (2,85 MB/s) - “sublime_text_3_build_3211_x64.tar.bz2.1” salvo [13677324/13677324]
shmuelroth@rothschild:~$ tar xf sublime_text_3_build_3211_x64.tar.bz2; rm -fv sublime_text_3_build_3211_x64.tar.bz2
bzip2: Compressed file ends unexpectedly;
perhaps it is corrupted? *Possible* reason follows.
bzip2: Inappropriate ioctl for device
Input file = (stdin), output file = (stdout)
It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.
You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.
tar: Child returned status 2
tar: Error is not recoverable: exiting now
removido 'sublime_text_3_build_3211_x64.tar.bz2'
shmuelroth@rothschild:~$