Instalar o Franz manualmente no Debian 9

Debian 9 – Franz

.

64bit OS

.
1

cd ~

2

sudo mkdir /opt/franz

3

wget https://github.com/meetfranz/franz-app/releases/download/4.0.4/Franz-linux-x64-4.0.4.tgz

4

sudo tar -xf Franz-linux-x64-4.0.4.tgz -C /opt/franz

5

wget “https://cdn-images-1.medium.com/max/360/1*v86tTomtFZIdqzMNpvwIZw.png” -O franz-icon.png

6

sudo cp franz-icon.png /opt/franz

7

cd /opt/franz

8

./Franz

9

sudo nano /usr/share/applications/franz.desktop

10

 

[Desktop Entry]
Name=Franz
Comment=
Exec=/opt/franz/Franz
Icon=/opt/franz/franz-icon.png
Terminal=false
Type=Application
Categories=Messaging,Internet

 

.

Aperto a tecla Ctrl+x aperto a tecla Enter aperto a tecla s aperto a tecla Enter.

 

.

 

Até Breve

😀

 

Linux 2017 tá difícil compilar hoje em dia?

2017

.

 

Artigo: Linux 2017 tá difícil compilar hoje em dia?

.

LINUX PARA COMPILAR DA FONTE UM PACOTE TAR.ALGUMA-COISA? COMO É QUE EU FAÇO?

.

Vou pesquisar…

.

Parece que são seis (6) comandos.

 

.

1
tar zxf nome_do_pacote.tar.gz

 

Extraio o pacote. Uma pasta é criada. Esta pasta tem de ser movida para o diretório adequado. Pacotes tar.gz padrão podem ser instalados simplesmente usando ./configure && make && make install. É bom ler as instruções que geralmente vem na pasta descompactada.

 

2
cd nome_da_pasta_extraida

 

3
./configure

 

4
make

 

5
make test

 

6
make install

 

Parece que a cada ano eu falho mais e mais neste processo. Não funciona sempre. Para mim, funciona em raras exceções hoje neste ano de 2017.

.

EXERCÍCIOS

 

Debian – Linux Instale o Jogo FreeOrion

Visito o Link:

.

https://ufpr.dl.sourceforge.net/project/freeorion/FreeOrion/FreeOrion Version 0.4.3/freeorion-0.4.3_i386.deb

.

Baixo o pacote .deb e tento instalar com o Gdebi ou, com o comando:

.

sudo dpkg -i nome-do-software.deb

 

.

 

sudo dpkg -i nome-do-software.deb

 

.

 

Debian – Linux Instale o Jogo flobopuyo

Visito o Link:

.

http://www.fovea.cc/files/flobopuyo/flobopuyo-0.20.tgz

.

Baixo o pacote .tgz e tento instalar lendo o readme ou o install.

 

.

Debian – Linux Instale o Jogo Zero Ballistics

Visito o Link:

.

https://ufpr.dl.sourceforge.net/project/zeroballistics/release/linux/zb_20.tar.bz2

.

Baixo o pacote e tento instalar lendo o readme ou o install.

 

.
Debian – Linux Instale o Jogo freeorion

.

Visito o Link:

.

https://ufpr.dl.sourceforge.net/project/freeorion/FreeOrion/FreeOrion Version 0.4.3/freeorion-0.4.3_i386.deb

.

Baixo o pacote e tento instalar lendo o readme ou o install.

.

 

Tem outros jogos. Para saber mais eu visito:

 

.

http://www.linuxtotal.org/viewforum.php?f=95

.

http://www.linuxtotal.org/viewforum.php?f=7

.

 

Debian – Linux Instale o Jogo Terasology

.

Visito o Link:

.

https://sourceforge.net/projects/terasology.mirror/?source=recommended

.

Baixo o pacote e tento instalar lendo o readme ou o install.

.

E aí? Tá fácil, ou tá difícil?

.

Faça o teste.

.

Até Breve

 

.

Dicas e sugestões, são muito bem-vindas. Se achar algum erro neste post, por favor, nos avise.

.

Vou instalar o Stacer a partir do código fonte no Debian 9 – 64 bits?

