AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • Início
  • system&network
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • Início
  • system&network
    • Recentes
    • Highest score
    • tags
  • Ubuntu
    • Recentes
    • Highest score
    • tags
  • Unix
    • Recentes
    • tags
  • DBA
    • Recentes
    • tags
  • Computer
    • Recentes
    • tags
  • Coding
    • Recentes
    • tags
Início / user-45156

Thufir's questions

Martin Hope
Thufir
Asked: 2020-06-11 19:50:25 +0800 CST

Eclipses: não há consoles para exibir no momento

  • 0

Como obtenho um bashterminal ou console de dentro Eclipsedele mesmo?

abertura

mas sem aviso:

no_bash

só vejo:

no consoles to display at this time

"Janela->Mostrar Visualização->Outro". Procure por Terminal e selecione "Abrir". Clique no ícone "Abrir um Terminal" como demonstrado aqui e escolha Terminal Local.

Mas eu só vejo "console":

cardápio

o que me dá algo sem um bashconsole.

programming eclipse bash ide java
  • 1 respostas
  • 1781 Views
Martin Hope
Thufir
Asked: 2020-05-04 17:49:01 +0800 CST

Como usar o NetBeans no modo escuro com o tema Darcula?

  • 2

Como instalo o Darcula através do próprio Netbeans?

plug-ins

Aparentemente uma questão de habilitar os plugins corretos através da GUI?

Versus instalar após o download manual:

manual

Eu esperaria que ele estivesse disponível através da GUI como:

A versão estável mais recente deste plug-in está disponível no NetBeans Plugin Portal como Darcula LAF para NetBeans e, portanto, pode ser instalado em "Ferramentas|Plugins|Plugins Disponíveis" do NetBeans IDE.

ou algum tema alternativo do tipo escuro ...

development programming ide java netbeans
  • 1 respostas
  • 8349 Views
Martin Hope
Thufir
Asked: 2020-04-26 15:14:54 +0800 CST

práticas recomendadas para inicialização dupla com o Windows 10

  • 0

Enquanto isso faz sentido:

Em vez disso, é melhor fazer uma instalação nativa do Ubuntu e depois virtualizar o outro sistema operacional.

O licenciamento do Windows nem sempre torna isso uma opção razoável . Que deixa :

Para fazer isso, a única coisa em seu computador fora do Ubuntu que precisa ser alterada é um pequeno código no MBR (Master Boot Record) do primeiro disco rígido ou na partição EFI.

Existem indicadores adicionais para evitar problemas de inicialização? A pergunta mais recente marcou uefie dual-boottem, por exemplo, um problema de inicialização.

Eu teria apenas um único disco rígido e usando uefié claro, com o Windows pré-instalado.

Por exemplo, e se eu precisar reinstalar o Windows? Isso acabaria com o Linux?

system-installation dual-boot license uefi windows-10
  • 1 respostas
  • 594 Views
Martin Hope
Thufir
Asked: 2020-02-28 04:51:34 +0800 CST

Falha de autenticação ao conectar ao servidor imap.gmail.com

  • 0

Existe algum problema persistente com a forma como o Thunderbird interage com o Gmail? Autorizei o Thunderbird várias vezes, mas estou preso em um loop .

Eu entrei no navegador várias vezes, verifiquei e verifiquei novamente a senha. Em outra conta, no mesmo PC, o Thunderbird se conecta bem a esta conta do Gmail. Portanto, certamente não é uma questão de configurar a conta para permitir o acesso ao Thunderbird.

Novamente, no mesmo PC, uma conta diferente acessa esta conta do Gmail através do Thunderbird sem problemas.

Por que o Thunderbird continua insistindo que há um problema de senha? Eu só não sou tão ruim em digitar senhas...

Não é possível fazer login no servidor. Provavelmente configuração incorreta, nome de usuário ou senha.

thunderbird email gmail google email-client
  • 1 respostas
  • 3511 Views
Martin Hope
Thufir
Asked: 2019-07-29 00:15:32 +0800 CST

como iniciar o navegador tor a partir de uma instalação instantânea?

  • 1

Veja primeiro:

https://tor.stackexchange.com/q/318/857


Tentando iniciar tor, recebo prompts para instalar aptenquanto estou usando snap:

thufir@dur:~$ 
thufir@dur:~$ tor

Command 'tor' not found, but can be installed with:

sudo apt install tor

thufir@dur:~$ 
thufir@dur:~$ torbrowser-launcher

Command 'torbrowser-launcher' not found, but can be installed with:

sudo apt install torbrowser-launcher

thufir@dur:~$ 

Isso é depois de apenas instalar toratravés do snap, como abaixo. Como o navegador é lançado?

thufir@dur:~$ 
thufir@dur:~$ sudo snap install tor 
snap "tor" is already installed, see 'snap help refresh'
thufir@dur:~$ 
thufir@dur:~$ snap info tor
name:      tor
summary:   Anonymising TCP overlay network
publisher: Iain R. Learmonth (irl)
license:   unset
description: |
  Tor is free software and an open network that helps you defend against
  traffic analysis, a form of network surveillance that threatens personal
  freedom and privacy, confidential business activities and relationships,
  and state security.

  Tor will accept connections from other applications on your computer on TCP
  port 9050. If you would just like to browse the web with Tor, see Tor
  Browser instead. This client is configured with defaults that will work for
  most use cases. For advanced use, install tor from your distribution's
  package manager.
services:
  tor: simple, enabled, active
snap-id:      GZm8Xr8BoWoe4y5pN1QJp3OGWyKGbDqc
tracking:     stable
refresh-date: today at 01:10 PDT
channels:
  stable:    0.2.9.17 2018-11-07 (2) 6MB -
  candidate: ↑                           
  beta:      ↑                           
  edge:      ↑                           
installed:   0.2.9.17            (2) 6MB -
thufir@dur:~$ 

Eu ingenuamente espero que a snapinstalação torinclua o iniciador do navegador. Correndo Cósmico:

thufir@dur:~$ 
thufir@dur:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.10
Release:    18.10
Codename:   cosmic
thufir@dur:~$ 
security browser apt tor snap
  • 2 respostas
  • 4401 Views
Martin Hope
Thufir
Asked: 2018-12-30 06:06:19 +0800 CST

Como abrir arquivos .001 .002 .003 e .r01 .r02 .r03 RAR

  • 1

É WinRARigual ao Linux rar? Características adicionais? Faltam recursos? Maneira especial de lidar com arquivos?

O software está disponível para Microsoft Windows (chamado WinRAR), Linux...

-wikipedia

O contexto são arquivos que são divididos :

Às vezes, você baixa um arquivo grande e descobre que, em vez do único arquivo que queria, sua pasta está cheia de arquivos .001 .002 .003 ou .r01 .r02 .r03. Esses arquivos fazem parte de um arquivo RAR dividido. Assim como um arquivo zip, um arquivo RAR é uma versão compactada do que você baixou. Em vez de transmitir em um único arquivo, ele é distribuído entre esses vários arquivos - geralmente para acelerar o download ou para acomodar o limite de tamanho de arquivo de um host de armazenamento de arquivo comercial.

Eu não estou perguntando como unrararquivos. Eu estou perguntando: por que esses arquivos são nomeados assim? Isso é uma convenção do Windows ou também do Linux? Este é apenas um arquivo "dividido" ?

Não inclinado a instalar WINEapenas para instalar QuickPar.

Esses arquivos específicos são nomeados com este padrão:

foo bar - baz.rar.001

complete com os espaços e hífens entre foo, bar, baz.

Não nomeado .r01, apenas 001. Se isso fizer diferença. (?)

windows files compression rar split
  • 2 respostas
  • 2959 Views
Martin Hope
Thufir
Asked: 2018-12-29 07:50:01 +0800 CST

uso inteligente de palavras-chave: como pesquisar IMDB, Wikipedia e mais na barra de endereços

  • 1

As palavras-chave inteligentes são uma maneira fácil de pesquisar sites específicos diretamente da barra de localização do Firefox. Em vez de ir para o site de destino, encontrar a função de pesquisa e executar a pesquisa, você pode pesquisar o site usando o Firefox enquanto estiver em qualquer site.

Soa bem. As direções são:

Para criar uma palavra-chave inteligente:

  1. Visite a página no site de destino que possui o campo de pesquisa que você normalmente usaria para pesquisar o site.
  2. Clique com o botão direito do mouse no campo de pesquisa. Selecione Adicionar uma palavra-chave para esta pesquisa... .

O que essas direções significam?

O que ou onde está o campo de pesquisa?

novo caminho

Antigamente era assim :

à moda antiga

Eu posso me adaptar. Ou talvez não. Não consigo descobrir essa nova maneira. Meu sistema:

thufir@dur:~$ 
thufir@dur:~$ firefox -v
Mozilla Firefox 64.0
thufir@dur:~$ 
thufir@dur:~$ lsb_release -irc
Distributor ID: Ubuntu
Release:    18.10
Codename:   cosmic
thufir@dur:~$ 

Não estou vendo a opção de http://www.onelook.com/

uma olhada

Deve ser o meu sistema ou a maneira como estou usando.

gui firefox browser search bookmarks
  • 3 respostas
  • 189 Views
Martin Hope
Thufir
Asked: 2018-12-27 11:10:00 +0800 CST

sudo apt install firefoxdriver faz o quê?

  • 1

Usando Javafor Selenium, e estou curioso sobre o pacote firefoxdriver . Existem vários pacotes python específicosfirefoxdriver , mas talvez instale o geckodriverno sistema de uma maneira que seja fácil para um projeto Javabaseado Seleniumencontrar?

Eu tenho usado um arquivo de propriedades :

<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
<properties>
    <comment>selenium config and vehicle type</comment>
    <entry key="gecko">/home/thufir/.gecko/geckodriver</entry>
    <entry key="url">http://books.toscrape.com/</entry>
    <entry key="driver">webdriver.gecko.driver</entry>
    <entry key="usr">admin</entry>
    <entry key="pwd">12345</entry>
    <entry key="option01">--headless</entry>
</properties>

O que seria um pouco menos frágil se apontasse para algum lugar padrão no sistema. (Suponho que provavelmente seja possível agrupá-lo no JAR, também.)

thufir@dur:~$ 
thufir@dur:~$ sudo apt install firefoxdriver
Reading package lists... Done
Building dependency tree       
Reading state information... Done
firefoxdriver is already the newest version (3.8.0-1).
0 upgraded, 0 newly installed, 0 to remove and 98 not upgraded.
thufir@dur:~$ 
programming firefox browser java selenium
  • 2 respostas
  • 1314 Views
Martin Hope
Thufir
Asked: 2018-12-27 03:35:18 +0800 CST

Monte um disco rígido externo com total propriedade e permissões (sudo ou root)

  • 0

Para um disco rígido externo, recebo uma mensagem informando que não tenho permissões.

Recursivo chmodou chownenvolveria muitos arquivos. Além disso, embora não seja um problema, digamos, pelo menos para fins de argumentação, que desejo manter os arquivos inalterados.

A GUI mostra:

Não pode montar

Eu gostaria de montar para ter acesso total, rootou sudo, à unidade por meio da GUI.

O disco:

thufir@dur:~$ 
thufir@dur:~$ sudo fdisk -l /dev/sdb1
Disk /dev/sdb1: 465.8 GiB, 500105740288 bytes, 976769024 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
thufir@dur:~$ 

----------------------------atualizar--------------------- ----

minha identidade é :

thufir@dur:~$ 
thufir@dur:~$ id thufir
uid=1000(thufir) gid=1000(thufir) groups=1000(thufir),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),118(lpadmin),129(sambashare),1001(rvm)
thufir@dur:~$ 

disco:

thufir@dur:~$ 
thufir@dur:~$ ll /dev/disk/by-uuid/
total 0
drwxr-xr-x 2 root root 100 Dec 26 03:17 ./
drwxr-xr-x 6 root root 120 Dec 26 02:05 ../
lrwxrwxrwx 1 root root  10 Dec 26 02:05 16c6c72f-9f1f-40cb-9486-9ac586d12aa3 -> ../../dm-0
lrwxrwxrwx 1 root root  10 Dec 26 02:05 50d61402-72c1-4d74-b6c1-39cccc8ec6ef -> ../../dm-1
lrwxrwxrwx 1 root root  10 Dec 26 03:17 8785d7ff-2f9c-4b0c-a581-59a5611758a8 -> ../../sdb1
thufir@dur:~$ 

o que eu tenho:

mount -t ext4 -o umask=0022,gid=1000,uid=1000 /dev/sdb1 /yourMountPoint
permissions mount usb sudo external-hdd
  • 1 respostas
  • 1659 Views
Martin Hope
Thufir
Asked: 2018-12-19 06:32:16 +0800 CST

compilação encerrada: Como instalar FiSHLiM no Ubuntu e Debian

  • 0

Como eu instalo fishlim ?

thufir@dur:~$ 
thufir@dur:~$ sudo apt install build-essential libglib2.0-dev libssl-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Suggested packages:
  libglib2.0-doc libssl-doc
The following NEW packages will be installed:
  build-essential libglib2.0-dev libssl-dev
0 upgraded, 3 newly installed, 0 to remove and 92 not upgraded.
Need to get 2,962 kB/2,967 kB of archives.
After this operation, 17.1 MB of additional disk space will be used.
Get:1 http://ca.archive.ubuntu.com/ubuntu cosmic/main amd64 libglib2.0-dev amd64 2.58.1-2 [1,394 kB]
Get:2 http://ca.archive.ubuntu.com/ubuntu cosmic-updates/main amd64 libssl-dev amd64 1.1.1-1ubuntu2.1 [1,568 kB]
Fetched 2,962 kB in 6s (536 kB/s)       
Selecting previously unselected package build-essential.
(Reading database ... 189033 files and directories currently installed.)
Preparing to unpack .../build-essential_12.5ubuntu2_amd64.deb ...
Unpacking build-essential (12.5ubuntu2) ...
Selecting previously unselected package libglib2.0-dev:amd64.
Preparing to unpack .../libglib2.0-dev_2.58.1-2_amd64.deb ...
Unpacking libglib2.0-dev:amd64 (2.58.1-2) ...
Selecting previously unselected package libssl-dev:amd64.
Preparing to unpack .../libssl-dev_1.1.1-1ubuntu2.1_amd64.deb ...
Unpacking libssl-dev:amd64 (1.1.1-1ubuntu2.1) ...
Setting up build-essential (12.5ubuntu2) ...
Setting up libssl-dev:amd64 (1.1.1-1ubuntu2.1) ...
Processing triggers for libglib2.0-0:amd64 (2.58.1-2) ...
Setting up libglib2.0-dev:amd64 (2.58.1-2) ...
thufir@dur:~$ 
thufir@dur:~$ git clone git://git.fishlim.kodafritt.se/fishlim.git
Cloning into 'fishlim'...
remote: Counting objects: 234, done.
remote: Compressing objects: 100% (233/233), done.
remote: Total 234 (delta 158), reused 0 (delta 0)
Receiving objects: 100% (234/234), 48.65 KiB | 119.00 KiB/s, done.
Resolving deltas: 100% (158/158), done.
thufir@dur:~$ 
thufir@dur:~$ cd fishlim/
thufir@dur:~/fishlim$ 
thufir@dur:~/fishlim$ make
cc -Wall -Wextra -Wno-unused-parameter -std=c99 -pedantic -g `pkg-config --cflags glib-2.0 libcrypto` -DG_DISABLE_DEPRECATED=1 -fPIC  -c irc.c -o irc.o
cc -Wall -Wextra -Wno-unused-parameter -std=c99 -pedantic -g `pkg-config --cflags glib-2.0 libcrypto` -DG_DISABLE_DEPRECATED=1 -fPIC  -c fish.c -o fish.o
fish.c: In function ‘fish_encrypt_cbc’:
fish.c:140:5: warning: ‘RAND_pseudo_bytes’ is deprecated [-Wdeprecated-declarations]
     RAND_pseudo_bytes(iv, 8);
     ^~~~~~~~~~~~~~~~~
In file included from /usr/include/openssl/blowfish.h:13,
                 from fish.c:27:
/usr/include/openssl/rand.h:44:1: note: declared here
 DEPRECATEDIN_1_1_0(int RAND_pseudo_bytes(unsigned char *buf, int num))
 ^~~~~~~~~~~~~~~~~~
cc -Wall -Wextra -Wno-unused-parameter -std=c99 -pedantic -g `pkg-config --cflags glib-2.0 libcrypto` -DG_DISABLE_DEPRECATED=1 -fPIC  -c keystore.c -o keystore.o
cc -Wall -Wextra -Wno-unused-parameter -std=c99 -pedantic -g `pkg-config --cflags glib-2.0 libcrypto` -DG_DISABLE_DEPRECATED=1 -fPIC  -c misc.c -o misc.o
misc.c: In function ‘import_glib_string’:
misc.c:43:5: warning: ‘g_mem_is_system_malloc’ is deprecated [-Wdeprecated-declarations]
     if (g_mem_is_system_malloc()) return gstr;
     ^~
In file included from /usr/include/glib-2.0/glib/glist.h:32,
                 from /usr/include/glib-2.0/glib/ghash.h:33,
                 from /usr/include/glib-2.0/glib.h:50,
                 from misc.c:25:
/usr/include/glib-2.0/glib/gmem.h:378:10: note: declared here
 gboolean g_mem_is_system_malloc (void);
          ^~~~~~~~~~~~~~~~~~~~~~
cc -Wall -Wextra -Wno-unused-parameter -std=c99 -pedantic -g `pkg-config --cflags glib-2.0 libcrypto` -DG_DISABLE_DEPRECATED=1 -fPIC  -c plugin_xchat.c -o plugin_xchat.o
plugin_xchat.c:33:14: fatal error: hexchat-plugin.h: No such file or directory
     #include <hexchat-plugin.h>
              ^~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:27: plugin_xchat.o] Error 1
thufir@dur:~/fishlim$ 
thufir@dur:~/fishlim$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.10
Release:    18.10
Codename:   cosmic
thufir@dur:~/fishlim$ 

O pacote de criptografia foi atualizado pela última vez em 2015.

software-installation irc package-management compiling hexchat
  • 1 respostas
  • 123 Views
Martin Hope
Thufir
Asked: 2018-12-16 09:49:24 +0800 CST

como instalar o Netbeans 9+ do ubuntu-make ou umake?

  • 1

contexto: em vez de baixar IDEs e SDKs manualmente, sempre que possível, prefiro usar automação como: rVM, SDKman, snap e umake ou ubuntu make. O escopo desta questão é limitado a ferramentas como esta, como o apt e não a downloads manuais.

