Ubuntu based distros, after installation script

#Kindly run this script as a superuser.
    
   
    # Performing some swap operations
    swapoff -all
    fallocate -l 8G /swapfile
    chmod 600 /swapfile
    mkswap /swapfile
    swapon /swapfile
    echo '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab
    free -h
    #swap operation finalized
    apt update && apt upgrade
    sudo apt-get install software-properties-common
    add-apt-repository universe
    add-apt-repository multiverse
    sudo apt-get update
    #Installing some required files for my personal use, If you want you can comment out by simply adding "#"
    curl -s http://mirrors.ubuntu.com/mirrors.txt | xargs -n1 -I {} sh -c 'echo `curl -r 0-102400 -s -w %{speed_download} -o /dev/null {}/ls-lR.gz` {}' |sort -g -r |head -1| awk '{ print $2  }'
    #Installing geckodriver for some browser operations used in automation
    wget "https://github.com/mozilla/geckodriver/releases/download/v0.27.0/geckodriver-v0.27.0-linux32.tar.gz"
    #Installing oh my zsh files
    sh -c "$(wget -O- https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
    
    
    ####libinput gestures start installation
    git clone https://github.com/bulletmark/libinput-gestures
    gpasswd -a $USER input
    sudo apt-get install xdotool wmctrl
    sudo apt-get install libinput-tools
    cd libinput-gestures
    ./libinput-gestures-setup install
    libinput-gestures-setup autostart
    libinput-gestures-setup start
    #####libinpt gestuere done
    
    
    clear
    echo "libinput gestures is installed"
    sleep 4
    apt update && apt upgrade
    #Performing kite-autocomplete Installation
    bash -c "$(wget -q -O - https://linux.kite.com/dls/linux/current)"
    
    
    
    ##for installing brave
    
    apt install apt-transport-https curlk

    curl -s https://brave-browser-apt-release.s3.brave.com/brave-core.asc | sudo apt-key --keyring /etc/apt/trusted.gpg.d/brave-browser-release.gpg add -

    echo "deb [arch=amd64] https://brave-browser-apt-release.s3.brave.com/ stable main" | sudo tee /etc/apt/sources.list.d/brave-browser-release.list

    sudo apt-get update && apt-get upgrade

    sudo apt install brave-browser
    ####
    #Installing some of my handpicked usefull softwares
    apt-get install git code stacer zsh npm figlet lolcat redshift yakuake tlp snapd dropbox qredshift nautilis kdeconnect period vim 
    curl -sL --proto-redir -all,https https://raw.githubusercontent.com/zplug/installer/master/installer.zsh | zsh
    apt-get install zsh-syntax-highlighting
    
    period autostart
    period start
    snap install flokk-contacts
    tlp autostart
    npm install webtorrent-cli -g
    apt install python-is-python3
    apt install python3-pip python-tk
    pip install pyautogui
    pip install requests
    pip install selenium
    clear
    figlet -f banner "You are awesome" | lolcat
    sleep 2
    sudo chsh -s $(which zsh) root
    reboot
    
    

Comments

  1. Welcome to Blogging. nice trying but you are post not indexed in google. if you need any help in bogging and seo. i can help you. feel free. me also faced lot of problems when i beginner. now me running successful blog and earning good income. if you want become a success in blogging? contact me.

    ReplyDelete

Post a Comment

Popular Posts