2017-O-que-e-compilar?.txt
.

Artigo/Anotação:
.

No Linux, quando eu instalo algo a partir do código fonte, eu estou fazendo o que os usuários avançados chamam de compilar.
.

Compilar é passar de linguagem estruturada para linguagem lógica interpretável pela máquina. Na linguagem de programação, quando vc compila um fonte vc está traduzindo ele da linguagem que vc entende (código fonte, LP) para a linguagem que a máquina fala.No Linux quando vc compila um novo kernel vc está passando os fontes dele para uma imagem binária, executável pelo sistema-base;
.

Quando a pessoa compila um novo programa no linux ela está passando as fontes dele para um arquivo que o sistema possa entender e executar.
.

Eu quero um exemplo.
.

Vou instalar o Stacer a partir do código fonte no Debian 9 – 64 bits?

.

O Stacer é um programa para melhorar o desempenho do meu sistema
.

Abro o terminal pelo menu.
.

Executo os comandos abaixo e comento:

.

“Quando a gente baixa o pacote e descompacta ele, tem um readme que diz o que é necessário para compilar o programa na maioria das vezes.”

.

Eu baixo o pacote Stacer que tem nele o código fonte.

.

wget https://github.com/oguzhaninan/Stacer/releases/download/v1.0.7/stacer-1.0.7-x86_64.AppImage -O stacer.appimage

.

Ferramentas para compilar este determinado programa:

git npm

.

sudo apt install git npm

 

Veja o caso do comando acima, a ferramenta npm não consta mais nos repos do Debian 9.
.

 

As coisas mudam…
.

Não vai dar para mim compilar este.
.

Vou a este site por que o readme me disse que tem uma versão .deb:

https://github.com/oguzhaninan/Stacer/releases

.

Baixo o arquivo .deb neste link abaixo:
.

https://github.com/oguzhaninan/Stacer/releases/download/v1.0.7/stacer_1.0.7_amd64.deb

.

Abro o terminal onde baixei o arquivo.

.

Executo estes comandos:

.

su

 

dpkg -i stacer_1.0.7_amd64.deb

 

apt-get -f install

 

apt update ; apt full-upgrade ; apt install -f ; dpkg –configure -a ; update-grub

.

Como você pode ver pela minha captura de tela eu tenho o Stacer instalado no meu querido Debian 9.

.

Até Breve

2017-Debian9-Como-Instalar-Pacotes-Snap-no-Debian9?

.

Por minha conta e risco.

.

O que é snap?

É um formato de pacote (um modo de empacotar software) que permite que o desenvolvedor coloque todas as dependências que o programa precisa dentro do pacote (o Snap). Este pacote pode ser por enquanto; instalado por meio de uma Central de Aplicativos e pelo terminal (atualmente); uma vez instalados, pacotes Snap funcionam em Sandbox, o que permite uma maior estabilidade do sistema, facilita o dowgrade, caso seja necessário, e fecha as portas para bichinhos virtuais.

 

.

Visito o site:

 

https://snapcraft.io/docs/core/install

.

Install snapd on Debian

.

https://snapcraft.io/docs/core/install-debian

.

Para instalar no Debian 9;

$ sudo apt install snapd ; sudo apt install -f ; sudo apt update ; sudo apt full-upgrade ; sudo apt install -f ; sudo dpkg –configure -a ; sudo update-grub

.

Como usar snaps?

.

 

Instalo um Game no Debian 9:

 

$ sudo snap install explode-bricks

 

$ snap list

.

Procurar por snaps:

$ snap find game

$ snap find icon

$ snap find player

$ snap find media

$ snap find browser

.

 

Log in to a snap store

.

Criar uma conta no ubuntu one

.

https://login.ubuntu.com/+login

.

Depois logar pelo terminal:

.

$ sudo snap login me@myself.com

Password: *********

 

2-factor: ******

Welcome!

.

 

Comandos snap:

 

snap: command reference

help: Shows the help content
version: Prints the version

Store commands

find: Finds packages to install
login: Authenticates on snapd and the store
logout: Log out of the store
buy: Buys a snap

Manage snaps on a system