Como instalo Netbeans9+ usando umake?

Instalei umakecom aptpq snaptem problemas com umake.

O Java 11 foi instalado com SDKman, embora eu também tenha instalado 8.0.192-zulue 9.0.7-zulutambém.

O Ubuntu faz apenas instalações Netbeans8.2.

Como faço umakepara baixar o Netbeans 9?

Ubuntu Make

Ubuntu Make é uma ferramenta de linha de comando que permite que você baixe a versão mais recente de ferramentas de desenvolvedor populares em sua instalação, instalando-a junto com todas as dependências necessárias (que só solicitará acesso root se você não tiver todas as dependências necessárias instaladas já), habilite o multi-arquitetura em seu sistema se você estiver em uma máquina de 64 bits, integre-o ao iniciador do Unity. Basicamente, um comando para deixar seu sistema pronto para desenvolver!

Como estou na versão 8.2 para Netbeans, presumivelmente há uma maneira melhor de utilizar umake.

thufir@dur:~$  
thufir@dur:~$ netbeans
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.netbeans.ProxyURLStreamHandlerFactory (file:/home/thufir/.local/share/umake/ide/netbeans/platform/lib/boot.jar) to field java.net.URL.handler
WARNING: Please consider reporting this to the maintainers of org.netbeans.ProxyURLStreamHandlerFactory
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
^C
thufir@dur:~$ 
thufir@dur:~$ java -version
openjdk version "11.0.1" 2018-10-16
OpenJDK Runtime Environment 18.9 (build 11.0.1+13)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.1+13, mixed mode)
thufir@dur:~$ 
thufir@dur:~$ javac -version
javac 11.0.1
thufir@dur:~$ 
thufir@dur:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.10
Release:    18.10
Codename:   cosmic
thufir@dur:~$ 

Talvez eu deva fazer o downgrade do Java:

https://askubuntu.com/a/1093681/45156

e depois reinstale NB. Não vejo como isso atualizaria o netbeans, no entanto.

nota de rodapé: na verdade, Netbeanso 8.2 é instalado corretamente a partir da versão instantânea de ubuntu-makeou umake.

software-installation java netbeans snap ubuntu-mate
  • 1 respostas
  • 432 Views
Martin Hope
Thufir
Asked: 2018-07-11 22:35:07 +0800 CST

Criar ISO a partir do unetbootin?

  • 0

Como posso criar um ISO unetbootinpara depois gravar um DVD?

unetbootin

Parece conveniente que os arquivos já estejam lá. Eles podem ser empacotados como um ISO em vez de serem baixados novamente? (Isto é do Ubuntu simples, usando unetbootin.)

Veja também:

https://superuser.com/questions/777339/where-does-unetbootin-put-the-downloaded-iso-files

então, talvez os arquivos ISO estejam disponíveis. Hmmmm....vou olhar :

thufir@dur:~$ 
thufir@dur:~$ locate -i "*.iso" 
/home/thufir/Desktop/ubuntu-18.04-live-server-amd64.iso
/home/thufir/Downloads/lubuntu-18.04-desktop-amd64.iso
/home/thufir/Downloads/ubuntu-18.04-desktop-amd64.iso
/home/thufir/Downloads/xenialpup64-7.5-uefi.iso
/usr/lib/memtest86+/memtest86+.iso
thufir@dur:~$ 
system-installation live-usb dual-boot iso unetbootin
  • 3 respostas
  • 1203 Views
Martin Hope
Thufir
Asked: 2018-07-08 00:31:13 +0800 CST

O Cisco Packettracer falha ao iniciar

  • 0

Tentando instalar e executar o Cisco packettracer 7.

thufir@dur:~$ 
thufir@dur:~$ /opt/pt/bin/./PacketTracer7 
/opt/pt/bin/./PacketTracer7: error while loading shared libraries: libQt5ScriptTools.so.5: cannot open shared object file: No such file or directory
thufir@dur:~$ 
thufir@dur:~$ LD_LIBRARY_PATH=/opt/pt/lib /opt/pt/bin/./PacketTracer7
/opt/pt/bin/./PacketTracer7: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory
thufir@dur:~$ 
thufir@dur:~$ locate libpng12.so.0
/snap/core/4650/lib/x86_64-linux-gnu/libpng12.so.0
/snap/core/4650/lib/x86_64-linux-gnu/libpng12.so.0.54.0
/snap/core/4650/usr/lib/x86_64-linux-gnu/libpng12.so.0
/snap/core/4830/lib/x86_64-linux-gnu/libpng12.so.0
/snap/core/4830/lib/x86_64-linux-gnu/libpng12.so.0.54.0
/snap/core/4830/usr/lib/x86_64-linux-gnu/libpng12.so.0
/snap/core/4917/lib/x86_64-linux-gnu/libpng12.so.0
/snap/core/4917/lib/x86_64-linux-gnu/libpng12.so.0.54.0
/snap/core/4917/usr/lib/x86_64-linux-gnu/libpng12.so.0
/snap/gnome-3-26-1604/59/lib/x86_64-linux-gnu/libpng12.so.0
/snap/gnome-3-26-1604/59/lib/x86_64-linux-gnu/libpng12.so.0.54.0
/snap/gnome-3-26-1604/59/usr/lib/x86_64-linux-gnu/libpng12.so.0
/snap/gnome-3-26-1604/64/lib/x86_64-linux-gnu/libpng12.so.0
/snap/gnome-3-26-1604/64/lib/x86_64-linux-gnu/libpng12.so.0.54.0
/snap/gnome-3-26-1604/64/usr/lib/x86_64-linux-gnu/libpng12.so.0
/snap/vuze-vs/3/lib/x86_64-linux-gnu/libpng12.so.0
/snap/vuze-vs/3/lib/x86_64-linux-gnu/libpng12.so.0.54.0
/snap/vuze-vs/3/usr/lib/x86_64-linux-gnu/libpng12.so.0
thufir@dur:~$ 

Aparentemente, porque:

Parece que a biblioteca correta está instalada, mas o CPT requer uma versão mais antiga – 52 em vez de 55. Um pacote Debian contendo a versão mais antiga do libicui18n está disponível em http://security.ubuntu.com/ubuntu/pool/main/i/ icu/libicu52_52.1-3ubuntu0.8_amd64.deb .

