Some useful Fedora terminal commands…


Lately I’ve been working with the Fedora Linux distribution and I’ve found it to be very light, smooth, and aesthetically pleasing. I’ve decided to share useful terminal commands that work on Fedora since I’ve found that there’s different ways to install or use certain functions. Ubuntu has plenty of support already, but I find Fedora to be more intuitive. I’ve also decided to include some customization tips.

This list is still growing, so I will be updating it.

Firstly…

To install most software/packages by terminal, begin the command like so:

sudo yum install package

To remove software/packages:

sudo yum remove package

Some useful development packages to install by terminal:

Install g++ (gcc compiler used for C/C++ for your choice of IDE, I use Code::Blocks in Linux)

sudo yum install gcc-c++

Install Java, used in various Java IDEs like Intellij or Eclipse
JRE:

sudo yum install java-1.8.0-openjdk

JDK:

sudo yum install java-1.8.0-openjdk-devel

If you’re using Code::Blocks and would like additional packages & tweaks (such as fixing spacing, margins, formatting, Valgrind, etc)

sudo yum install codeblocks-contrib

To install Intellij, download the package, extract somewhere and navigate to where the ‘bin’ folder is inside the extracted folder and run this command to install the IDE

./idea.sh

To install RPM (used for installing some various software like VLC)

sudo yum install rpmfusion

To install VLC (only if you have installed RPM)

sudo yum install vlc

To install the VLC browser plugin (to play media within the browser)

sudo yum install npapi-vlc-gtk

To display all hidden folders, open terminal and type

dconf-editor

Then, on the GUI
org -> gtk -> settings -> file-chooser
mark show-hidden

To modify the bootloader (Grub), install Grub Customiser

sudo yum install grub-customizer

To run terminal session as root

sudo -i

To always show the favourites bar
https://ask.fedoraproject.org/en/question/32560/how-to-always-show-favorites-bar/

To fix screen brightness/contrast

sudo yum install redshift

To install Git

sudo yum install git-all

To install GNOME Tweak Tool

sudo dnf install gnome-tweak-tool
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s