Skip to content

Instantly share code, notes, and snippets.

@judsonbsilva
Last active June 21, 2023 18:40
Show Gist options
  • Save judsonbsilva/8241749 to your computer and use it in GitHub Desktop.
Save judsonbsilva/8241749 to your computer and use it in GitHub Desktop.
Cansei de ficar procurando comando na internet ! Tá aê pra configurar algumas coisas no ubuntu
installEssentials(){
sudo apt-get update && sudo apt-get --force-yes install curl python-software-properties python g++ make build-essential libssl-dev libcurl4-gnutls-dev libexpat1-dev gettext unzip arj cabextract file-roller mpack p7zip p7zip-full p7zip-rar rar sharutils unace unace-nonfree unrar unzip uudeview zip preload youtube-dl && youtube-dl -U
} && installEssentials
installGit(){
sudo apt-get update && sudo apt-get --force-yes install git
} && installGit
installNode(){
curl --silent --location https://deb.nodesource.com/setup_0.12 | sudo bash -
sudo apt-get install --yes nodejs
} && installNode
installNodeTools(){
sudo npm install -g gulp bower grunt-cli cordova ionic
} && installNodeTools
installCodecs(){
sudo apt-get update && sudo apt-get -y ubuntu-restricted-extras
sudo apt-get --force-yes install -y gstreamer0.10-plugins-ugly gstreamer0.10-ffmpeg libxine1-ffmpeg gxine mencoder libdvdread4 totem-mozilla icedax tagtool easytag id3tool lame nautilus-script-audio-convert libmad0 mpg321 gstreamer1.0-libav ubuntu-restricted-extras non-free-codecs libdvdcss2 faac faad ffmpeg ffmpeg2theora flac gstreamer0.10-ffmpeg gstreamer0.10-plugins-bad gstreamer0.10-plugins-ugly 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
sudo /usr/share/doc/libdvdread4/install-css.sh
} && installCodecs
installMultimedia(){
sudo apt-get update && sudo apt-get --force-yes install libxine1-ffmpeg gxine mencoder mpeg2dec vorbis-tools id3v2 mpg321 mpg123 libflac++6 ffmpeg totem-mozilla icedax tagtool easytag id3tool lame nautilus-script-audio-convert libmad0 libjpeg-progs flac faac faad sox ffmpeg2theora libmpeg2-4 uudeview flac libmpeg3-1 mpeg3-utils mpegdemux liba52-0.7.4-dev libquicktime2 gstreamer-tools gstreamer0.10-ffmpeg gstreamer0.10-fluendo-mp3 gstreamer0.10-gnonlin gstreamer0.10-plugins-bad-multiverse gstreamer0.10-plugins-bad gstreamer0.10-plugins-ugly totem-plugins-extra gstreamer-dbus-media-service gstreamer-tools ubuntu-restricted-extras ttf-mscorefonts-installer
} && installMultimedia
installVlc(){
sudo apt-get update && sudo apt-get --force-yes install vlc* mozilla-plugin-vlc browser-plugin-vlc
} && installVlc
installJava(){
sudo apt-get update && sudo apt-get --force-yes install openjdk-7* icedtea-7-plugin ca-certificates-java icedtea-7-jre-cacao icedtea-7-jre-jamvm java-common libatk-wrapper-java libatk-wrapper-java-jni libbonobo2-0 libbonobo2-common libgnome2-0 libgnomevfs2-0 libgnomevfs2-common openjdk-7-jre-headless openjdk-7-jre-lib ttf-dejavu-extra tzdata-java
} && installJava
installJDK(){
sudo apt-get update && sudo apt-get --force-yes install default-jre default-jdk openjdk-7-jre openjdk-7-jdk
} && installJDK
installApacheAnt(){
sudo apt-get update && sudo apt-get --force-yes install ant
} && installApacheAnt
installMeteor(){
curl https://install.meteor.com/ | sh
} && installMeteor
installRvm(){
curl -sSL https://get.rvm.io | bash -s stable --rails
} && installRvm
installZsh(){
sudo apt-get update && sudo apt-get --force-yes install zsh
wget –no-check-certificate https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O – | sh
chsh -s /bin/zsh
} && installZsh
installSublime(){
sudo add-apt-repository ppa:webupd8team/sublime-text-3
sudo apt-get update
sudo apt-get --force-yes install sublime-text-installer
} && installSublime
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment