Instalação de programas no Ubuntu Linux

Publicado por Amaury Borges Souza (última atualização em 13/05/2020)

[ Hits: 2.215 ]

Homepage: https://amaurybsouza.medium.com/

Download programas-ubuntu.txt




Esse script faz a instalação de programas no sistema Ubuntu Linux, você pode escolher um apenas da lista ou optar por escolher todos para serem instalados.

  



Esconder código-fonte

#!/bin/bash

#############################################################
#                                                           #
# NOME: programas.sh                                        #
#                                                           # 
# AUTOR: Amaury Borges Souza (amaurybsouza@gmail.com)       #
#                                                           #
# DATA: 07/05/2019                                          #
#                                                           #
# DESCRIÇÃO: O script faz a instalação dos principais       #
#            programas utilizados.                          #
#                                                           #
# USO: ./programas.sh                                       #
#############################################################

clear
while true; do
echo -e "#############################################################
        \e[1;31mSISTEMA DE INSTALAÇÃO DE PROGRAMAS\e[0m              #
                                                                     #
        Digite o número do programa que você deseja instalar:        #
                                                                     #
        1 - Gnome Tweak Tool                                         # 
        2 - Utilitários de arquivo                                   #
        3 - Virtualbox                                               #
        4 - VLC player                                               #
        5 - Gimp                                                     #
        6 - Pinta                                                    # 
        7 - Brasero                                                  #
        8 - Google Chrome                                            #
        9 - Skype                                                    #
       10 - Blender                                                  #
       11 - Limpe o sistema                                          #
       12 - Gparted                                                  #
       13 - Editor Dconf                                             # 
       14 - Audacity                                                 #
       15 - Instalar todos os programas                              #
       0 - Sair                                                      #
######################################################################"

echo " "
echo -n "->OPÇÃO:  "

read opcao

#verifica se foi digitada uma opção.
if [ -z $opcao ]; then
    echo ERRO: digite uma opcao
    exit
fi

case $opcao in

    1)
   apt install gnome-tweak-tool -y;;
    2)
   sudo apt install unace rar unrar p7zip-rar p7zip sharutils uudeview mpack arj cabextract lzip lunzip plzip -y;;
    3)
   wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -
   wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -
   sudo add-apt-repository "deb http://download.virtualbox.org/virtualbox/debian bionic contrib"
   sudo apt update
   sudo apt install virtualbox-6.0 -y;;
    4)
   sudo apt install vlc -y;;
    5)  
   sudo apt install gimp -y;;
    6)  
   sudo apt install pinta -y;;
    7)  
   sudo apt install brasero -y;;
    8) 
   wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
   sudo dpkg -i google-chrome-stable_current_amd64.deb
   ;;

    9) 
   echo "deb [arch=amd64] https://repo.skype.com/deb stable main" | sudo tee /etc/apt/sources.list.d/skype-stable.list
   wget https://repo.skype.com/data/SKYPE-GPG-KEY
   sudo apt-key add SKYPE-GPG-KEY
   sudo apt install apt-transport-https
   sudo apt update
   sudo apt install skypeforlinux -y
   ;;
   10)  
   sudo apt update
   apt install blender -y
   ;;
   11)
   sudo apt clean
   sudo apt autoclean   
   sudo apt autoremove -y
   ;;
   12)
   sudo apt install gparted -y
   ;;
   13) 
   sudo apt install dconf-editor -y
   ;;
   14)  
   sudo apt install audacity -y
   ;;
   15)
   apt install unace rar unrar p7zip-rar p7zip sharutils uudeview mpack arj cabextract lzip lunzip plzip -y
   wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -
   wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -
   sudo add-apt-repository "deb http://download.virtualbox.org/virtualbox/debian bionic contrib"
   sudo apt update
   sudo apt install virtualbox-6.0 -y
   apt install vlc gimp pinta brasero gnome-tweak-tool -y
   wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
   sudo dpkg -i google-chrome-stable_current_amd64.deb
   ;;
    0)  
   echo "" 
        echo Saindo do sistema de instalação...
   sleep 3
        exit
   ;;
    *)
        echo
        echo ERRO: Opção Incorreta!
   echo ""
   echo "Tente novamente :)"
        echo 
   ;;
esac
done

Scripts recomendados

Speak-me em shell + yad

Qual distro?

Cálculo do fatorial

Teste de hosts ativos em uma rede

Visualisando espaço em disco, data do sistema e usuarios conectados


  

Comentários

Nenhum comentário foi encontrado.


Contribuir com comentário




Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts