title: Updating cabal version on Fedora 25
body: <p>I have cabal already installed on my Fedora OS. 
  The current version of cabal is</p>
  
  <pre><code>  user@localhost ~]$ cabal --version
    cabal-install version 1.22.9.0
    using version 1.22.5.0 of the Cabal library 
  </code></pre>
  
  <p>I want to update cabal to the latest version <em>Release 1.24.2.0</em>. But the update is not successful.</p>
  
  <pre><code>  user@localhost ~]$ sudo cabal update
    [sudo] password for rajkumar: 
    Downloading the latest package list from hackage.haskell.org
    Skipping download: Local and remote files match.
  </code></pre>
  
  <p>My ghc version is </p>
  
  <pre><code>  user@localhost ~]$ ghc --version
    The Glorious Glasgow Haskell Compilation System, version 7.10.3
  </code></pre>
  
  <p>Below is the log of the 2 steps above. 
  I am seeing in log it says Installed cabal-install-1.24.0.2
  Once it is done, still the cabal --version doesn't result in latest version. Any Idea</p>
  
  <pre><code>  [user@localhost ~]$ sudo cabal update
    [sudo] password for user: 
    Downloading the latest package list from hackage.haskell.org
    [user@localhost ~]$ sudo cabal install cabal-install
    Resolving dependencies...
    Downloading Cabal-1.24.2.0...
    Downloading base16-bytestring-0.1.1.6...
    Configuring base16-bytestring-0.1.1.6...
    Downloading cryptohash-sha256-0.11.100.1...
    Downloading ed25519-0.0.5.0...
    Configuring cryptohash-sha256-0.11.100.1...
    Downloading tar-0.5.0.3...
    Building base16-bytestring-0.1.1.6...
    Building cryptohash-sha256-0.11.100.1...
    Installed base16-bytestring-0.1.1.6
    Configuring Cabal-1.24.2.0...
    Configuring ed25519-0.0.5.0...
    Installed cryptohash-sha256-0.11.100.1
    Building Cabal-1.24.2.0...
    Building ed25519-0.0.5.0...
    Configuring tar-0.5.0.3...
    Installed ed25519-0.0.5.0
    Building tar-0.5.0.3...
    Installed tar-0.5.0.3
    Installed Cabal-1.24.2.0
    Downloading hackage-security-0.5.2.2...
    Configuring hackage-security-0.5.2.2...
    Building hackage-security-0.5.2.2...
    Installed hackage-security-0.5.2.2
    Downloading cabal-install-1.24.0.2...
    Configuring cabal-install-1.24.0.2...
    Building cabal-install-1.24.0.2...
    Installed cabal-install-1.24.0.2
    [user@localhost ~]$ cabal --version
    cabal-install version 1.22.9.0
    using version 1.22.5.0 of the Cabal library 
    [user@localhost ~]$ sudo cabal --version
    [sudo] password for user: 
    cabal-install version 1.22.9.0
    using version 1.22.5.0 of the Cabal library 
  </code></pre>
  
  <p>Thanks in advance for your kind suggestions.</p>