sudo apt-get install \
build-essential automake autoconf \
subversion subversion-tools git-all gitk \
cmake cmake-curses-gui doxygen doxygen-gui \
valgrind ddd kcachegrind indent ccache kdiff3 \
kdevelop kate kwrite emacs23-nox \
libboost-all-dev freeglut3-dev \
ant manpages-posix-dev \
haskell-platform ghc-mod \
smartmontools gsmartcontrol acpi dconf-tools \
rar p7zip lzop mmv tree htop dstat iotop \
wireshark nmap wavemon links lynx curl \
gparted ntfsprogs byobu mesa-utils \
lm-sensors openssh-server myspell-pt-pt \
texlive-full fig2ps kile audacity flac lame \
gnuplot inkscape dia gimp wine k3b \
flashplugin-installer mplayer2 ffmpeg &&
echo ========== Base ========== &&
mkdir -p ~/bin &&
echo ========== CCache ========== &&
ccache -M 10G &&
sudo rm -rfv /opt/ccache/bin/ &&
sudo mkdir -p /opt/ccache/bin/ &&
cd /opt/ccache/bin/ &&
sudo ln -s /usr/bin/ccache c++ &&
sudo ln -s /usr/bin/ccache cc &&
sudo ln -s /usr/bin/ccache g++ &&
sudo ln -s /usr/bin/ccache gcc &&
echo ========== Ack ========== &&
wget -c -T 20 -t 20 'http://betterthangrep.com/ack-standalone' -O ~/bin/ack &&
chmod 0755 ~/bin/ack &&
echo ========== Astyle ========== &&
wget -c -T 20 -t 20 'http://sourceforge.net/projects/astyle/files/astyle/astyle%202.01/astyle_2.01_linux.tar.gz/download' \
-O /tmp/astyle_2.01_linux.tar.gz &&
cd /tmp/ &&
tar xavf astyle_*_linux.tar.* &&
cd astyle/build/gcc/ &&
make -j5 &&
cp bin/astyle $HOME/bin/ &&
cd ../../.. &&
rm -rfv astyle &&
echo ========== Icons ========== &&
dconf write /desktop/unity/launcher/favorites "['nautilus-home.desktop', 'firefox.desktop', 'byobu.desktop', 'kde4-kdevelop.desktop']" &&
echo ========== Wallpaper ========== &&
#wget -c -T 20 -t 20 http://.../bg.png -O $HOME/bg.png &&
#dconf write /org/gnome/desktop/background/picture-uri "\"file://$HOME/bg.png\"" &&
dconf write /org/gnome/desktop/background/color-shading-type "'solid'" &&
dconf write /org/gnome/desktop/background/picture-options "'zoom'" &&
dconf write /org/gnome/desktop/background/primary-color "'#000000'" &&
dconf write /org/gnome/desktop/background/secondary-color "'#000000'" &&
echo ========== bashrc ========== &&
echo 'alias emacs="emacs -nw"' >> ~/.bash_aliases &&
echo 'alias mv="mv -iv "' >> ~/.bash_aliases &&
echo 'alias cp="cp -ivr "' >> ~/.bash_aliases &&
echo 'alias rm="rm -v "' >> ~/.bash_aliases &&
echo 'alias ls="ls --color "' >> ~/.bash_aliases &&
echo >> ~/.bashrc &&
echo 'export EDITOR="emacs -nw"' >> ~/.bashrc &&
echo 'export PATH=/opt/ccache/bin:$HOME/.cabal/bin:$HOME/bin:$PATH' >> ~/.bashrc &&
source ~/.bashrc &&
echo ========== SUCCESS ========== &&
cd
quarta-feira, 29 de janeiro de 2014
Afterinstall for Ubuntu
Tested on Ubuntu 12.04. Paste this into bash. You can uncomment and change the background image lines.
Subscrever:
Enviar feedback (Atom)
Sem comentários:
Enviar um comentário