-
Notifications
You must be signed in to change notification settings - Fork 0
03_install utilities
This guide outlines the utilities I use to set-up a minimal, fast laptop environment focused on coding and writing. I've made distinctions for GUI utilities in different environments.
sudo apt install -y curl gnupg openssh-client wget apt-transport-https build-essential checkinstall laptop-detect mesa-utils xclip xsel xsettingsd xserver-xorg python3-pip arj cabextract mpack p7zip-full p7zip-rar rar sharutils uudeview unrar zip unzip
At the end of the previous step, the system install, you made sure that Git is installed on the system. Now it's time to set it up to access private repositories on github. This same process is useful for connecting via SSH to other servers as well.
ssh-keygen -t ed25519 -C "emailaddress@example.com"
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_ed25519
pbcopy < ~/.ssh/id_ed25519.pub # or otherwise copy the file to clipboard
- In any github webpage, click
Profile Photo > Settings
> SSH and GPG keys. - Click
New SSH key
orAdd SSH key
. - Enter title and paste Key.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" && echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"' >> /home/dylan/.bash_profile && eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv) && sudo apt-get install build-essential && brew install gcc"
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash && source ~/.bashrc && nvm install stable && nvm use stable
https://cli.github.com/manual/
https://github.com/cli/cli/blob/trunk/docs/install_linux.md
type -p curl >/dev/null || (sudo apt update && sudo apt install curl -y) && curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg && sudo chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg && echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null && sudo apt update && sudo apt install gh -y
install autojump to quickly jump to directories
https://github.com/wting/autojump
sudo apt install
CLI-based interface to git
https://github.com/bigH/git-fuzzy
cd ~/Applications && brew install fzf && git clone https://github.com/bigH/git-fuzzy.git && echo "export PATH=\"$(pwd)/git-fuzzy/bin:\$PATH\"" >> ~/.bashrc
sudo apt install -y autocutsel axel bluez bluez-cups fzf htop neofetch numlockx scrot
sudo apt install -y bleachbit file-roller gparted pavucontrol synaptic viewnior xterm
Fonts
sudo apt install -y libfont-afm-perl libfontconfig1 libfontembed1 fonts-mplus fonts-courier-prime fonts-font-awesome texlive-fonts-recommended ttf-mscorefonts-installer
and for mac fonts
cd ~/Downloads && wget https://web.archive.org/web/20141226051941/https://dl.dropboxusercontent.com/u/26209128/mac_fonts.tar.gz && tar zxvf mac_fonts.tar.gz && sudo mv fonts /usr/share/fonts/ && sudo fc-cache -f -v
see also: https://www.securitronlinux.com/debian-testing/install-mac-osx-fonts-on-linux-easily/
echo "Cleaning Up" && sudo apt -f install && sudo apt autoremove && sudo apt -y autoclean && sudo apt -y clean && audo apt update
sudo reboot