instale manualmente um pacote antigo:

thufir@dur:~/deb$ 
thufir@dur:~/deb$ wget http://security.ubuntu.com/ubuntu/pool/main/i/icu/libicu52_52.1-3ubuntu0.8_amd64.deb
--2018-07-07 04:30:57--  http://security.ubuntu.com/ubuntu/pool/main/i/icu/libicu52_52.1-3ubuntu0.8_amd64.deb
Resolving security.ubuntu.com (security.ubuntu.com)... 91.189.91.26, 91.189.91.23, 91.189.88.152, ...
Connecting to security.ubuntu.com (security.ubuntu.com)|91.189.91.26|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 6751362 (6.4M) [application/x-debian-package]
Saving to: ‘libicu52_52.1-3ubuntu0.8_amd64.deb’

libicu52_52.1-3ubuntu0.8_amd64.de 100%[==========================================================>]   6.44M   658KB/s    in 10s     

2018-07-07 04:31:07 (637 KB/s) - ‘libicu52_52.1-3ubuntu0.8_amd64.deb’ saved [6751362/6751362]

thufir@dur:~/deb$ 
thufir@dur:~/deb$ sudo dpkg -i libicu52_52.1-3ubuntu0.8_amd64.deb
[sudo] password for thufir: 
Selecting previously unselected package libicu52:amd64.
(Reading database ... 186168 files and directories currently installed.)
Preparing to unpack libicu52_52.1-3ubuntu0.8_amd64.deb ...
Unpacking libicu52:amd64 (52.1-3ubuntu0.8) ...
Setting up libicu52:amd64 (52.1-3ubuntu0.8) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
thufir@dur:~/deb$ 
thufir@dur:~/deb$ packettracer
Starting Packet Tracer 7.1.1
thufir@dur:~/deb$ 

Mesmo resultado. Os pacotes instalados incluem:

sudo apt install libqt5webkit5 libqt5multimedia5 libqt5xml5 libqt5script5 libqt5scripttools5
software-installation networking cisco make ps
  • 2 respostas
  • 8348 Views
Martin Hope
Thufir
Asked: 2018-05-29 01:59:22 +0800 CST

Erros relacionados ao Python ao executar o apt update após adicionar e remover o repositório Bodhi

  • 2

Erro ao executar a atualização:

thufir@bot:~$ sudo apt update
Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [83.2 kB]
Hit:2 http://ca.archive.ubuntu.com/ubuntu bionic InRelease
Get:3 http://ca.archive.ubuntu.com/ubuntu bionic-updates InRelease [83.2 kB]        
Hit:4 http://ca.archive.ubuntu.com/ubuntu bionic-backports InRelease 
Fetched 166 kB in 1s (138 kB/s)
Traceback (most recent call last):
  File "/usr/lib/cnf-update-db", line 8, in <module>
    from CommandNotFound.db.creator import DbCreator
  File "/usr/lib/python3/dist-packages/CommandNotFound/db/creator.py", line 11, in <module>
    import apt_pkg
ImportError: /usr/lib/python3/dist-packages/apt_pkg.cpython-36m-x86_64-linux-gnu.so: symbol _ZN13debListParser12ParseDependsEPKcS1_RNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_RjRKbSB_SB_RKS7_ version APTPKG_5.0 not defined in file libapt-pkg.so.5.0 with link time reference
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 63, in apport_excepthook
    from apport.fileutils import likely_packaged, get_recent_crashes
  File "/usr/lib/python3/dist-packages/apport/__init__.py", line 5, in <module>
    from apport.report import Report
  File "/usr/lib/python3/dist-packages/apport/report.py", line 30, in <module>
    import apport.fileutils
  File "/usr/lib/python3/dist-packages/apport/fileutils.py", line 23, in <module>
    from apport.packaging_impl import impl as packaging
  File "/usr/lib/python3/dist-packages/apport/packaging_impl.py", line 24, in <module>
    import apt
  File "/usr/lib/python3/dist-packages/apt/__init__.py", line 23, in <module>
    import apt_pkg
ImportError: /usr/lib/python3/dist-packages/apt_pkg.cpython-36m-x86_64-linux-gnu.so: symbol _ZN13debListParser12ParseDependsEPKcS1_RNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_RjRKbSB_SB_RKS7_ version APTPKG_5.0 not defined in file libapt-pkg.so.5.0 with link time reference

Original exception was:
Traceback (most recent call last):
  File "/usr/lib/cnf-update-db", line 8, in <module>
    from CommandNotFound.db.creator import DbCreator
  File "/usr/lib/python3/dist-packages/CommandNotFound/db/creator.py", line 11, in <module>
    import apt_pkg
ImportError: /usr/lib/python3/dist-packages/apt_pkg.cpython-36m-x86_64-linux-gnu.so: symbol _ZN13debListParser12ParseDependsEPKcS1_RNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_RjRKbSB_SB_RKS7_ version APTPKG_5.0 not defined in file libapt-pkg.so.5.0 with link time reference
Reading package lists... Done
W: Problem unlinking the file auxfiles - Clean (21: Is a directory)
E: Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/lib/command-not-found/ -a -e /usr/lib/cnf-update-db; then /usr/lib/cnf-update-db > /dev/null; fi'
E: Sub-process returned an error code
thufir@bot:~$ 

Existe a possibilidade de que esse erro tenha sido introduzido ao tentar adicionar repositórios para bodhi. O sources.listarquivo:

thufir@bot:~$ cat /etc/apt/sources.list
#deb cdrom:[Ubuntu 18.04 LTS _Bionic Beaver_ - Release amd64 (20180426)]/ bionic main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://ca.archive.ubuntu.com/ubuntu/ bionic main restricted
# deb-src http://ca.archive.ubuntu.com/ubuntu/ bionic main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://ca.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
# deb-src http://ca.archive.ubuntu.com/ubuntu/ bionic-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://ca.archive.ubuntu.com/ubuntu/ bionic universe
# deb-src http://ca.archive.ubuntu.com/ubuntu/ bionic universe
deb http://ca.archive.ubuntu.com/ubuntu/ bionic-updates universe
# deb-src http://ca.archive.ubuntu.com/ubuntu/ bionic-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://ca.archive.ubuntu.com/ubuntu/ bionic multiverse
# deb-src http://ca.archive.ubuntu.com/ubuntu/ bionic multiverse
deb http://ca.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
# deb-src http://ca.archive.ubuntu.com/ubuntu/ bionic-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://ca.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
# deb-src http://ca.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu bionic partner
# deb-src http://archive.canonical.com/ubuntu bionic partner

deb http://security.ubuntu.com/ubuntu bionic-security main restricted
# deb-src http://security.ubuntu.com/ubuntu bionic-security main restricted
deb http://security.ubuntu.com/ubuntu bionic-security universe
# deb-src http://security.ubuntu.com/ubuntu bionic-security universe
deb http://security.ubuntu.com/ubuntu bionic-security multiverse
# deb-src http://security.ubuntu.com/ubuntu bionic-security multiverse

#deb [trusted=yes] http://packages.bodhilinux.com/bodhi xenial b4main
thufir@bot:~$ 

Observe que bodhi, a última linha, está comentada. O SO:

thufir@bot:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04 LTS
Release:    18.04
Codename:   bionic

A versão adequada:

thufir@bot:~$ apt-cache policy apt
apt:
  Installed: 2.2.12~bodhi2
  Candidate: 2.2.12~bodhi2
  Version table:
 *** 2.2.12~bodhi2 100
        100 /var/lib/dpkg/status
     1.6.1 500
        500 http://ca.archive.ubuntu.com/ubuntu bionic/main amd64 Packages

Talvez o problema seja uma falha na atualização?

package-management python ppa system apt
  • 1 respostas
  • 6442 Views
Martin Hope
Thufir
Asked: 2018-05-25 18:03:20 +0800 CST

como instalar o netbeans do umake?

  • 1

Como eu instalo o netbeans de umake?

thufir@dur:~$ 
thufir@dur:~$ umake ide netbeans
Choose installation path: /home/thufir/.local/share/umake/ide/netbeans
thufir@dur:~$   

Informação do sistema:

    thufir@dur:~$ 
    thufir@dur:~$ netbeans

    Command 'netbeans' not found, but can be installed with:

    sudo apt install netbeans

    thufir@dur:~$ 
    thufir@dur:~$ snap info ubuntu-make
    name:      ubuntu-make
    summary:   Setup your development environment on ubuntu easily
    publisher: didrocks
    license:   unknown
    description: |
      Ubuntu Make provides a set of functionality to setup,
      maintain and personalize your developer environment easily. It will handle
      all dependencies, even those which aren't in Ubuntu itself, and install
      latest versions of the desired and recommended tools.
      .
      This is the latest master from ubuntu make, freshly built from
      https://github.com/ubuntu/ubuntu-make. It may contain even unreleased
      features!
    commands:
      - ubuntu-make.umake
    snap-id:   GFBbjr1cRDoT3KSiuwGirj83ReKSSd1J
    tracking:  stable
    refreshed: 2018-05-22T02:03:51-07:00
    installed:   master (367) 13MB classic
    channels:                 
      stable:    master (367) 13MB classic
      candidate: ↑                 
      beta:      ↑                 
      edge:      master (363) 13MB classic
    thufir@dur:~$ 
    thufir@dur:~$ sdk ls java

    ================================================================================
    Available Java Versions
    ================================================================================
         9.0.7-zulu                                                                    
         9.0.4-openjdk                                                                 
     > * 8.0.172-zulu                                                                  
         8.0.171-oracle                                                                
         7.0.181-zulu                                                                  
         6.0.107-zulu                                                                  
         10.0.1-zulu                                                                   
         10.0.1-oracle                                                                 
         10.0.0-openjdk                                                                
         1.0.0-rc1-graal                                                               






    ================================================================================
    + - local version
    * - installed
    > - currently in use
    ================================================================================
    thufir@dur:~$ 
    thufir@dur:~$ java -version
    openjdk version "1.8.0_172"
    OpenJDK Runtime Environment (Zulu 8.30.0.1-linux64) (build 1.8.0_172-b01)
    OpenJDK 64-Bit Server VM (Zulu 8.30.0.1-linux64) (build 25.172-b01, mixed mode)
    thufir@dur:~$ 
    thufir@dur:~$ javac -version
    javac 1.8.0_172
    thufir@dur:~$ 
thufir@dur:~$ 
thufir@dur:~$ umake ide netbeans
Choose installation path: /home/thufir/.local/share/umake/ide/netbeans
thufir@dur:~$ 
thufir@dur:~$ netbeans

Command 'netbeans' not found, but can be installed with:

sudo apt install netbeans

thufir@dur:~$ 
thufir@dur:~$ snap info ubuntu-make
name:      ubuntu-make
summary:   Setup your development environment on ubuntu easily
publisher: didrocks
license:   unknown
description: |
  Ubuntu Make provides a set of functionality to setup,
  maintain and personalize your developer environment easily. It will handle
  all dependencies, even those which aren't in Ubuntu itself, and install
  latest versions of the desired and recommended tools.
  .
  This is the latest master from ubuntu make, freshly built from
  https://github.com/ubuntu/ubuntu-make. It may contain even unreleased
  features!
commands:
  - ubuntu-make.umake
snap-id:   GFBbjr1cRDoT3KSiuwGirj83ReKSSd1J
tracking:  stable
refreshed: 2018-05-22T02:03:51-07:00
installed:   master (367) 13MB classic
channels:                 
  stable:    master (367) 13MB classic
  candidate: ↑                 
  beta:      ↑                 
  edge:      master (363) 13MB classic
thufir@dur:~$ 
thufir@dur:~$ sdk ls java

================================================================================
Available Java Versions
================================================================================
     9.0.7-zulu                                                                    
     9.0.4-openjdk                                                                 
 > * 8.0.172-zulu                                                                  
     8.0.171-oracle                                                                
     7.0.181-zulu                                                                  
     6.0.107-zulu                                                                  
     10.0.1-zulu                                                                   
     10.0.1-oracle                                                                 
     10.0.0-openjdk                                                                
     1.0.0-rc1-graal                                                               






================================================================================
+ - local version
* - installed
> - currently in use
================================================================================
thufir@dur:~$ 
thufir@dur:~$ java -v
Unrecognized option: -v
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
thufir@dur:~$ 
thufir@dur:~$ java -version
openjdk version "1.8.0_172"
OpenJDK Runtime Environment (Zulu 8.30.0.1-linux64) (build 1.8.0_172-b01)
OpenJDK 64-Bit Server VM (Zulu 8.30.0.1-linux64) (build 25.172-b01, mixed mode)
thufir@dur:~$ 
thufir@dur:~$ sudo update-alternatives --verbose --config java
update-alternatives: error: no alternatives for java
thufir@dur:~$ 
thufir@dur:~$ umake --version
18.05+snap367
thufir@dur:~$ 
thufir@dur:~$ javac -version
javac 1.8.0_172
thufir@dur:~$ 
software-installation java netbeans snap ubuntu-make
  • 1 respostas
  • 773 Views
Martin Hope
Thufir
Asked: 2018-04-08 22:49:35 +0800 CST

Como editar o GRUB após o POST para o modo de console somente texto?

  • 1

Como faço para editar a GRUBsequência de inicialização de:

linux /boot/vmlinuz... quiet splash

para que ele inicialize no console? Eu tentei remover "quiet" e "splash", bem como adicionar "text". Também posso inicializar no modo de recuperação ou editar a sequência de inicialização.

Caso contrário, a inicialização trava na tela inicial.

command-line grub2 boot grubrescue rescue-mode
  • 1 respostas
  • 1874 Views
Martin Hope
Thufir
Asked: 2018-03-22 10:23:12 +0800 CST

como enviar para o Kindle para o Mozilla Firefox?

  • 0

A extensão "enviar para o Kindle" não funciona no Firefox do Ubuntu?

thufir@dur:~$ 
thufir@dur:~$ firefox -version
Mozilla Firefox 59.0.1
thufir@dur:~$ 

No site do Firefox, não está exatamente claro qual é a versão mais recente. Talvez haja um problema de compatibilidade?

tangente a:

https://superuser.com/q/1306659/55747

firefox ebooks kindle firefox-extensions amazon
  • 1 respostas
  • 897 Views
Martin Hope
Thufir
Asked: 2018-02-18 02:15:39 +0800 CST

executar um script powershell (olá mundo)

  • -2

Um powershellscript "hello world" está gerando e travando o sistema:

Tasks: 413 total,   2 running, 411 sleeping,   0 stopped,   0 zombie
%Cpu(s): 42.8 us,  5.9 sy,  0.0 ni, 51.2 id,  0.2 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem :  8126688 total,  1785632 free,  4862820 used,  1478236 buff/cache
KiB Swap:  8343036 total,  8343036 free,        0 used.  2875400 avail Mem 

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND     
11915 thufir    20   0 3199524  76936  54220 S  19.2  0.9   0:00.58 b.sh        
11858 thufir    20   0 3068456  76988  54276 S  18.9  0.9   0:00.57 b.sh        
11820 thufir    20   0 3199516  77008  54292 S  18.5  0.9   0:00.56 b.sh        
11877 thufir    20   0 3330588  76796  54040 S  18.2  0.9   0:00.55 b.sh        
11896 thufir    20   0 3199532  76984  54232 S  18.2  0.9   0:00.55 b.sh        
11839 thufir    20   0 3199524  76808  54036 S  17.9  0.9   0:00.54 b.sh        
11934 thufir    20   0 3199520  77152  54360 S  17.9  0.9   0:00.54 b.sh        
10265 thufir    20   0 3609528 167556  83332 S   6.3  2.1   0:06.27 gnome-shell 
10002 thufir    20   0 3447780  86904  61024 S   4.6  1.1   0:00.72 b.sh        
 9965 thufir    20   0 3447764  86904  61036 S   4.3  1.1   0:00.69 b.sh        
 9982 thufir    20   0 3316688  86380  60528 S   4.3  1.1   0:00.71 b.sh        
10021 thufir    20   0 3447760  86548  60628 S   4.3  1.1   0:00.70 b.sh        
10040 thufir    20   0 3316696  86316  60524 S   4.0  1.1   0:00.71 b.sh        
10060 thufir    20   0 3316692  86680  60860 S   4.0  1.1   0:00.68 b.sh        
10080 thufir    20   0 3447768  85824  60020 S   3.3  1.1   0:00.66 b.sh        
 9948 thufir    20   0 3447768  86788  60792 S   3.0  1.1   0:00.66 b.sh        
11799 thufir    20   0 3068444  77012  54192 S   1.7  0.9   0:00.56 b.sh        

o roteiro:

thufir@dur:~$ 
thufir@dur:~$ cat powershell/weather/b.sh 
#!/usr/bin/pwsh -Command


echo "hello world"
"done"


thufir@dur:~$ 

não é possível torná-lo um script executável? Talvez essa não seja a primeira linha correta?

detalhes para powershell:

thufir@dur:~$ 
thufir@dur:~$ pwsh
PowerShell v6.0.1
Copyright (c) Microsoft Corporation. All rights reserved.

https://aka.ms/pscore6-docs
Type 'help' to get help.

PS /home/thufir> 
PS /home/thufir> $PSVersionTable.PSVersion                                                                              

Major  Minor  Patch  PreReleas BuildLabel 
                     eLabel               
-----  -----  -----  --------- ---------- 
6      0      1                           


PS /home/thufir> 
PS /home/thufir> get-host                                                                                               


Name             : ConsoleHost
Version          : 6.0.1
InstanceId       : 38ca179a-1605-49d3-8af2-15985d6c0536
UI               : System.Management.Automation.Internal.Host.InternalHostUserInterface
CurrentCulture   : en-CA
CurrentUICulture : en-CA
PrivateData      : Microsoft.PowerShell.ConsoleHost+ConsoleColorProxy
DebuggerEnabled  : True
IsRunspacePushed : False
Runspace         : System.Management.Automation.Runspaces.LocalRunspace



PS /home/thufir> 
PS /home/thufir> $PSVersionTable                                                                                        

Name                           Value                                                                                   
----                           -----                                                                                   
PSVersion                      6.0.1                                                                                   
PSEdition                      Core                                                                                    
GitCommitId                    v6.0.1                                                                                  
OS                             Linux 4.13.0-32-generic #35-Ubuntu SMP Thu Jan 25 09:13:46 UTC 2018                     
Platform                       Unix                                                                                    
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}                                                                 
PSRemotingProtocolVersion      2.3                                                                                     
SerializationVersion           1.1.0.1                                                                                 
WSManStackVersion              3.0                                                                                     


PS /home/thufir> 
scripts programming microsoft webserver powershell
  • 1 respostas
  • 4363 Views
Martin Hope
Thufir
Asked: 2018-02-15 23:54:47 +0800 CST

Como instalar o powershell no Artful Aardvark 17.10?

  • -1

Por causa desse bug , não é possível instalar o powershell do apt para versões mais recentes do Ubuntu ?

$ cat /etc/apt/sources.list.d/microsoft.list
deb [arch=amd64] https://packages.microsoft.com/ubuntu/14.04/prod trusty main
$ sudo apt install -y powershell
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help resolve the situation:

The following packages have unmet dependencies:
 powershell : Depends: libicu52 but it is not installable
E: Unable to correct problems, you have held broken packages.

Na verdade, em um exame mais detalhado, a documentação afirma claramente:

Suporta Ubuntu 14.04, Ubuntu 16.04, Ubuntu 17.04

Estou no 17.10, como deve ser o microsoft.listarquivo de um artfulsistema?

command-line apt microsoft 17.10 powershell
  • 1 respostas
  • 1420 Views
Martin Hope
Thufir
Asked: 2017-11-30 05:39:09 +0800 CST

netplan ou /etc/network/interfaces?

  • 2

A rede sem fio é melhor tratada /etc/network/interfacesda seguinte forma:

thufir@doge:~$ 
thufir@doge:~$ cat /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback


auto wlan0
iface wlan0 inet static
        address 192.168.1.102
        netmask 255.255.255.0
        gateway 192.168.1.1
        network 192.168.1.0
        broadcast 192.168.1.255
        dns-nameservers 192.168.1.1, 8.8.8.8, 8.8.4.4
        wpa-ssid 6^&*(%&$4
        wpa-psk (^&*%^&$%#&#%^&

thufir@doge:~$

ou pelo netplan ? No contexto da CLI.

Em segundo lugar, como posso estabelecer que /etc/network/interfacesestá sendo usado? Possivelmente, o roteador está simplesmente atribuindo esse endereço IP específico com DHCP de network-manager.

thufir@doge:~$ 
thufir@doge:~$ nmcli connection show
NAME                UUID                                  TYPE             DEVICE  
Wi-Fi connection 1  be9517ab-aadf-4a89-bbe5-1ea846a543d3  802-11-wireless  wlp12s0 
Wired connection 1  3f6263c6-cd4b-3e0d-b402-11b6c64fd5d1  802-3-ethernet   --      
thufir@doge:~$ 
thufir@doge:~$ nmcli device show
GENERAL.DEVICE:                         wlp12s0
GENERAL.TYPE:                           wifi
GENERAL.HWADDR:                         00:1F:3C:CD:E6:AD
GENERAL.MTU:                            0
GENERAL.STATE:                          100 (connected)
GENERAL.CONNECTION:                     Wi-Fi connection 1
GENERAL.CON-PATH:                       /org/freedesktop/NetworkManager/ActiveConnection/0
IP4.ADDRESS[1]:                         192.168.1.102/24
IP4.GATEWAY:                            192.168.1.1
IP4.ROUTE[1]:                           dst = 169.254.0.0/16, nh = 0.0.0.0, mt = 1000
IP4.DNS[1]:                             192.168.1.1
IP6.ADDRESS[1]:                         fe80::339d:b8d2:ab1b:3e07/64
IP6.GATEWAY:                            

GENERAL.DEVICE:                         enp9s0
GENERAL.TYPE:                           ethernet
GENERAL.HWADDR:                         00:22:19:D1:9C:0B
GENERAL.MTU:                            1500
GENERAL.STATE:                          20 (unavailable)
GENERAL.CONNECTION:                     --
GENERAL.CON-PATH:                       --
WIRED-PROPERTIES.CARRIER:               off

GENERAL.DEVICE:                         lo
GENERAL.TYPE:                           loopback
GENERAL.HWADDR:                         00:00:00:00:00:00
GENERAL.MTU:                            65536
GENERAL.STATE:                          10 (unmanaged)
GENERAL.CONNECTION:                     --
GENERAL.CON-PATH:                       --
IP4.ADDRESS[1]:                         127.0.0.1/8
IP4.GATEWAY:                            
IP6.ADDRESS[1]:                         ::1/128
IP6.GATEWAY:                            
thufir@doge:~$ 
networking
  • 1 respostas
  • 7611 Views

Sidebar

Stats

  • Perguntas 205573
  • respostas 270741
  • best respostas 135370
  • utilizador 68524
  • Highest score
  • respostas
  • Marko Smith

    Existe um comando para listar todos os usuários? Também para adicionar, excluir, modificar usuários, no terminal?

    • 9 respostas
  • Marko Smith

    Como excluir um diretório não vazio no Terminal?

    • 4 respostas
  • Marko Smith

    Como descompactar um arquivo zip do Terminal?

    • 9 respostas
  • Marko Smith

    Como instalo um arquivo .deb por meio da linha de comando?

    • 11 respostas
  • Marko Smith

    Como instalo um arquivo .tar.gz (ou .tar.bz2)?

    • 14 respostas
  • Marko Smith

    Como listar todos os pacotes instalados

    • 24 respostas
  • Martin Hope
    Flimm Como posso usar o docker sem sudo? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    led-Zepp Como faço para salvar a saída do terminal em um arquivo? 2014-02-15 11:49:07 +0800 CST
  • Martin Hope
    ubuntu-nerd Como descompactar um arquivo zip do Terminal? 2011-12-11 20:37:54 +0800 CST
  • Martin Hope
    TheXed Como instalo um arquivo .deb por meio da linha de comando? 2011-05-07 09:40:28 +0800 CST
  • Martin Hope
    Ivan Como listar todos os pacotes instalados 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    David Barry Como determino o tamanho total de um diretório (pasta) na linha de comando? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher "Os seguintes pacotes foram retidos:" Por que e como resolvo isso? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford Como os PPAs podem ser removidos? 2010-07-30 01:09:42 +0800 CST

Hot tag

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • Início
  • Perguntas
    • Recentes
    • Highest score
  • tag
  • help

Footer

AskOverflow.Dev

About Us

  • About Us
  • Contact Us

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve