Install Sublime Text 2 in Fedora

Sublime Text is one the most popular, lightweight and smart cross-platform text and source code editor with a Python API, that is available for Linux, Windows and Mac OS X. It is really an awesome application for programming and offers a wide range of file types to manage has it supports syntax highlighting for C, C++, C#, CSS, HTML, Java, JavaScript, PHP, Groovy, LaTeX and the list goes on. The user interface is much similar to most famous editor called “vim“.

By default there is no official repository available for Sublime Text 2 and there is no any magical way to install using “yum” command as you use these command frequently to install packages on your Linux systems. So, here in this article, I will show you the method to install Sublime Text.

Download Sublime Text

The latest stable version can be downloaded from Sublime Text website or you can use the following “wget” command to download the tar-file that suits you better and extract it as shown below.

## 32-bit ##
wget -c http://c758482.r82.cf2.rackcdn.com/Sublime%20Text%202.0.2.tar.bz2
tar vxjf Sublime\ Text\ 2.0.2.tar.bz2

## 64-bit ## 
wget -c http://c758482.r82.cf2.rackcdn.com/Sublime%20Text%202.0.2%20x64.tar.bz2
tar vxjf Sublime\ Text\ 2.0.2\ x64.tar.bz2

Installing Sublime Text and Running from terminal

Once unpacked, we will get a directory called “Sublime Text 2″. Inside this directory you will see a list files that is required by Sublime Text to run. For security reason, we move this folder to “/opt” location.

sudo mv Sublime\ Text\ 2 /opt/

Next, create a symbolic link to call “Sublime Text” from the command line as “sublime”. To do, create a symbolic link under “/usr/bin” as shown below.

sudo ln -s /opt/Sublime\ Text\ 2/sublime_text /usr/bin/sublime

To run it from the terminal/command line, just type “sublime” and we are good to go.

 

 

Advertisements

Setting up Android SDK/ADT Bundle on Fedora

This guide shows a step-by-step method on how to quickly and easily get started with Android Application development by installing and configuring the android development toolkit (ADT) bundle on Fedora 20.

I have tested this method on Fedora 20. It may be similar for the following Linux distros as well

  • Fedora 16 and above
  • CentOS 6 and above
  • Red Hat (RHEL) 6 and above

Download the ADT bundle

Method 1

Download the ADT bundle according to your architecture from
http://developer.android.com/sdk/index.html.

Method 2

Download using wget by typing the following command

## 32-bit ##
wget -c http://dl.google.com/android/adt/22.6.2/adt-bundle-linux-x86-20140321.zip 

## 64-bit ##
wget -c http://dl.google.com/android/adt/22.6.2/adt-bundle-linux-x86_64-20140321.zip

Setting up Oracle JDK

Most of the android stuffs do not work properly with Openjdk Java and it is advisable to use the Oracle/Sun JDK.
Here is a guide to install Oracle/Sun Java JDK

Setting up ADT bundle

You can extract the downloaded file anywhere you want. I have kept my ADT bundle at “/Android Dev”. You can extract there by typing the following in the terminal.

NOTE : Change “defoliate” in the last statement with your username.

## 32-bit ## 
sudo mkdir /"Android Dev" 
sudo cp adt-bundle-linux-x86-20140321.zip /"Android Dev" 
cd /"Android Dev" 
sudo unzip adt-bundle-linux-x86-20140321.zip 
sudo rm adt-bundle-linux-x86-20140321.zip
sudo chown -R defoliate:users /"Android Dev"

## 64-bit ## 
sudo mkdir /"Android Dev" 
sudo cp adt-bundle-linux-x86_64-20140321.zip /"Android Dev" 
cd /"Android Dev" 
sudo unzip adt-bundle-linux-x86_64-20140321.zip 
sudo rm adt-bundle-linux-x86_64-20140321.zip
sudo chown -R defoliate:users /"Android Dev"

If you have 64-bit systems and you installed the 64-bit version of the ADT Bundle, you will need to install some 32-bit packages as well, because Android SDK is 32-bit .
For installing these 32-bit packages, enter the following in terminal

## Only for 64-bit systems ##
sudo yum install glibc.i686 glibc-devel.i686 libstdc++.i686 zlib-devel.i686 ncurses-devel.i686 libX11-devel.i686 libXrender.i686 libXrandr.i686

Launching ADT Eclipse Bundle from Terminal

Make a symbolic link to adt eclipse so as to distinguish it from normal eclipse. Also we can make a symbolic link to the sdk manager for easy use.

## ADT Eclipse ##
sudo ln -s /"Android Dev"/adt-bundle-linux*/eclipse/eclipse /"Android Dev"/adt-bundle-linux*/eclipse/adt

## SDK Manager ##
sudo ln -s /"Android Dev"/adt-bundle-linux*/sdk/tools/android /"Android Dev"/adt-bundle-linux*/sdk/tools/sdk

Now we need to add Android SDK and ADT Eclipse into PATH environment variable. For this we need to edit the ~/.bashrc file. For editing that file, enter the following into the terminal.

sudo gedit ~/.bashrc

Add the following lines into that file

PATH=$PATH:/"Android Dev"/sdk:/"Android Dev"/sdk/tools:/"Android Dev"/sdk/platform-tools:/"Android Dev"/eclipse
export PATH

Now load the new settings using the following command

source ~/.bashrc

For running the sdk manager or the adt eclipse you can type the following into terminal now.

## SDK-Manager ##
sdk

## ADT Eclipse ##
adt

Install Oracle Java JDK Version 8u11 on Fedora

I have tested this method on Fedora 20. It may be similar for the following Linux versions as well

  • Fedora 16 and above
  • CentOS 6 and above
  • Red Hat (RHEL) 6 and above

By default, Openjdk java is provided with the OS. But sometimes, people want to use the Oracle/Sun version.

Difference between Openjdk java and Oracle java

Technical differences are a consequence of the goal of each one (OpenJDK is meant to be the reference implementation, open to the community, while Oracle is meant to be a commercial one)

They both have “almost” the same code of the classes in the Java API; but the code for the virtual machine itself is actually different, and when it comes to libraries, OpenJDK tends to use open libraries while Oracle tends to use closed ones; for instance, the font library.

It is generally preferred to use Oracle Java if you are wishing to develop android apps as some of the features may not work with openjdk java. For general programming openjdk is preferred.

Download the latest rpm file

Method 1

Download Sun/Oracle Java from here
http://www.oracle.com/technetwork/java/javase/downloads/index.html

Select rpm package as follows

  • JDK 32 bit jdk-8u11-linux-i586.rpm
  • JDK 64 bit jdk-8u11-linux-x64.rpm

Method 2

Just type the following in the terminal

## JDK 32-bit ##
wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/8u11-b12/jdk-8u11-linux-i586.rpm"


## JDK 64-bit ##
wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/8u11-b12/jdk-8u11-linux-x64.rpm"

Login as root

Type the following in the terminal

su -

Install Java JDK or JRE package

Double click install the rpm package or just type the following to install the downloaded package.

## JDK 32-bit ##
rpm -Uvh /path/to/binary/jdk-8u11-linux-i586.rpm

## JDK 64-bit ##
rpm -Uvh /path/to/binary/jdk-8u11-linux-x64.rpm

Install browser plugins and javac

Method 1 – Use Java JDK latest version (/usr/java/latest)

Type the following into the terminal

## java ##
alternatives --install /usr/bin/java java /usr/java/latest/jre/bin/java 200000

## javaws ##
alternatives --install /usr/bin/javaws javaws /usr/java/latest/jre/bin/javaws 200000

## Java Browser (Mozilla) Plugin 32-bit ##
alternatives --install /usr/lib/mozilla/plugins/libjavaplugin.so libjavaplugin.so /usr/java/latest/jre/lib/i386/libnpjp2.so 200000

## Java Browser (Mozilla) Plugin 64-bit ##
alternatives --install /usr/lib64/mozilla/plugins/libjavaplugin.so libjavaplugin.so.x86_64 /usr/java/latest/jre/lib/amd64/libnpjp2.so 200000

## javac ##
alternatives --install /usr/bin/javac javac /usr/java/latest/bin/javac 200000

## jar ##
alternatives --install /usr/bin/jar jar /usr/java/latest/bin/jar 200000

Method 2 – Use Java JDK absolute version (/usr/java/jdk1.8.0_11)

Type the following in the terminal

## java ##
alternatives --install /usr/bin/java java /usr/java/jdk1.8.0_11/jre/bin/java 200000

## javaws ##
alternatives --install /usr/bin/javaws javaws /usr/java/jdk1.8.0_11/jre/bin/javaws 200000

## Java Browser (Mozilla) Plugin 32-bit ##
alternatives --install /usr/lib/mozilla/plugins/libjavaplugin.so libjavaplugin.so /usr/java/jdk1.8.0_11/jre/lib/i386/libnpjp2.so 200000

## Java Browser (Mozilla) Plugin 64-bit ##
alternatives --install /usr/lib64/mozilla/plugins/libjavaplugin.so libjavaplugin.so.x86_64 /usr/java/jdk1.8.0_11/jre/lib/amd64/libnpjp2.so 200000

## javac ##
alternatives --install /usr/bin/javac javac /usr/java/jdk1.8.0_11/bin/javac 200000

## jar ##
alternatives --install /usr/bin/jar jar /usr/java/jdk1.8.0_11/bin/jar 200000

Set environmental variable

Setup JAVA_HOME and PATH environment variable, i.e, adding JAVA_HOME environment variable to /etc/profile file or $HOME/.bash_profile file and setting PATH.

Method 1 – Java JDK latest version (/usr/java/latest)

export JAVA_HOME="/usr/java/latest"
export PATH=$PATH:/usr/java/latest/bin:/usr/java/latest/jre/bin

Method 2 – Java JDK absolute version (/usr/java/jdk1.8.0_05)

export JAVA_HOME="/usr/java/jdk1.8.0_11"
export PATH=$PATH:/usr/java/jdk1.8.0_11/bin:/usr/java/jdk1.8.0_11/jre/bin

Checking whether installation is successful

Check java, javaws and javac

checking java

Check mozilla firefox java plugin

Test the plugin out at: www.java.com/en/download/help/testvm.xml
A browser restart is not always required.

You can alse check libjavaplugin.so by restarting Mozilla Firefox and writing about:plugins on address bar.

firefox plugin
I hope this works out for everyone. Comment for any queries and I will reply asap.

Installing Fedy (Fedora Utils)

I’ve discovered a really nice tool than can be very useful in a daily basis. I’m talking about Fedy, by satya164, an open source GitHub project.

Fedy (earlier knows as “Fedora Utils”) is the “Graphical Tweak” of Fedora. It simplifies many of the post install tasks. It’s basically a collection of scripts and customizable plugins wrapped around a nice GUI which  help you install fonts, codecs, flash, java, etc. It also cleans up your system, fixes some common issues, tweaks your desktop, etc.

Literally, as its creator said: “Fedora Utils lets you install codecs and additional software that Fedora doesn’t want to ship, like MP3 codecs, Adobe Flash, Oracle Java etc. It can also fix problems, tweak and cleanup your system, show system information and much more with just few clicks.”

New Installation

The installation process is quite simple. Just enter the following in your terminal followed by the root password.

su -c "curl https://satya164.github.io/fedy/fedy-installer -o fedy-installer && chmod +x fedy-installer && ./fedy-installer"

Upgrading from FedoraUtils to Fedy

First you need to uninstall the fedoraultis from your system. For this, enter the following in your terminal followed by the root password.

sudo yum remove fedorautils

Then update the fedorautils repo.

sudo gedit /etc/yum.repos.d/fedorautils.repo

Delete everything in the file and add the following,

[fedorautils]
name=Fedora Utils
type=rpm-md
baseurl=http://download.opensuse.org/repositories/home:/satya164:/fedorautils/Fedora_$releasever/
gpgkey=http://download.opensuse.org/repositories/home:/satya164:/fedorautils/Fedora_$releasever/repodata/repomd.xml.key
gpgcheck=1
enabled=1
metadata_expire=1d
skip_if_unavailable=1

Save the file and install fedy by entering the following in the terminal.

sudo yum install fedy

I hope this will help a lot.

Install Eiskalt DC++ in Fedora

Eiskalt DC++ is not available as a default package in the official Fedora Repository. Instead we need to add another repository to have eiskalt.

Adding the Russian Fedora Repository

Copy paste / type the following command in the TERMINAL.

su -c 'yum install --nogpgcheck http://mirror.yandex.ru/fedora/russianfedora/russianfedora/free/fedora/russianfedora-free-release-stable.noarch.rpm http://mirror.yandex.ru/fedora/russianfedora/russianfedora/nonfree/fedora/russianfedora-nonfree-release-stable.noarch.rpm'
sudo yum update

Installing EiskaltDC++

Copy paste / type the following command in the TERMINAL.

sudo yum install eiskaltdcpp

Configuring EiskaltDC++ for good transfer

Click  Tools -> Preferences -> Connection.

Here enter everything as shown in the figure below.

EiskaltDC++ Network Configuration

Now open the Firewall

Screenshot from 2014-01-19 03:34:11

Now goto the Ports tab of the Public Zone in the Permanent Configuration and add the ports as shown in the figure

Screenshot from 2014-01-19 03:35:36

That’s all you need for proper fuctioning of EiskaltDC++. Hope this helps.

Top things to do after installing Fedora 20/19/18/17

Fedora misses some very important features like mp3 codecs, pdf reader etc which should have been provided with the installation iso. Here is the guide to set up all of the requirements after installing a fresh copy of Fedora.

First of all update the system using “sudo yum update” command.

Enable RPM Fusion Repositories (VERY IMPORTANT)

Before starting to install any software, we need to enable  RPM FUSION REPOSITORY so that we can install applications like vlc, media-codecs, as well as wifi drivers (for whom these drivers are missing) etc which are not available in Fedora official repositories due to some sort of license issues.
Type the following code in the terminal

su -c 'yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm'

You can also do it graphically by downloading these two files

  • For Fedora 19.
    http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-19.noarch.rpm
    http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-19.noarch.rpm
  • For Fedora 18.
    http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-18.noarch.rpm
    http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-18.noarch.rpm
  • For Fedora 17.
    http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-17.noarch.rpm
    http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-17.noarch.rpm

Do run “sudo yum update” after adding the repo.


Install Fedy (Fedora Utils)

Fedy (earlier known as Fedora Utils) lets you install codecs and additional software, fix problems, tweak and cleanup your system, view system information and much more with just few clicks.

Installing Fedy is as easy as running a single command.

To install the latest version of Fedora Utils in your system, click this line.

Add the Fedy repo to your system to ensure that Fedy up-to-date and all the new features and bug fixes are delivered to you. If you don’t want the repo, you can remove it from the “Help” menu in Fedy.

Fedy saves the downloaded files for so that you can reuse them. It also takes backups before modifying system files for easy recovery. Unlike others, it can perform batch operations too.

Please click here to know more about Fedy.

Install media-codecs and VLC for media playback

Many of the codecs required to play mp3 files, avi files etc are missing from fedora. They must be installed along with a good multimedia player. And when we talk about multimedia player there is no one better than VLC media player.
Type the following code in the terminal

sudo yum 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
sudo yum install vlc

You can also install the media codecs using Fedy.

Install Gnome-tweak-tool and alternative shutdown menu

Gnome tweak tool is an utility to customize advance Gnome 3 options

Features:

  • Install and switch gnome-shell themes
  • Switch gtk/icon/cursor themes
  • Switch window manager themes
  • Change
    • The user-interface and titlebar fonts
    • Icons in menus and buttons
    • Behavior on laptop lid close
    • Shell font size
    • File manager desktop icons
    • Titlebar click action
    • Shell clock to show date
    • Font hinting and antialiasing

For installing gnome tweak tool type this in terminal

sudo yum install gnome-tweak-tool

You can also install a gnome shell extension called ALTERNATIVE STATUS MENU.

Alternative Status Menu

Alternative Status Menu

By default, alternative status menu no longer displays the Hibernate option. The easiest way to fix this is to install the extension

sudo yum install gnome-shell-extension-alternative-status-menu

Then use gsettings to turn on Hibernate:

gsettings set org.gnome.shell.extensions.alternative-status-menu allow-hibernate true

Then enable the extension in Tweak Tool and restart the shell (alt+f2 and enter r).

Install Google Chrome Browser

METHOD 1
First download and install the key from Google Linux Repository.
Run the following commands in the terminal, issue the password for the user when prompted.

wget https://dl-ssl.google.com/linux/linux_signing_key.pub
sudo rpm --import linux_signing_key.pub

After installing the key run the below command to add it to the repository.

Note: Copy and paste the command as it is below (all the lines at once of a particular architecture at once) .

## Google Repository 32-bit x86 ##
sudo sh -c 'echo "[google-chrome]
name=Google Chrome 32-bit
baseurl=http://dl.google.com/linux/chrome/rpm/stable/i386" >> /etc/yum.repos.d/google-chrome.repo'

## Google Repository 64-bit x86_64 ##
sudo sh -c 'echo "[google-chrome]
name=Google Chrome 64-bit
baseurl=http://dl.google.com/linux/chrome/rpm/stable/x86_64" >> /etc/yum.repos.d/google-chrome.repo'

Now to install Google Chrome, run the following command:

sudo yum install google-chrome-stable

METHOD 2

You can also install Google Chrome using Fedy.

METHOD 3
Alternatively you can download the rpm version of Google Chrome from here and install it.

Install Adobe Flash Plugin

METHOD 1

You can download the .rpm package from http://get.adobe.com/flashplayer/ and install by double clicking the package.

METHOD 2

Using Adobe’s own YUM repository it is very easy also keep up-to-date with Flash Player Plugin.

  • Install Adobe YUM Repository RPM package
    ## Adobe Repository 32-bit x86 ##
    sudo rpm -ivh http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpm
    sudo rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux
    
    ## Adobe Repository 64-bit x86_64 ##
    sudo rpm -ivh http://linuxdownload.adobe.com/adobe-release/adobe-release-x86_64-1.0-1.noarch.rpm
    sudo rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux
  • Install Adobe Flash Player along with its plugins
    sudo yum install flash-plugin

Install other important plugins

nspluginwrapper is a proxy plug-in and viewer for NPAPI browser plug-ins. It allows browsers to run foreign plug-ins built for a different architecture, most commonly to run a 32-bit plug-in in a 64-bit browser.

PulseAudio (or PA for short) is a sound server that provides a number of features on top of the low-level audio interface ALSA on Linux, such as:

  • Networking support (P2P and server mode).
  • Per-application volume controls
  • Better cross-platform support
  • Dynamic latency adjustment, which can be used to save power

libcurl is a free and easy-to-use client-side URL transfer library, supporting DICT, FILE, FTP, FTPS, Gopher, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, POP3, POP3S, RTMP, RTSP, SCP, SFTP, SMTP, SMTPS, Telnet and TFTP. libcurl supports SSL certificates, HTTP POST, HTTP PUT, FTP uploading, HTTP form based upload, proxies, cookies, user+password authentication (Basic, Digest, NTLM, Negotiate, Kerberos), file transfer resume, http proxy tunneling and more!

libcurl might already be installed on your system. If not, install it.

sudo yum install nspluginwrapper alsa-plugins-pulseaudio libcurl

Install Unrar and 7 zip

sudo yum install unrar p7zip p7zip-plugins

Install Java Browser Plugin

OPTION 1 : Install ORACLE JRE/JDK

You can easily install Oracle JRE/JDK using Fedy.
OR
You can click here to see the procedure.

OPTION 2 : Install OPENJDK JRE
Alternatively you can install OpenJDK  Java Runtime Environment by typing the following command:

su -c 'yum install java-*-openjdk java-*-openjdk-plugin'

Setting Up Wireless Driver In FEDORA 20/19/18/17

This Works for fedora 17 ,18, 19 and 20. It may also work for earlier versions.

When I installed my first Linux OS, i.e. Kubuntu 11.10, I found that my wifi didn’t work. I could not find a solution. Now after installing Fedora 17, I figured how it is done. I got help from a fedora forum and most of the information here is from that forum.

NOTE: In Fedora 19 and above, I noticed that if I add the Russian Fedora Repo and then update the system, Wireless Drivers automatically gets installed and after restarting the system it works properly. This may work for you too. If this short method doesnt work, please proceed with the following steps.

First We need to figure out the chipset of the wireless device

Type the following code in the terminal

lspci -k | grep -A 3 -i "network"

check your wireless chipset number and the kernel driver in use with the following

                                       lspci
                                         |
                                Any of these listed?
                                        4301
                                        4303
                                        4306
                                        4309
                                        4311
                                        4312
                                        4318
                                       /    \
                                      /      \
                                     /        \
                                    /          \
                                  Yes           No
                                  /              \
                                 /                \
                                /                  \
                               /                  4310?
                              /                   /   \
                             /                   /     \
                            /                  Yes      No
                          b43                  /         \
                        loaded?               /          43XG
                        /    \           ndiswrapper   4313,43224
                       /      No                        4321,43225
                      /        \                         4322,43227
                     /          \                         4328,43228
                   Yes       b43legacy                      /   \
                   /          loaded?                      /     \
                  /           /     \                    Yes      No
                 /          Yes      No                  /         \
                /           /         \                 /           \
             4306?         /           \          broadcom-wl      4320?
            4311?      Install        4311?                     (from lsusb
           4318?      version 3        4312?                   or other means)
           /   \      firmware         /   \                        /    \
          /     \                     /     \                      /      \
        Yes      No                 Yes      No                  Yes       No
        /         \                 /         \                  /          \
       /           \               /           \                /            \
b43-openfwwf     Install     broadcom-wl   ndiswrapper    b43-openfwwf   ndis-
    or          version 4                                       or      wrapper
  Install       firmware                                    rndis_wlan
 version 4
 firmware

How to install b43, b43legacy, version 3 or version 4 drivers

  1. Install b43-fwcutter. This is the software package that does the extraction of the firmware from the proprietary driver. I was able to solve my friend’s problem with this step only.
    su
    yum install b43-fwcutter
  2. I further googled to see for other versions of the b43 driver and found the following in a fedora forum.
  3. Do this step only if you need to install version 4 firmware for the b43 driver module. Copy and execute the following command lines one after the other in a Fedora terminal.
    wget http://downloads.openwrt.org/sources/broadcom-wl-4.150.10.5.tar.bz2
    tar xjf broadcom-wl-4.150.10.5.tar.bz2
    cd broadcom-wl-4.150.10.5/driver
    su
    b43-fwcutter -w /lib/firmware wl_apsta_mimo.o
  4. Do this step only if you need to install version 3 firmware for the b43legacy module.
    wget http://downloads.openwrt.org/sources/wl_apsta-3.130.20.0.o
    su
    b43-fwcutter -w /lib/firmware wl_apsta-3.130.20.0.o
  5. Now reboot your system

How to install broadcom 802.11 Linux STA driver (broadcom-wl)

This is the driver problem I personally faced. I followed the following steps

  1. First we need to add the RPM Fusion repositories.
    For this we can directly go to the webiste RPM FUSION REPOSITORY
    Or you can also type the following commands in the terminal

    su -c 'rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm'
    su -c 'rpm -Uvh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm'
  2. Once you have upgraded the rpmfusion free and non-free release in your system then update the system using the following command.
    sudo yum update
  3. Once you have updated, you can install the broadcom-wl driver using the command
    sudo yum install kmod-wl
  4. Now reboot the system.

How to install ndiswrapper driver

  1. First we need to add the RPM Fusion repositories.
    For this we can directly go to the webiste RPM FUSION REPOSITORY
    Or you can also type the following commands in the terminal

    su -c 'rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm'
    su -c 'rpm -Uvh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm'
  2. Once you have upgraded the rpmfusion free and non-free release in your system then update the system using the following command.
    sudo yum update
  3. Once you have updated, you can install the ndiswrapper driver using the command
    sudo yum install kmod-ndiswrapper
  4. Now reboot the system.

I hope that these techiques will do the job.