Skip to content

knochango/Anaconda-Navigator-on-Fedora-41

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

Anaconda Navigator on Fedora 41 with Wayland

A comprehensive guide for setting up Anaconda Navigator on Fedora 41 Workstation with Wayland display server and NVIDIA graphics.

System Requirements

  • Fedora 41 Workstation
  • NVIDIA GPU (commands focused on RTX 4070)
  • Wayland session
  • GNOME desktop environment

Installation Steps

1. Qt Dependencies

Install required Qt components:

sudo dnf install qt5-qtwayland qt6-qtwayland

2. Anaconda Installation

Download and install Anaconda:

Download installer

cd ~/Downloads
curl -O https://repo.anaconda.com/archive/Anaconda3-2024.10-1-Linux-x86_64.sh

Verify integrity (check hash from official website)

sha256sum Anaconda3-2024.10-1-Linux-x86_64.sh

Run installer

bash Anaconda3-2024.10-1-Linux-x86_64.sh

Refresh shell

source ~/.bashrc

3. Configure High DPI Scaling

Set up Navigator configuration:

Create config directory if needed

mkdir -p ~/.anaconda/navigator/

Edit configuration file

nano ~/.anaconda/navigator/anaconda-navigator.ini

Add or verify DPI scaling setting:

[main]
enable_high_dpi_scaling = True

4. Desktop Integration

Create system icon directory (optional):

mkdir -p ~/Images/System

Create desktop entry:

nano ~/.local/share/applications/anaconda-navigator.desktop

Add the following content (replace username with your actual username):

[Desktop Entry]
Name=Anaconda Navigator
Comment=Scientific Python Development Environment
Exec=/bin/bash -c 'QT_QPA_PLATFORM=xcb NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia /home/username/anaconda3/bin/anaconda-navigator'
Icon=/home/username/Images/System/conda.png
Terminal=false
Type=Application
Categories=Development;Science;IDE;Qt;
StartupNotify=true
MimeType=text/x-python;

Set appropriate permissions:

chmod +x ~/.local/share/applications/anaconda-navigator.desktop

Launching Methods

Desktop Launch

Find and click Anaconda Navigator in your applications menu.

Terminal Launch

For background process:

QT_QPA_PLATFORM=xcb NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia anaconda-navigator &

Environment Variables Explained

  • QT_QPA_PLATFORM=xcb: Forces Qt to use XCB instead of Wayland
  • NV_PRIME_RENDER_OFFLOAD=1: Enables NVIDIA GPU for rendering
  • __GLX_VENDOR_LIBRARY_NAME=nvidia: Uses NVIDIA's GLX implementation

About

Guide for running Anaconda Navigator on Fedora 41 with Wayland and NVIDIA GPUs. Tested on ASUS ROG Strix G16 (Intel + NVIDIA RTX 4070). Includes solutions for GLX initialization errors, Qt platform plugin issues, and HiDPI scaling problems. Step-by-step configuration and troubleshooting.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors