Category Archives: Fedora
Installing EditorConfig on Sublime Text
- Go the Preferences tab -> Package Control.
- Select Install Package from the drop down menu.
- Wait for the list to load, once it loads it will show you a list of packages.
- Now, type in EditorConfig and select the highlighted option.
To confirm that Editor Config is installed correctly on your Sublime Text instance you can go to Preferences -> Browse Packages. If installed correctly you should be able to see an EditorConfig directory present in the Packages directory.
That’s it! Enjoy! 🙂
Installing Sublime Text 3 on RHEL / Fedora
Here’s another three step guide to installing Sublime Text 3 on RHEL 6,7 / Fedora 18, 19, 20:-
- Download the installation script from the following gist.
https://gist.github.com/sayak-sarkar/11b039f398ddcae88139
- Extract it to your home directory [or anywhere you like].
$tar -xvf gist11b039f398ddcae88139-e339084ef22e956ea6ef8d04f8279ca70772f534.tar.gz
- Open your terminal (preferably as super user), navigate to your home directory and execute the shell script.
#./sublime-text-3.sh
Voila!! You now have Sublime Text 3 installed on your machine. You may run it from the terminal or via the alt+f2 shortcut by simply typing in “sublime”.
Based upon my previous post on How to install Sublime Text 3 on Fedora. 😉
Enjoy!! 🙂
Installing Skype on Fedora 18 / 19 / 20
Here’s a list of command line steps to install Skype on Fedora 19:-
Step 1: Open up the terminal and switch to super user:
$su –
Step 2: Install the dependencies:
yum install alsa-lib.i686 fontconfig.i686 freetype.i686 glib2.i686 libSM.i686 libXScrnSaver.i686 libXi.i686 libXrandr.i686 libXrender.i686 libXv.i686 libstdc++.i686 pulseaudio-libs.i686 qt.i686 qt-x11.i686 qtwebkit.i686 zlib.i686
Step 3: Download Skype 4.2 Dynamic package for Fedora into /tmp:
cd /tmp
wget –trust-server-names http://www.skype.com/go/getskype-linux-dynamic
Step 4: Extract the Skype 4.2 package to /opt:
mkdir /opt/skype
tar xvf skype-4.2* -C /opt/skype –strip-components=1
Step 5: Create Launcher, Link icons, language and sounds:
ln -s /opt/skype/skype.desktop /usr/share/applications/skype.desktop
ln -s /opt/skype/icons/SkypeBlue_48x48.png /usr/share/icons/skype.png
ln -s /opt/skype/icons/SkypeBlue_48x48.png /usr/share/pixmaps/skype.pngtouch /usr/bin/skype
chmod 755 /usr/bin/skype
Open /usr/bin/skype with text editor and add following content:
#!/bin/sh
export SKYPE_HOME=”/opt/skype”$SKYPE_HOME/skype –resources=$SKYPE_HOME $*
Step 6: Congratulate yourself! You have successfully installed a non-free proprietary software on top of free Open Source software and bent down to corporate needs. Now go ahead and configure Skype according to your needs!
Sigh!
Installing Sublime Text 2 on Fedora 18 / 19 / 20
Here’s another three step guide to installing Sublime Text 2 on Fedora 19 – Schrodinger’s Cat:-
- Download the installation script from the following gist.
https://gist.github.com/sayak-sarkar/5810101
- Extract it to your home directory [or anywhere you like].
$tar -xvf gist5810101-3b0e9bb3ef5128760df9e3e06877fa4f7e5689ec.tar.gz
- Open your terminal (preferably as super user), navigate to your home directory and execute the shell script.
#./sublime-text-2.sh
Voila!! You now have Sublime Text 2 installed on your machine. You may run it from the terminal or via the alt+f2 shortcut by simply typing in “sublime-text”.
Credits to Henrique Moody for the original script gist!!
I’ve simply added a symbolic link at /usr/bin to enable terminal execution. 😉
Enjoy!! 🙂
Installing VLC player on Fedora 18 / 19 / 20
Here’s a simple three step guide to installing VLC media player on Fedora 19 [Schrodinger’s Cat]:-
- Login as Super User:
- $su
- Setup rpmfusion:
- Install vlc using the default yum package manager:
- #yum install vlc mozilla-vlc
Voila! You now have VLC media player installed on you computer! 🙂
Debugging NO KEY warning during “yum install vlc”
This is a problem that I encountered today while tryiing to install VLC media player on my brand new Fedora 18 installation.
Right after the dependency resolutions are complete, yum returns the following warning:-
Transaction Summary
===============================================
Install 1 Package (+45 Dependent packages)Total size: 37 M
Installed size: 118 M
Is this ok [y/N]: y
Downloading Packages:
warning: /var/cache/yum/i386/18/rpmfusion-free/packages/live555-0-0.38.2012.10.18.fc18.i686.rpm: Header V3 RSA/SHA256 Signature, key ID 982e0a7c: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-18-i386GPG key retrieval failed: [Errno 14] Could not open/read file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-18-i386
Did a bit of snooping around over the internet and found the missing rpmfusion keys at: http://rpmfusion.org/keys and derived the following solution:-
Step by step solution to the problem [root login used]:-
- I have already compiled the key into a single .gz file, which can be downloaded from this link: http://goo.gl/bKoyb
- Place the .gz file in the directory: /etc/pki/rpm-gpg/
- #cd /etc/pki/rpm-gpg/
- #tar -xvzf RPM-GPG-KEY-rpmfusion.tar.gz
- rm RPM-GPG-KEY-rpmfusion.tar.gz
- #yum install vlc
- You should get this output after dependency resolution is complete:
Transaction Summary
===============================================
Install 1 Package (+45 Dependent packages)Total size: 37 M
Installed size: 118 M
Is this ok [y/N]: y
Downloading Packages:
warning: /var/cache/yum/i386/18/rpmfusion-free/packages/live555-0-0.38.2012.10.18.fc18.i686.rpm: Header V3 RSA/SHA256 Signature, key ID 982e0a7c: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-18-i386
Importing GPG key 0x982E0A7C:
Userid : “RPM Fusion free repository for Fedora (18) <rpmfusion-buildsys@lists.rpmfusion.org>”
Fingerprint: c63d a8f3 375c 7182 3e3a 2d42 3633 9914 982e 0a7c
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-18-i386
Is this ok [y/N]: - Enter ‘y’ (without the quotes!)
Voila! VLC’s installed!
NOTE:It is highly recommended to do a ‘yum update’ after the installation procedure is complete, as it helps ensuring that the new rpm keys are standards-compliant!