linux - pós instalação arch linux

4
Depois de brincar bastante com o arch em maquinas virtuais decidi colocar ele no desktop e no notebook, durante o processo de pós instalação e configuração eu fui fazendo algumas anotações que resultou neste simples documento que estou compartilhando. Qualquer dica e sugestão são bem vindas. Gustavo Lichti [email protected] Ultima revisão: 22/06/2012 20:09 Pacman Buscar pacote pacman -Ss <palavra-chave> Instalar pacote pacman -S <nome-do-pacote> Instalar pacote de um repositório pacman -S <nome-do-repo>/<nome-do-pacote> Remover pacote pacman -R <nome-do-pacote> Remover pacote e suas dependências pacman -Rs <nome-do-pacote> Mostrar informações detalhadas pacman -Si <nome-do-pacote> Adicionar usuario useradd -m -g users -G \ audio,disk,floppy,games,locate,lp,network,optical,power,scanner,storage,sys,uucp, \ video,wheel -s /bin/bash lichti passwd lichti Detalhes aqui: https://wiki.archlinux.org/index.php/Users_and_Groups#User_groups Configurar e adicionar repositorios nano /etc/pacman.conf Adicionar: SigLevel = Optional TrustAll [archlinuxfr] Server = http://repo.archlinux.fr/$arch [mate] # Official MATE repo: Server = http://packages.mate-desktop.org/repo/archlinux/mate/$arch Atualizando gpg dos repositorios pacman-key --populate archlinux pacman-db-upgrade Atualizar o sistema

Upload: ronaldo-zacarias-da-silva

Post on 27-Dec-2015

170 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Linux - Pós Instalação Arch Linux

Depois de brincar bastante com o arch em maquinas virtuais decidi colocar ele no desktop e no notebook, durante o processo de pós instalação e configuração eu fui fazendo algumas anotações que resultou neste simples documento que estou compartilhando.

Qualquer dica e sugestão são bem vindas.

Gustavo [email protected]

Ultima revisão: 22/06/2012 20:09

PacmanBuscar pacote

pacman -Ss <palavra-chave>Instalar pacote

pacman -S <nome-do-pacote>Instalar pacote de um repositório

pacman -S <nome-do-repo>/<nome-do-pacote>Remover pacote

pacman -R <nome-do-pacote>Remover pacote e suas dependências

pacman -Rs <nome-do-pacote>Mostrar informações detalhadas

pacman -Si <nome-do-pacote>

Adicionar usuariouseradd -m -g users -G \ audio,disk,floppy,games,locate,lp,network,optical,power,scanner,storage,sys,uucp, \video,wheel -s /bin/bash lichti

passwd lichti

Detalhes aqui: https://wiki.archlinux.org/index.php/Users_and_Groups#User_groups

Configurar e adicionar repositoriosnano /etc/pacman.conf

Adicionar:SigLevel = Optional TrustAll[archlinuxfr]Server = http://repo.archlinux.fr/$arch[mate]# Official MATE repo:Server = http://packages.mate-desktop.org/repo/archlinux/mate/$arch

Atualizando gpg dos repositoriospacman-key --populate archlinuxpacman-db-upgrade

Atualizar o sistema

Page 2: Linux - Pós Instalação Arch Linux

pacman -Suy

Pacotes essenciaispacman -S sudo yaourt base-devel aspell-pt screen mercurial fping nmap git \gvim-spell-br gvim openssh subversion dosfstools ntfs-3g ntfsprogs

Configurar o sudovisudo

Descomentar a linha abaixo(remover o # do inicio)%wheel ALL=(ALL) ALL

Habilitar autocomplete com o sudoecho "complete -cf sudo" >> /etc/bash.bashrc

Instalar Xorgpacman -S xorg-server xorg-xinit xorg-utils xorg-server-utils

Instalar o driver proprietario da nvidiapacman -R ati-dri intel-dri xf86-video-ati xf86-video-intel

pacman -S nvidia nvidia-utils abs opencl-nvidia

nvidia-xconfig

echo "EnableLinuxHWVideoDecode=1" >> /etc/adobe/mms.cfg

Instalar o driver proprietário da ati (Serie 5xxx ou superior)pacman -R ati-dri intel-dri xf86-video-ati xf86-video-intel

yaourt -S catalyst-test

aticonfig --initial

modprobe fglrx

Ativar modulos da ati no bootnano /etc/rc.confMODULES=(... fglrx …)

Instalar Gnomepacman -S gdm gnome gnome-extra gnome-tweak-tool gnome-utils rhythmbox ttf-dejavu ttf-bitstream-vera ttf-liberation telepathy-mission-control libcanberra libnotify libunique libwebkit evolution-data-server telepathy-gabble telepathy-idle telepathy-salut telepathy-haze

Tema para gnomeyaourt -S faenza-icon-theme

Instalar o mate desktop (Gnome2)

Page 3: Linux - Pós Instalação Arch Linux

pacman -Sff mate mate-extra mate-applets mate-bluetooth mate-power-manager \mate-sensors-applet

Instalar o cinnamon - alternativa ao gnome-shellyaourt -S cinnamon cinnamon-applets

Ativar daemon para funcionamento do ambiente gráfico no bootnano /etc/rc.confDAEMONS=(... dbus networkmanager …)

Alterar o runlevelnano /etc/inittabid:5:initdefault:

Trocar o XDM pelo GDMnano /etc/inittabx:5:respawn:/usr/sbin/gdm -nodaemon

Instalar o libreofficepacman -S ttf-dejavu artwiz-fonts hunspell libreoffice-common \libreoffice-{writer,base,calc,impress,math,draw,sdk,sdk-doc,gnome} \libreoffice-pt-BR

yaourt -S hunspell-pt-br

Instalar o cups e hplippacman -S cups cups-pdf hplip ghostscript gsfonts hpoj samba python2-pyqt dbus-python \gutenprint foomatic-db foomatic-db-engine foomatic-db-nonfree foomatic-filters splix

modprobe usbcore/etc/rc.d/ptal-init setuprc.d start ptal-initrc.d start cupsd

Ativar daemon e madulos do cups no bootnano /etc/rc.confMODULES=(... usbcore …)DAEMONS=(... ptal-init avahi-daemon avahi-dnsconfd cups …)

Instalar suporte a scannerpacman -S xsane xsane-gimp

echo "hpaio" >> /etc/sane.d/dll.confecho "hpoj" >> /etc/sane.d/dll.conf

Utilitariospacman -S tar gzip bzip2 unzip unrar p7zip gparted filezilla terminator vim-rails geany \dia ekiga vlc putty remmina synergy skype

Page 4: Linux - Pós Instalação Arch Linux

yaourt -S dropbox quicksynergy teamviewer wireshark-gtk

usermod -a -G wireshark lichti

Java Oraclepacman -Rdd jre7-openjdk jre7-openjdk-headless jdk7-openjdk

yaourt -S jre jdk

Banco de dadospacman -S mysql-clients sqlite sqliteman sqlitebrowser

yaourt -S mysql-workbench

Virtualbox e KVMyaourt -S virtualbox-bin virtualbox-ext-oracle

usermod -a -G vboxusers lichti

Ativar daemon do dkms no boot(funcionamento do virtualbox)nano /etc/rc.confDAEMONS=(... dkms …)

Editores de som, video e imagempacman -S openshot inkscape gimp audacity blender

Navegadoresyaourt -S google-chrome

pacman -S firefox opera flashplugin

Codecspacman -S gstreamer0.10 gstreamer0.10-plugins gstreamer0.10-base gstreamer0.10-good \gstreamer0.10-python gstreamer0.10-ugly ffmpeg libdvdcss

Referencias:http://planeta.archlinux-br.org/https://wiki.archlinux.org/index.php/Beginners'_Guide_(Portugu%C3%AAs)http://www.mindbending.org/guia-de-instalacao-do-arch-linux/http://www.mindbending.org/configuracao-basica-do-arch-linux-sem-dor/#more-1420http://www.mindbending.org/programas-essenciais-apos-a-instalacao-do-arch/http://www.mindbending.org/instalando-e-configurando-o-libreoffice-e-uma-multifuncional-hp/