Comment
Author: Admin | 2025-04-28
Table of ContentsHow to Install Haskell Platform on Ubuntu 20.04 LTSStep 1: PrerequisitesStep 2: Update Your SystemStep 3: Install Haskell PlatformStep 4: Check Haskell Compiler VersionStep 5: Start HaskellStep 6: Write Your First Haskell ProgramStep 7: Remove Haskell PlatformIn this article, I will take you through the steps to install Haskell platform on Ubuntu 20.04 LTS. Haskell is a general purpose, purely functional programming language which has been around for quite sometime. The Haskell Platform is a collection of software packages, tools and libraries that create a common platform for using and developing applications in Haskell. The best and recommended way to start with Haskell Programming is through Haskell Platform. So we need to first install the Haskell platform first really starting with the Haskell programming. More on Haskell Documentation.Also Read: How to Install Racket Programming Language on Ubuntu 20.04 LTSStep 1: Prerequisitesa) You should have a running Ubuntu 20.04 LTS System.b) You should have sudo or root access to run privileged commands.c) You should have apt or apt-get utility installed in the Server.Step 2: Update Your SystemIt is always recommended to check if there are any new versions of your installed packages are available to download and install using apt update or apt-get update command. This will make sure all the installed packages from all the repositories are up to date.root@localhost:~# apt-get updateHit:1 http://in.archive.ubuntu.com/ubuntu focal InReleaseGet:2 http://in.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]Get:3 http://in.archive.ubuntu.com/ubuntu focal-backports InRelease [101 kB]Hit:4 http://ppa.launchpad.net/ansible/ansible/ubuntu focal InReleaseHit:5 https://apt.releases.hashicorp.com focal InReleaseHit:6 https://packages.microsoft.com/repos/edge stable InReleaseHit:7 http://ppa.launchpad.net/micahflee/ppa/ubuntu focal InReleaseGet:8 http://security.ubuntu.com/ubuntu
Add Comment