$ sudo apt update && sudo apt upgrade
Take Brave for example, you could either follow their official installation guideline, or install Brave in the Ubuntu Software Center.
Launch terminal and type the following command:
$ sudo apt install git-all
Then, set up your username and email:
$ git config --global user.name "Your Name"
$ git config --global user.email "youremail@domain.com"
You could connect GitHub with SSH by following the official instructions. Furthermore, you could sign your commits using GPG commit signature verification.
After setting up your Git configuration, you could now clone this repository to your computer using the below command:
# HTTPS
$ git clone https://github.com/haojungc/dotfiles.git
# SSH
$ git clone git@github.com:haojungc/dotfiles.git
Change the working directory to the one you have just cloned to, and run the following command in your terminal. It will automatically install the required packages and dependencies for you:
# Basic
$ bash setup.sh
# Optional
$ bash setup_optional.sh
$ sudo ufw enable
more information for UFW
$ sudo apt install tlp tlp-rdw
$ sudo systemctl enable tlp
more information for TLP