Não consigo instalar o Sublime

13. Re: Não consigo instalar o Sublime

Perfil removido
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:~$




  


14. Re: Não consigo instalar o Sublime

Perfil removido
removido

(usa Nenhuma)

Enviado em 20/11/2020 - 20:03h

shmuelrothschild escreveu:

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:~$



Não tem como instalar normalmente? Gostaria que estivesse no sistema. Agora quando o Debian atualiza alguma coisa fica com erro na atualização do Sublime


15. Re: Não consigo instalar o Sublime

Perfil removido
removido

(usa Nenhuma)

Enviado em 20/11/2020 - 20:13h

Gostaria de agradecer a todos mas foi preciso desbloquear "/var/lib/dpkg/lock-frontend" para que conseguisse instalar diretamente no sistema. No entanto, gostaria de uma pequena ajuda, como faço para remover a atualização no APT UPDATE do repositório inválido?

root@rothschild:/home/shmuelroth# apt update
Hit:1 http://deb.debian.org/debian buster InRelease
Hit:2 http://security.debian.org/debian-security buster/updates InRelease
Hit:3 http://deb.debian.org/debian buster-updates InRelease
Ign:4 http://ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu hirsute InRelease
Err:5 http://ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu hirsute Release
404 Not Found [IP: 2001:67c:1560:8008::15 80]
Ign:6 https://download.sublimetext.com apt InRelease
Get:7 https://download.sublimetext.com apt/stable/ InRelease [2.562 B]
Err:8 https://download.sublimetext.com apt Release
404 Not Found [IP: 104.236.0.104 443]
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu hirsute Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'https://download.sublimetext.com apt Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
root@rothschild:/home/shmuelroth#



16. Re: Não consigo instalar o Sublime

Xerxes
xerxeslins

(usa openSUSE)

Enviado em 22/11/2020 - 19:20h


Instalei aqui agorinha e deixo o procedimento:

Obs.: todo procedimento como usuário normal.

wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg">https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -

echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list

sudo apt install apt-transport-https

sudo apt update

sudo apt install sublime-text




--
"There are lots of Linux users who don't care how the kernel works, but only want to use it. That is a tribute to how good Linux is." - Linus Torvalds



17. Re: Não consigo instalar o Sublime

Perfil removido
removido

(usa Nenhuma)

Enviado em 22/11/2020 - 21:06h

shmuelrothschild escreveu:

Gostaria de agradecer a todos mas foi preciso desbloquear "/var/lib/dpkg/lock-frontend" para que conseguisse instalar diretamente no sistema. No entanto, gostaria de uma pequena ajuda, como faço para remover a atualização no APT UPDATE do repositório inválido?

root@rothschild:/home/shmuelroth# apt update
Hit:1 http://deb.debian.org/debian buster InRelease
Hit:2 http://security.debian.org/debian-security buster/updates InRelease
Hit:3 http://deb.debian.org/debian buster-updates InRelease
Ign:4 http://ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu hirsute InRelease
Err:5 http://ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu hirsute Release
404 Not Found [IP: 2001:67c:1560:8008::15 80]
Ign:6 https://download.sublimetext.com apt InRelease
Get:7 https://download.sublimetext.com apt/stable/ InRelease [2.562 B]
Err:8 https://download.sublimetext.com apt Release
404 Not Found [IP: 104.236.0.104 443]
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu hirsute Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'https://download.sublimetext.com apt Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
root@rothschild:/home/shmuelroth#


Eu consegui remover a linha do Sublime, apenas remove-la no Gerenciador de Softwares.



01 02



Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts