Created
August 13, 2012 17:27
-
-
Save marrcandre/3342623 to your computer and use it in GitHub Desktop.
Roteiro de pós-instalação do Ubuntu 12.04
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#Antes de reinstalar: | |
sudo cp ~/.bashrc ~/.bash_history /etc/apt/sources.list /dados/dados/Dropbox/docpriv/backupUbuntu/ | |
##Repositórios | |
#Backup do sources.list antigo | |
sudo cp /etc/apt/sources.list /etc/apt/sources.list.original | |
#Abre o arquivo sources.list para edição | |
sudo gedit /etc/apt/sources.list | |
#Entre na página abaixo, escolha os repositórios, mande gerar o novo sources.list, copie e cole no arquivo editado. | |
#http://repogen.simplylinux.ch/ | |
#Instalação do aptitude, que foi retirado do Ubuntu padrão | |
sudo apt-get install aptitude | |
#atualizar sistema | |
sudo apt-get install && sudo apt-get dist-upgrade | |
##Pacotes gerais | |
sudo apt-get install acroread audacious cheese chromium-browser-l10n devede funcoeszz geany gedit-plugins gnome-mplayer gparted gstreamer0.10-lame htop ipython libdvdcss2 meld nautilus-gksu nautilus-open-terminal picasa pidgin pyrenamer python3-minimal skype startupmanager sun-java6-jre traceroute vim vlc w32codecs xchat virtualbox wireshark winff steghide curl python-pygame boxee gimp opera gnome-tweak-tool subdownloader tagtool banshee rhythmbox python-gdata jhead googlecl | |
#Pacotes extras, codecs, etc. | |
sudo apt-get install ubuntu-restricted-extras non-free-codecs libdvdcss2 faac faad ffmpeg ffmpeg2theora flac icedax id3v2 lame libflac++6 libjpeg-progs libmpeg3-1 mencoder mjpegtools mp3gain mpeg2dec mpeg3-utils mpegdemux mpg123 mpg321 regionset sox uudeview vorbis-tools x264 arj lha p7zip p7zip-full p7zip-rar rar unrar unace-nonfree sharutils uudeview mpack cabextract | |
#Remover Totem | |
sudo apt-get remove totem totem-mozilla totem-common totem-plugins | |
##Remover fontes true type pouco utilizadas | |
sudo apt-get remove ttf-kochi-mincho ttf-kochi-gothic ttf-arabeyes ttf-arphic-ukai ttf-arphic-uming ttf-baekmuk ttf-bengali-fonts ttf-devanagari-fonts ttf-gentium ttf-gujarati-fonts ttf-indic-fonts ttf-kannada-fonts ttf-kochi-gothic ttf-lao ttf-malayalam-fonts ttf-mgopen ttf-oriya-fonts ttf-punjabi-fonts ttf-tamil-fonts ttf-telugu-fonts ttf-thai-tlwg ttf-unfonts-core ttf-indic-fonts-core ttf-wqy-zenhei | |
#scripts pessoais na pasta bin dentro do home do usuário | |
cd && sudo ln -s /dados/dados/Dropbox/docpriv/backupUbuntu/scripts bin | |
## As linhas a seguir removem as pastas de documentos da pasta home do usuário e criam atalhos para as mesmas pastas na minha partição de dados: | |
cd && sudo rm -Rf Documentos Imagens Modelos Música Público Vídeos Downloads examples.desktop | |
ln -s /dados/dados/Imagens | |
ln -s /dados/dados/Vídeos | |
ln -s /dados/dados/Música | |
ln -s /dados/dados/Downloads | |
#Desativar Bluetooth na inicialização | |
#colocar a linha abaixo em /etc/rc.local, antes do "exit 0": | |
#rfkill block bluetooth | |
## Latex | |
sudo apt-get install texlive texlive-humanities texlive-lang-portuguese babel latex-beamer abntex aspell-pt-br gedit-plugins gedit-latex-plugin rubber texmaker texlive-latex-extra -y | |
## Python e relacionados | |
sudo apt-get install ipython bpython python-django python-sqlite python3-minimal python-scipy dreampie | |
## Jdownloader | |
sudo add-apt-repository ppa:jd-team/jdownloader && sudo apt-get update && sudo apt-get install jdownloader -y | |
cp /dados/dados/Dropbox/docpriv/backupUbuntu/jd_logo_128_128.png ~/.jdonloaderlogo | |
jdownloader | |
#Jdownloader no Unity | |
sudo add-apt-repository ppa:narfss/proyectobs | |
sudo apt-get update | |
sudo apt-get install unity-jdownloader | |
### Dropbox | |
sudo apt-key adv --keyserver pgp.mit.edu --recv-keys 5044912E | |
sudo add-apt-repository "deb http://linux.dropbox.com/ubuntu $(lsb_release -sc) main" | |
sudo apt-get update && sudo apt-get install nautilus-dropbox | |
##inSSIDer | |
sudo dpkg -i /dados/dados/install/inssider_0.1.0.0111_i386.deb | |
#historico do bash | |
echo "export HISTSIZE=10000" >> ~/.bashrc | |
echo "export HISTFILESIZE=20000" >> ~/.bashrc | |
#aliases | |
echo "alias lh='ls -alhF'" >> ~/.bashrc | |
echo "alias ll='ls -lhF'" >> ~/.bashrc | |
echo "alias la='ls -A'" >> ~/.bashrc | |
echo "alias l='ls -CF'" >> ~/.bashrc | |
echo "alias ..='cd ..'" >> ~/.bashrc | |
echo "alias fui='sudo shutdown -h now'" >> ~/.bashrc | |
#inputrc | |
echo "set completion-ignore-case On" >> ~/.inputrc | |
echo "\"\e[B\": history-search-forward" >> ~/.inputrc | |
echo "\"\e[A\": history-search-backward" >> ~/.inputrc | |
## Páginas de manual (man) coloridas | |
sudo apt-get install most && sudo update-alternatives --config pager | |
#manpages em português | |
sudo apt-get install manpages-pt manpages-pt-dev | |
#locale | |
echo "pt_BR.UTF-8 UTF-8" >> /var/lib/locales/supported.d/local | |
sudo dpkg-reconfigure locales | |
#Fonte Ecológica Spranq Eco Sans | |
cd && cd Downloads | |
wget http://www.ecofont.com/assets/files/spranq_eco_sans_regular.ttf && sudo cp spranq_eco_sans_regular.ttf /usr/share/fonts/truetype/ && sudo fc-cache | |
#Handbrake | |
sudo apt-add-repository ppa:stebbins/handbrake-snapshots && sudo apt-get update && sudo apt-get install handbrake-gtk |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment