Reinstaeaza automat programele in linux ubuntu

E destul de enervant faptul că după fiecare reinstalare a sistemului de operare Ubuntu trebuie să îți reinstalezi fiecare program preferat în parte. Am găsit pe net acest script pe care l-am adaptat nevoilor mele, mai jos sunt programele pe care le instalez de obicei. Sper să va fie de folos.



#!/bin/bash      
# add repos
sudo add-apt-repository -y ppa:danielrichter2007/grub-customizer
sudo add-apt-repository -y ppa:linrunner/tlp
sudo add-apt-repository -y ppa:videolan/stable-daily
sudo add-apt-repository -y ppa:mc3man/trusty-media
sudo add-apt-repository -y ppa:libreoffice/ppa
sudo add-apt-repository -y ppa:otto-kesselgulasch/gimp
sudo add-apt-repository -y ppa:irie/blender
sudo add-apt-repository -y ppa:venerix/pkg
sudo add-apt-repository -y ppa:audacity-team/daily
sudo add-apt-repository -y ppa:mixxx/mixxx
sudo add-apt-repository -y ppa:ubuntu-wine/ppa
sudo add-apt-repository -y ppa:nilarimogard/webupd8
sudo add-apt-repository -y ppa:docky-core/ppa
sudo add-apt-repository -y ppa:thefanclub/ubuntu-after-install


# Playonlinux download
wget -q "http://deb.playonlinux.com/public.gpg" -O- | sudo apt-key add -
sudo wget http://deb.playonlinux.com/playonlinux_trusty.list -O /etc/apt/sources.list.d/playonlinux.list
# basic update
sudo apt-get -y --force-yes update
sudo apt-get -y --force-yes upgrade
sudo apt-get -y dist-upgrade



# install apps
sudo apt-get -y install \
    grub-customizer ppa-purge tlp tlp-rdw samba system-config-samba cifs-utils winbind \
    gufw build-essential checkinstall cdbs devscripts dh-make fakeroot libxml-parser-perl check \
    vlc mplayer2 smplayer libav-tools flac faac faad hal sox ffmpeg2theora libmpeg2-4 uudeview \
    mpeg3-utils mpegdemux liba52-dev mpeg2dec vorbis-tools id3v2 mpg321 mpg123 libflac++6 \
    totem-mozilla icedax  lame libmad0 libjpeg-progs ubuntu-restricted-extras \
    gstreamer0.10-plugins-ugly gxine libdvdread4 totem-mozilla icedax tagtool easytag id3tool \
    lame nautilus-script-audio-convert libmad0 mpg321 libavcodec-extra gstreamer0.10-ffmpeg \
    gstreamer1.0-fluendo-mp3 gstreamer1.0-gnonlin gstreamer0.10-plugins-bad-multiverse \
    gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly totem-plugins-extra gstreamer-tools \
    ubuntu-restricted-extras ttf-mscorefonts-installer regionset guvcview libreoffice \
    libreoffice-math libreoffice-gnome filezilla filezilla-common bluefish gimp gimp-data \
    gimp-data-extras gmic gimp-gmic libraw-bin ufraw ufraw-batch and gimp-ufraw rawtherapee \
    darktable photofilmstrip blender calibre deluge-torrent tv-maxe audacity lame libmp3lame0 \
    mixxx libportaudio2 ardour lmms openshot kazam gtk-recordmydesktop wine1.6 gparted \
    playonlinux bleachbit ubuntu-after-install pulseaudio-equalizer gparted skype unity-tweak-tool\
    ubuntu-wallpapers*

# Start
sudo tlp start
sudo regionset


# Google Chrome script install
if [[ $(getconf LONG_BIT) = "64" ]]
then
    echo "64bit Detected" &&
    echo "Installing Google Chrome" &&
    wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb &&
    sudo dpkg -i google-chrome-stable_current_amd64.deb &&
    rm -f google-chrome-stable_current_amd64.deb
else
    echo "32bit Detected" &&
    echo "Installing Google Chrome" &&
    wget https://dl.google.com/linux/direct/google-chrome-stable_current_i386.deb &&
    sudo dpkg -i google-chrome-stable_current_i386.deb &&
    rm -f google-chrome-stable_current_i386.deb
fi
# update some more system settings
dconf write /org/compiz/profiles/unity/plugins/unityshell/icon-size 32
dconf write /org/compiz/profiles/unity/plugins/core/vsize 1
dconf write /org/compiz/profiles/unity/plugins/core/hsize 5
dconf write /org/compiz/profiles/unity/plugins/opengl/texture-filter 2
dconf write /org/compiz/profiles/unity/plugins/unityshell/alt-tab-bias-viewport false
# requires clicks
sudo apt-get install -y ubuntu-restricted-extras
echo "Cleaning Up" &&
sudo apt-get -f install &&
sudo apt-get autoremove &&
sudo apt-get -y autoclean &&
sudo apt-get -y clean
# prompt for a reboot
clear
echo ""
echo "===================="
echo " TIME FOR A REBOOT! "
echo "===================="
echo ""

Postări populare de pe acest blog

Ce faci atunci cand copilul inghite detergent lichid

Lupta nemiloasă cu demonul din mintea mea