install: Installs a snap to the system
remove: Removes a snap from the system
list: List installed snaps
info: show detailed information about a snap
refresh: Refreshes a snap in the system
revert: Reverts the given snap to the previous state
disable: Disables a snap in the system
enable: Enables a snap in the system
alias: Enables the given aliases
unalias: Disables the given aliases

Manage interfaces connections

interfaces: Lists interfaces in the system
connect: Connects a plug to a slot
disconnect: Disconnects a plug from a slot

See system changes

changes: List system changes
watch: Watch a change in progress
abort: Abort a pending change
change: List a change’s tasks

Developer commands

try: Tests a snap in the system
run: Run the given snap command
download: Downloads the given snap
get: Prints configuration options
set: Changes configuration options
known: Shows known assertions of the provided type
ack: Adds an assertion to the system

find

Usage: snap find <query>

The find command queries the store for available packages.
Command options

–private: Search private snaps
–section=: Restrict the search to a given section

login

Usage: snap login <email>

The login command authenticates on snapd and the snap store and saves credentials into the ~/.snap/auth.json file. Further communication with snapd will then be made using those credentials.

Login only works for local users in the sudo, admin or wheel groups.

An account can be setup at https://login.ubuntu.com
logout

Usage: snap logout

This command logs the current user out of the store
buy

Usage: snap buy <snap>

The buy command buys a snap from the store.
Command options

–currency=: ISO 4217 code for currency

install

Usage: snap install <snap>

The install command installs the named snap in the system.
Command options

–channel=: Use this channel instead of stable
–edge: Install from the edge channel
–beta: Install from the beta channel
–candidate: Install from the candidate channel
–stable: Install from the stable channel
–devmode: Put snap in development mode and disable security confinement
–jailmode: Put snap in enforced confinement mode
–classic: Put snap in classic mode and disable security confinement
–revision=: Install the given revision of a snap, to which you must have developer access
–dangerous: Install the given snap file even if there are no pre-acknowledged signatures for it, meaning it was not verified and could be dangerous (–devmode implies this)

remove

Usage: snap remove <snap>

The remove command removes the named snap from the system.

By default all the snap revisions are removed, including their data and the common data directory. When a –revision option is passed only the specified revision is removed.
Command options

–revision=: Remove only the given revision

list

Usage: snap list <snap>

The list command displays a summary of snaps installed in the current system.
Command options

–all: Show all revisions

info

Usage: snap info <snap>

The info command shows detailed information about a snap, be it by name or by path.
Command options

–verbose: Include a verbose list of a snap’s notes (otherwise, summarise notes)

refresh

Usage: snap refresh <snap>

The refresh command refreshes (updates) the named snap.
Command options

–channel=: Use this channel instead of stable
–edge: Install from the edge channel
–beta: Install from the beta channel
–candidate: Install from the candidate channel
–stable: Install from the stable channel
–devmode: Put snap in development mode and disable security confinement
–jailmode: Put snap in enforced confinement mode
–classic: Put snap in classic mode and disable security confinement
–revision=: Refresh to the given revision
–list: Show available snaps for refresh
–ignore-validation: Ignore validation by other snaps blocking the refresh

revert

Usage: snap revert <snap>

The revert command reverts the given snap to its state before the latest refresh. This will reactivate the previous snap revision, and will use the original data that was associated with that revision, discarding any data changes that were done by the latest revision. As an exception, data which the snap explicitly chooses to share across revisions is not touched by the revert process.

[revert command options]

–devmode: Put snap in development mode and disable security confinement
–jailmode: Put snap in enforced confinement mode
–classic: Put snap in classic mode and disable security confinement
–revision=: Revert to the given revision

disable

Usage: snap disable <snap>

The disable command disables a snap. The binaries and services of the snap will no longer be available. But all the data is still available and the snap can easily be enabled again.
enable

Usage: snap enable <snap>

The enable command enables a snap that was previously disabled.
alias

Usage: snap alias <snap>

The alias command enables the given application aliases defined by the snap.

Once enabled the respective application commands can be invoked just using the aliases.
Command options

–reset=: Reset the aliases to their default state, enabled for automatic aliases, disabled otherwise

unalias

Usage: snap unalias <snap> <alias>

