-
Notifications
You must be signed in to change notification settings - Fork 1
/
install_packages.sh
41 lines (32 loc) · 1.07 KB
/
install_packages.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#!/usr/bin/env bash
# Enable RPM Fusion Repos
dnf install -y \
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
# Update
dnf update -y
dnf upgrade -y
# Install basic packages
dnf install -y \
sudo git nano neofetch tmate aria2 rsync rclone \
python python2 zip unzip p7zip p7zip-plugins jq \
unrar python3-pip tmate make cmake clang glibc \
bc ag unace sharutils uudeview arj cabextract \
file-roller dtc brotli axel detox cpio lz4 \
python3-devel xz-devel speedtest-cli zsh \
util-linux-user
# git configuration
git config --global user.name Sushrut1101
git config --global user.email guptasushrut@gmail.com
git config --global color.ui auto
# zsh
chsh -s /bin/zsh root
curl -sL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh | sh
# Android build Environment
bash /tmp/scripts/fedora-aosp-env-setup.sh
# Use python2 by default
ln -sf /usr/bin/python{2,}
# Speedtest
ln -sf /usr/bin/speedtest{-cli,}
# Exit
exit 0