2019-04-12 22:50:50 +00:00
# fedora-install-scripts
2019-04-12 23:05:12 +00:00
Handy Fedora installation shit
## DNF and Packages
### RPM Fusion
2020-11-05 06:30:34 +00:00
2019-04-12 23:05:12 +00:00
```sh
sudo dnf install \
https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm \
https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
```
### Install command packages
```sh
2020-11-05 06:30:34 +00:00
sudo dnf install vim screen tmux libcxx syncthing glances dconf-editor arc-theme numix-icon-theme-cirlce chromium wavemon unbound @virtualization /usr/bin/mpstat acpi pavucontrol nmap NetworkManager-tui wireshark steam obs-studio keepassxc speedtest-cli cmus lm_sensors openssh-askpass libgnome-keyring cockpit cockpit-ws cockpit-selinux cockpit-dashboard cockpit-machines cockpit-storaged cockpit-networkmanager xclip iperf3 compton rofi sway swaybg swaylock swaynag swaybar swayidle swaymsg grim slurp light mako
2019-04-12 23:05:12 +00:00
```
2019-05-06 06:10:10 +00:00
### GPU packages
2020-11-05 06:30:34 +00:00
2019-05-06 06:10:10 +00:00
```sh
sudo dnf install radeontop
sudo dnf install intel-gpu-tools
```
2019-04-12 23:05:12 +00:00
### C Development Packages
2020-11-05 06:30:34 +00:00
2019-04-12 23:05:12 +00:00
```sh
sudo dnf groupinstall "C Development Tools and Libraries"
```
2019-05-06 05:36:37 +00:00
### Encoding options
2020-11-05 06:30:34 +00:00
2019-04-12 23:05:12 +00:00
```sh
2019-05-06 05:36:37 +00:00
sudo dnf groupupdate Multimedia
sudo dnf install gstreamer1-{ffmpeg,libav,plugins-{good,ugly,bad{,-free,-nonfree}}} --setopt=strict=0
2019-04-12 23:05:12 +00:00
```
2020-11-05 06:30:34 +00:00
## copr and repositories
2019-04-12 23:05:12 +00:00
### copr
```sh
sudo dnf copr enable gregw/i3desktop & &
sudo dnf copr enable tartare/glances & &
sudo dnf copr enable alunux/budgie-desktop-git
```
### vscode
2020-11-05 06:30:34 +00:00
2019-04-12 23:05:12 +00:00
```sh
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 check-update
sudo dnf install code
```
2020-11-05 06:30:34 +00:00
2019-04-12 23:05:12 +00:00
### docker
2020-11-05 06:30:34 +00:00
2019-04-12 23:05:12 +00:00
```sh
sudo dnf -y install dnf-plugins-core
sudo dnf config-manager \
--add-repo \
https://download.docker.com/linux/fedora/docker-ce.repo
sudo dnf install docker-ce docker-ce-cli containerd.io
```
### mesa repo
2020-11-05 06:30:34 +00:00
2019-04-12 23:05:12 +00:00
```sh
[nadmartin-mesa]
name=Copr repo for mesa x64 owned by nadmartin
baseurl=https://copr-be.cloud.fedoraproject.org/results/nadmartin/mesa/fedora-$releasever-$basearch/
type=rpm-md
skip_if_unavailable=True
gpgcheck=1
gpgkey=https://copr-be.cloud.fedoraproject.org/results/nadmartin/mesa/pubkey.gpg
repo_gpgcheck=0
enabled=0
enabled_metadata=1
exclude=kernel*
[nadmartin-mesa-i686]
name=Copr repo for mesa i686 owned by nadmartin
baseurl=https://copr-be.cloud.fedoraproject.org/results/nadmartin/mesa/fedora-$releasever-i386/
type=rpm-md
skip_if_unavailable=True
gpgcheck=0
gpgkey=https://copr-be.cloud.fedoraproject.org/results/nadmartin/mesa/pubkey.gpg
repo_gpgcheck=0
enabled=0
enabled_metadata=1
exclude=kernel*
```
## Nodejs
## Install nodejs/npm
```sh
sudo dnf install nodejs npm
```
Install global nodejs packages
```sh
2019-04-15 23:09:59 +00:00
sudo npm install -g npm-check-updates pug-cli sass npm-check-updates nodemon
2020-11-05 06:30:34 +00:00
```