The unalias command disables explicitly the given application aliases defined by the snap.
interfaces

Usage: snap interfaces <snap>:<slot or plug>

The interfaces command lists interfaces available in the system.

By default all slots and plugs, used and offered by all snaps, are displayed.

$ snap interfaces <snap>:<slot or plug>

Lists only the specified slot or plug.

$ snap interfaces <snap>

Lists the slots offered and plugs used by the specified snap.

$ snap interfaces -i=<interface> <snap>

Filters the complete output so only plugs and/or slots matching the provided details are listed.
Command options

-i=: Constrain listing to specific interfaces

connect

Usage: snap connect <snap>:<plug> <snap>:<slot>

The connect command connects a plug to a slot. It may be called in the following ways:

$ snap connect <snap>:<plug> <snap>:<slot>

Connects the provided plug to the given slot.

$ snap connect <snap>:<plug> <snap>

Connects the specific plug to the only slot in the provided snap that matches the connected interface. If more than one potential slot exists, the command fails.

$ snap connect <snap>:<plug>

Connects the provided plug to the slot in the core snap with a name matching the plug name.
disconnect

Usage: snap disconnect <snap>:<plug> <snap>:<slot>

The disconnect command disconnects a plug from a slot. It may be called in the following ways:

$ snap disconnect <snap>:<plug> <snap>:<slot>

Disconnects the specific plug from the specific slot.

$ snap disconnect <snap>:<slot or plug>

Disconnects everything from the provided plug or slot. The snap name may be omitted for the core snap.
changes

Usage: snap changes <snap>

The changes command displays a summary of the recent system changes performed.
watch

Usage: snap watch <change-id>

The watch command waits for the given change-id to finish and shows progress (if available).
abort

Usage: snap abort <change-id>

The abort command attempts to abort a change that still has pending tasks.
change

Usage: snap change <id>

The change command displays a summary of tasks associated to an individual change.
try

Usage: snap try <snap-dir>

The try command installs an unpacked snap into the system for testing purposes. The unpacked snap content continues to be used even after installation, so non-metadata changes there go live instantly. Metadata changes such as those performed in snap.yaml will require reinstallation to go live.

If snap-dir argument is omitted, the try command will attempt to infer it if either snapcraft.yaml file and prime directory or meta/snap.yaml file can be found relative to current working directory.
Command options

–devmode: Put snap in development mode and disable security confinement
–jailmode: Put snap in enforced confinement mode
–classic: Put snap in classic mode and disable security confinement

run

Usage: snap run <snap>.<command>

Run the given snap command with the right confinement and environment
Command options

–shell: Run a shell instead of the command (useful for debugging)

download

Usage: snap download <snap>

The download command downloads the given snap and its supporting assertions to the current directory under .snap and .assert file extensions, respectively.
Command options

–channel=: Use this channel instead of stable
–edge: Install from the edge channel
–beta: Install from the beta channel
–candidate: Install from the candidate channel
–stable: Install from the stable channel
–revision=: Download the given revision of a snap, to which you must have developer access

get

Usage: snap get <snap> <key>

The get command prints configuration options for the provided snap.

$ snap get snap-name username
frank

If multiple option names are provided, a document is returned:

$ snap get snap-name username password
{
“username”: “frank”,
“password”: “…”
}

Nested values may be retrieved via a dotted path:

$ snap get snap-name author.name
frank

Command options

-t: Strict typing with nulls and quoted strings
-d: Always return document, even with single key

set

Usage: snap set <snap> <key=value>

The set command changes the provided configuration options as requested.

$ snap set snap-name username=frank password=$PASSWORD

All configuration changes are persisted at once, and only after the snap’s configuration hook returns successfully.

Nested values may be modified via a dotted path:

$ snap set author.name=frank

known

Usage: snap known <assertion type> <header=value>

The known command shows known assertions of the provided type. If header=value pairs are provided after the assertion type, the assertions shown must also have the specified headers matching the provided values.
Command options

–remote

ack

Usage: snap ack <assertion file>

The ack command tries to add an assertion to the system assertion database.

The assertion may also be a newer revision of a preexisting assertion that it will replace.

To succeed the assertion must be valid, its signature verified with a known public key and the assertion consistent with and its prerequisite in the database.

.

Fonte:

https://snapcraft.io/docs/reference/snap-command

.

Debian9-como-instalar-mypaint-flatpak-no-Debian-9?

2017-Debian9-como-instalar-mypaint-flatpak-no-Debian-9?

.

O QUE É FLATPAK?
.
Flatpak é uma forma de empacotamento nova, que consiste basicamente em um pacote contendo todas as dependências de um determinado programa, resolvendo com isso o velho problema no GNU/linux de dependências de pacotes.

.

EXPLIQUE DE NOVO, O QUE É MESMO FLATPAK?
.
Flatpak é um dos novos e revolucionários formatos de empacotamento para as distribuições Linux, além de multidistro, um pacote Flatpak elimina a necessidade de caçar dependências para instalar os softwares, sejam elas instaladas automaticamente ou manualmente.

.

Para instalar o flatpak no Debian 9;

 

su

apt install -y flatpak

.

Para instalar o Mypaint flatpak produzido por Manuel Quiñones.

.

 

$ flatpak install –from https://raw.githubusercontent.com/mypaint/mypaint/master/flatpak/mypaint-stable.flatpakref

.

$ flatpak run org.mypaint.MyPaint

.

Dá para instalar o Pitivi master (development version), se eu não estiver já instalado, eu uso:

.

 

$ flatpak install –user http://flatpak.pitivi.org/pitivi-master.flatpakref

 

$ flatpak.pitivi.org/pitivi-master.flatpakref

 

$ flatpak run org.pitivi.Pitivi

 

.

GNOME – muitos aplicativos do Gnome estão disponíveis do ramo Stable e do ramo Unstable. Podem ser instaladas individualmente.

.

$ flatpak remote-add –if-not-exists gnome https://sdk.gnome.org/gnome.flatpakrepo

.

$ flatpak remote-add gnome-apps https://sdk.gnome.org/gnome-apps.flatpakrepo

.

$ flatpak install –from https://git.gnome.org/browse/gnome-apps-nightly/plain/gnome-builder.flatpakref?h=stable

.

$ flatpak run org.gnome.Builder

.

$ flatpak install –from https://git.gnome.org/browse/gnome-apps-nightly/plain/gnome-documents.flatpakref?h=stable

.

$ flatpak run org.gnome.Documents

.

Gedit flatpak

.

$ flatpak install –from https://git.gnome.org/browse/gnome-apps-nightly/plain/gedit.flatpakref?h=stable

.

$ flatpak run org.gnome.Gedit

.

GNOME Games flatpak

.

$ flatpak install –from https://git.gnome.org/browse/gnome-apps-nightly/plain/gnome-games.flatpakref?h=stable

.

$ flatpak run org.gnome.Games

.

 

Até Breve

.

 

Fonte:

 

http://flatpak.org/apps.html

.

http://flatpak.org/getting.html

Debian 9 – Instalando o VirtualBox

2017

.

Debian9 – Instalando o VirtualBox

.

Vou pesquisar…

.

Eu executo os comandos abaixo:

.

sudo nano /etc/apt/sources.list.d/virtualbox.list

.

Colo o texto abaixo no nano:

.

deb http://download.virtualbox.org/virtualbox/debian stretch contrib

.

Salvo com Ctrl+O, aperto a tecla Enter e depois Ctrl+X

.

Adiciono as Chaves Públicas:

.

curl -O https://www.virtualbox.org/download/oracle_vbox_2016.asc

sudo apt-key add oracle_vbox_2016.asc
.

Executo:

.

sudo apt update

.

sudo apt-get install virtualbox-5.2 -y

.

É bom instalar:

.

VM VirtualBox Extension Pack

.

Instalo:

.

sudo apt-get install dkms

.

Visito:

.

https://www.virtualbox.org/wiki/Linux_Downloads

.

Remoção do VirtualBox:

.

sudo apt remove virtualbox-5.2 -y ; sudo apt autoremove -y

.

sudo rm /etc/apt/sources.list.d/virtualbox.list

.

Até Breve

.

Fonte

.

😀