Updated for Fedora 21
These are the commands I bash as part of Fedora customization after semi-yearly installation. These commands require superuser permissions. su -
System Tweaks:
Install RPMFusion, free and non-free repository
yum -y localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpmConfigure yum
Enable caching, keep metadata for 9 daysvi /etc/yum.confConfigure Firmware
If your wireless device is a Broadcom (B43), install Broadcom (B43) wireless driver in Linux:#!/bin/bash
#http://wireless.kernel.org/en/users/Drivers/b43
su -
yum install b43-fwcutter wget # apt-get or whatever your package manager is
export FIRMWARE_INSTALL_DIR="/lib/firmware"
wget http://www.lwfinger.com/b43-firmware/broadcom-wl-5.100.138.tar.bz2
tar xjf broadcom-wl-5.100.138.tar.bz2
sudo b43-fwcutter -w "$FIRMWARE_INSTALL_DIR" broadcom-wl-5.100.138/linux/wl_apsta.o
echo 'modprobe b43' > /etc/sysconfig/modules/b43.modules
chmod +x /etc/sysconfig/modules/b43.modules
Install tweak tools
yum -y install gnome-tweak-tool dconf-editor gconf-editorInstall guake terminal
yum -y install guake Don’t forget to enable guake in startup applications: gnome-tweak-tool -> Startup Applications
‘Show Desktop’ shortcut
System Settings -> Keyboard -> Shortcuts -> Navigation Hide all normal windows – Alt+F9
Multimedia:
Install multimedia codecs
yum -y install gstreamer gstreamer-ffmpeg gstreamer-plugins-bad gstreamer-plugins-bad-free gstreamer-plugins-bad-nonfree gstreamer-plugins-base gstreamer-plugins-good gstreamer-plugins-ugly ffmpeg xmms xmms-mp3 xine xine-libClementine media player
yum -y install clementineVLC media player
yum -y install vlcSMPlayer
yum -y install smplayerImage Editors
yum -y install gimp inkscapeUtilities:
yum -y install wgetSystem monitoring tools
yum -y install lm_sensors hddtempInstall Artha, the dictionary
yum -y install arthaInstall English language pack for Libreoffice.
yum -y install libreoffice-langpack-enInstall 7zip and RAR plugins and executables
yum -y install p7zip p7zip-plugins unrarInstall android-tools (provides adb and fastboot)
yum -y install android-toolsInstall nemo (Nautilus fork/alternative) and enable it as the default file manager
yum -y install nemo nemo-fileroller
xdg-mime default nemo.desktop inode/directory application/x-gnome-saved-searchInternet and Browsers:
Update/Install Firefox
yum -y install firefoxInstall flash plugin for browsers:
yum -y install lpf-flash-plugin And then launch lpf-flash-pluginInstall Skype:
yum -y install lpf-skype And then launch lpf-skypeFor developers:
yum -y install vim git gitg hg
yum -y install gcc zlib-devel libjpeg-develInstall Sublime Text 3
Install Filezilla
yum -y install filezillaInstall OpenJDK
yum -y install java-*-openjdk java-*-openjdk-pluginApache and PHP
yum -y install httpd php php-xml
schkconfig httpd on
rm -rf /etc/httpd/conf.d/welcome.conf
find /var/www/html -type d -print | xargs chmod g+rwxsEnable directives in .htaccess
vi /etc/httpd/conf/httpd.conf Modify AllowOverride None to AllowOverride All inside <Directory "/var/www/html">service httpd restartMySQL
yum -y install mysql mysql-server phpmyadmin
chkconfig mysqld on
service mysqld restart
mysql_secure_installationPython:
wget https://raw.github.com/pypa/pip/master/contrib/get-pip.py
python get-pip.py
pip install virtualenv
yum -y install python-develPostgres:
yum -y install postgresql-server
yum -y install python-psycopg2 postgresql-devel #for Python
yum -y install php-devel php-pgsql #for PHP support
su - postgres -c initdb
vi /var/lib/pgsql/data/pg_hba.conf #Ensure METHOD is trust
service postgresql restart
su - postgres
psql template1
ALTER USER postgres with encrypted password 'your_password';
exit()
vi /var/lib/pgsql/data/pg_hba.conf #Ensure METHOD is md5
service postgresql restart
systemctl enable postgresql.serviceSCM Breeze:
(set of shell scripts (for bash and zsh ) that enhance your interaction with git.)sudo yum -y install ruby
git clone git://github.com/ndbroadbent/scm_breeze.git ~/.scm_breeze
~/.scm_breeze/install.sh
source ~/.bashrc # or source ~/.zshrc Install gpaste extension for gnome: yum install gnome-shell-extension-gpaste