Como se tornar um gnu-xiita em Debian, Ubuntu e drivados


Com a instalação de um simples pacote chamado vrms, podemos listar no Debian, Ubuntu e derivados todos os pacotes não-livres porventura instalados via gerenciador de pacotes, como complemento demonstrarei com removê-los também.

Instalação

Em seu terminal, tasca aí:

$ sudo apt-get update
$ sudo apt-get install vrms

Exemplos

Abaixo veremos o uso do programa com as opções -q , -e e -s:

$ vrms -q
               Non-free packages installed on debian

libparmetis-dev                     Parallel Graph Partitioning and Sparse Matrix Ordering
libparmetis3.1                      Parallel Graph Partitioning and Sparse Matrix Ordering
opera                               Fast and secure web browser and Internet suite
opera-next                          Fast and secure web browser and Internet suite
oracle-java7-jre                    Java™ Platform, Standard Edition 7 Runtime Environme
p7zip-rar                           non-free rar module for p7zip
rar                                 Archiver for .rar files
unace-nonfree                       extract, test and view .ace archives (non-free version
unrar                               Unarchiver for .rar files (non-free version)
virtualbox-guest-additions-iso      guest additions iso image for VirtualBox
w32codecs                           win32 binary codecs

               Contrib packages installed on debian

flashplugin-nonfree                 Adobe Flash Player - browser plugin
java-package                        Utility for creating Java Debian packages
jdownloader-installer               download manager for one-click hosting sites
libsuitesparse-metis-3.1.0          collection of libraries for computations for sparse ma
libsuitesparse-metis-dev            collection of libraries for computations for sparse ma
pepperflashplugin-nonfree           Pepper Flash Player - browser plugin
ttf-mscorefonts-installer           Installer for Microsoft TrueType core fonts
virtualbox                          x86 virtualization solution - base binaries
virtualbox-dkms                     x86 virtualization solution - kernel module sources fo
virtualbox-qt                       x86 virtualization solution - Qt based user interface

$ vrms -e
               Non-free packages installed on debian

libparmetis-dev                     Parallel Graph Partitioning and Sparse Matrix Ordering
libparmetis3.1                      Parallel Graph Partitioning and Sparse Matrix Ordering
opera                               Fast and secure web browser and Internet suite
opera-next                          Fast and secure web browser and Internet suite
oracle-java7-jre                    Java™ Platform, Standard Edition 7 Runtime Environme
p7zip-rar                           non-free rar module for p7zip
rar                                 Archiver for .rar files
unace-nonfree                       extract, test and view .ace archives (non-free version
unrar                               Unarchiver for .rar files (non-free version)
virtualbox-guest-additions-iso      guest additions iso image for VirtualBox
w32codecs                           win32 binary codecs

               Contrib packages installed on debian

flashplugin-nonfree                 Adobe Flash Player - browser plugin
java-package                        Utility for creating Java Debian packages
jdownloader-installer               download manager for one-click hosting sites
libsuitesparse-metis-3.1.0          collection of libraries for computations for sparse ma
libsuitesparse-metis-dev            collection of libraries for computations for sparse ma
pepperflashplugin-nonfree           Pepper Flash Player - browser plugin
ttf-mscorefonts-installer           Installer for Microsoft TrueType core fonts
virtualbox                          x86 virtualization solution - base binaries
virtualbox-dkms                     x86 virtualization solution - kernel module sources fo
virtualbox-qt                       x86 virtualization solution - Qt based user interface

  11 non-free packages, 0.5% of 2271 installed packages.
  10 contrib packages, 0.4% of 2271 installed packages.

$ vrms -s
libparmetis-dev
libparmetis3.1
opera
opera-next
oracle-java7-jre
p7zip-rar
rar
unace-nonfree
unrar
virtualbox-guest-additions-iso
w32codecs

flashplugin-nonfree
java-package
jdownloader-installer
libsuitesparse-metis-3.1.0
libsuitesparse-metis-dev
pepperflashplugin-nonfree
ttf-mscorefonts-installer
virtualbox
virtualbox-dkms
virtualbox-qt

Remoção de pacotes

Abaixo demonstrarei apenas a simulação, para a remoção de fato, bastaria trocar a opção -s do apt-get pela opção -y:

$ vrms -s | xargs sudo apt-get --purge remove -s
Lendo listas de pacotes... Pronto
Construindo árvore de dependências       
Lendo informação de estado... Pronto
Os pacotes extra a seguir serão instalados:
  ca-certificates-java default-jre-headless icedtea-6-jre-cacao
  icedtea-6-jre-jamvm java-common openjdk-6-jre-headless
  openjdk-6-jre-lib tzdata-java
Pacotes sugeridos:
  default-jre sun-java6-fonts fonts-ipafont-gothic
  fonts-ipafont-mincho ttf-wqy-microhei ttf-wqy-zenhei ttf-indic-fonts
Os pacotes a seguir serão REMOVIDOS:
  flashplugin-nonfree* java-package* jdownloader-installer* libgsoap4*
  libparmetis-dev* libparmetis3.1* libsuitesparse-metis-3.1.0*
  libsuitesparse-metis-dev* libvncserver0* opera* opera-next*
  oracle-java7-jre* p7zip-rar* pepperflashplugin-nonfree* rar*
  ttf-mscorefonts-installer* unace-nonfree* unrar* virtualbox*
  virtualbox-dkms* virtualbox-guest-additions-iso* virtualbox-qt*
  w32codecs*
Os NOVOS pacotes a seguir serão instalados:
  ca-certificates-java default-jre-headless icedtea-6-jre-cacao
  icedtea-6-jre-jamvm java-common openjdk-6-jre-headless
  openjdk-6-jre-lib tzdata-java
0 pacotes atualizados, 8 pacotes novos instalados, 23 a serem removidos e 8 não atualizados.
Purg flashplugin-nonfree [1:3.2+wheezy1]
Purg java-package [0.53~bpo70+1]
Purg jdownloader-installer [0.5-0jd4~ubuntu15.04.1~ppa1]
Purg virtualbox-qt [4.3.18-dfsg-2~bpo70+1]
Purg virtualbox-dkms [4.3.18-dfsg-2~bpo70+1]
Purg virtualbox [4.3.18-dfsg-2~bpo70+1]
Purg libgsoap4 [2.8.16-2~bpo70+1]
Purg libsuitesparse-metis-dev [3.1.0-2]
Purg libparmetis-dev [3.1.1-4]
Purg libsuitesparse-metis-3.1.0 [3.1.0-2]
Purg libparmetis3.1 [3.1.1-4]
Purg libvncserver0 [0.9.9+dfsg-1+deb7u1]
Purg opera [12.16.1860]
Purg opera-next [12.16.1860]
Inst openjdk-6-jre-lib (6b34-1.13.6-1~deb7u1 Debian-Security:7.0/stable [all]) []
Inst ca-certificates-java (20121112+nmu2 Debian:7.8/stable [all]) []
Inst tzdata-java (2015a-0wheezy1 Debian:stable-updates, Debian:7-updates/proposed-updates [all]) []
Inst java-common (0.47 Debian:7.8/stable [all]) []
Inst openjdk-6-jre-headless (6b34-1.13.6-1~deb7u1 Debian-Security:7.0/stable [i386])
Inst default-jre-headless (1:1.6-47 Debian:7.8/stable [i386])
Conf tzdata-java (2015a-0wheezy1 Debian:stable-updates, Debian:7-updates/proposed-updates [all])
Conf java-common (0.47 Debian:7.8/stable [all])
Conf ca-certificates-java (20121112+nmu2 Debian:7.8/stable [all])
Conf openjdk-6-jre-lib (6b34-1.13.6-1~deb7u1 Debian-Security:7.0/stable [all])
Conf openjdk-6-jre-headless (6b34-1.13.6-1~deb7u1 Debian-Security:7.0/stable [i386])
Conf default-jre-headless (1:1.6-47 Debian:7.8/stable [i386])
Purg oracle-java7-jre [7u75]
Purg p7zip-rar [9.20.1~ds.1-3]
Purg pepperflashplugin-nonfree [1.4~bpo60+1]
Purg rar [2:4.0.b3-1]
Purg ttf-mscorefonts-installer [3.4+nmu1]
Purg unace-nonfree [2.5-7]
Purg unrar [1:4.1.4-1]
Purg virtualbox-guest-additions-iso [4.3.18-1~bpo70+1]
Purg w32codecs [1:20110131-dmo2]
Inst icedtea-6-jre-cacao (6b34-1.13.6-1~deb7u1 Debian-Security:7.0/stable [i386])
Inst icedtea-6-jre-jamvm (6b34-1.13.6-1~deb7u1 Debian-Security:7.0/stable [i386])

Obviamente, antes de executar o comando acima seria necessário remover as seções contrib e non-free do arquivo /etc/apt/sources.list, bem como desabilitar quaisquer repositório externo presente seja no arquivo citado ou no diretório /etc/apt/sources.list.d, aí sim, você poderia ganhar o brevê de gnu-xiita.

t+

Anúncios
Como se tornar um gnu-xiita em Debian, Ubuntu e drivados

Deixe um comentário

Preencha os seus dados abaixo ou clique em um ícone para log in:

Logotipo do WordPress.com

Você está comentando utilizando sua conta WordPress.com. Sair / Alterar )

Imagem do Twitter

Você está comentando utilizando sua conta Twitter. Sair / Alterar )

Foto do Facebook

Você está comentando utilizando sua conta Facebook. Sair / Alterar )

Foto do Google+

Você está comentando utilizando sua conta Google+. Sair / Alterar )

Conectando a %s