How to Uninstall or Install iraf-dev Ubuntu 22.04

Updated: October 25, 2022

IRAF is the “Image Reduction and Analysis Facility”. The main IRAF distribution includes a good selection of programs for general image processing and graphics, plus a large number of programs for the reduction and analysis of optical and IR astronomy data. In this guide, I will show you how to install iraf-dev on Ubuntu 22.04.

Requirements

  • OS: iraf-dev needs Ubuntu 22.04 to work
  • Privileges: Ascertain that you are able to execute sudo commands.

Prerequisites to install iraf-dev on Ubuntu 22.04

Install iraf-dev Ubuntu 22.04

iraf-dev is one of the popular ways on Ubuntu now so that this tutorial will show you how to install it in various ways. Choose the one you believe is simple and easy to follow.

Install iraf-dev using APT

This is a popular method for installing any Ubuntu packages because it’s easy to follow, even if you are a newbie in Linux. Following these steps to get iraf-dev on your Ubuntu 22.04.

Step 1: You must update the APT package repository cache before attempting to install, update, or remove any packages. Update the APT database to fetch new packages from Ubuntu. Launching the terminal and entering the following Linux command:

sudo apt-get update

Step 2: Start the package installation on Ubuntu 22.04. You can now install iraf-dev Ubuntu by executing this command in the terminal.

sudo apt install iraf-dev

Install iraf-dev using Aptitude

If you haven’t already installed Aptitude on Ubuntu, run this command to do so.

sudo apt-get install aptitude

After that, you can now install iraf-dev, just following these steps:

Step 1: Update the APT database to download new packages from Ubuntu. Launching the terminal and entering the following Linux command:

sudo apt-get update

Step 2: Start the package installation on Ubuntu 22.04. After updating the system, you can install iraf-dev Ubuntu by pasting this command into the terminal and executing it.

sudo aptitude -y install iraf-dev

Uninstall iraf-dev on Ubuntu 22.04

Have you ever considered how difficult it is to uninstall an application from Ubuntu? You are mistaken; anyone, not just package administrators, can easily uninstall any program.

If you installed iraf-dev using APT or Aptitude, you could uninstall iraf-dev on Ubuntu by executing this command

sudo apt remove --auto-remove iraf-dev

If you want to uninstall iraf-dev and remove its data and dependencies, you can also run the following command:

sudo apt autoremove --purge iraf-dev

Summary

In this guide, I showed you ways to install iraf-dev on Ubuntu 22.04 and ways to uninstall iraf-dev too. Please do not hesitate to contact me if you require any assistance. I’m delighted to respond to them.