Skip to content

Instantly share code, notes, and snippets.

@klintmane
Last active July 16, 2021 12:53
Show Gist options
  • Save klintmane/66d72ad54d91b74f185ac8c29989bd86 to your computer and use it in GitHub Desktop.
Save klintmane/66d72ad54d91b74f185ac8c29989bd86 to your computer and use it in GitHub Desktop.
Post Format (Fedora)

Fedora

Perform OS Upgrade

sudo dnf upgrade

Git

Configure

# Configure global User
git config --global user.name "Klint Mane"
git config --global user.email "klintmane@gmail.com"

Bash

Install Framework (bash-it)

# Copy from git
git clone --depth=1 https://github.com/Bash-it/bash-it.git ~/.bash_it

# Run installation script
~/.bash_it/install.sh

# Configure (~/.bashrc)
export BASH_IT_THEME='minimal'

SSH

Setup

# Generate key
ssh-keygen

# Copy the generated key
cat ~/.ssh/id_rsa.pub

In case ISP blocks port 22

gedit ~/.ssh/config

Add:

Host github.com
  Hostname ssh.github.com
  Port 443

Node JS

Install

# Install Node
sudo dnf install nodejs
# Install Build Packages
sudo dnf install gcc-c++ make

Configure Global Packages

https://docs.npmjs.com/resolving-eacces-permissions-errors-when-installing-packages-globally

Install Packages

# Install global Node Packages
sudo npm i -g prettier

Fonts

Iosevka

Visual Studio Code

Install

sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
sudo sh -c 'echo -e "[code]\nname=Visual Studio Code\nbaseurl=https://packages.microsoft.com/yumrepos/vscode\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc" > /etc/yum.repos.d/vscode.repo'
sudo dnf install code

Install Plugins

# General
Rainglow

# Git
Gitlens

# JS
Babel Javascript
Auto Close Tag
Prettier

# C/C++
C/C++

Update User Configuration

{
    "eslint.format.enable": true,
    "editor.codeActionsOnSave": {
        "source.fixAll.eslint": true
    },
    "prettier.requireConfig": true,
    "editor.formatOnSave": true,
    "editor.tabSize": 2,
    "editor.fontFamily": "Iosevka",
    "editor.fontLigatures": true
}

GNOME

Install Gnome Tweaks

sudo dnf install gnome-tweaks

Enable Extensions

Gnome Extensions

Enable Host Connector

sudo dnf install chrome-gnome-shell

Install Extensions

User Themes
Dash To Dock

Install Icon Theme

# Enable Papirus Icon Theme COPR
sudo dnf copr enable dirkdavidis/papirus-icon-theme

# Install
sudo dnf install papirus-icon-theme

RPM Fusion

Enable

RPM Fusion Configuration

Install Packages

sudo dnf install vlc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment