Skip to content

Install dependencies #2501

@sglbl

Description

@sglbl

Describe the bug

I jsut tried to install the app on Zorin OS 18 (an OS based on Ubuntu 24.04)

Image

But it cannot find the libwebkit2gtk-4.0-dev, trying to install it gives E: Unable to locate package error. I guess we need to change sources.list, I believe it's better if the script does this job. Not user

Reproduction

No response

Expected behavior

To install the app with the command

OS, Browser and Phoenix versions

OS: Zorin OS 18 on X11

logs or debug stack trace if any

(base) sglbl@ddspc:~$ wget -qO- https://updates.phcode.io/linux/installer.sh | bash
Using temporary directory /tmp/tmp.46vxuIJLVZ for processing
Fetching the latest release information from phcode-dev/phoenix-desktop...
Current GLIBC version: 2.39
Searching for a compatible binary...
Found a new best match: https://github.com/phcode-dev/phoenix-desktop/releases/download/prod-app-v4.0.3/phoenix-code_4.0.3_amd64_linux_bin-GLIBC-2.31.tar.gz with GLIBC version 2.31
Found a new best match: https://github.com/phcode-dev/phoenix-desktop/releases/download/prod-app-v4.0.3/phoenix-code_4.0.3_amd64_linux_bin-GLIBC-2.35.tar.gz with GLIBC version 2.35
Downloading the compatible binary from https://github.com/phcode-dev/phoenix-desktop/releases/download/prod-app-v4.0.3/phoenix-code_4.0.3_amd64_linux_bin-GLIBC-2.35.tar.gz...
/tmp/tmp.46vxuIJLVZ/pho 100%[==============================>]  82,53M   913KB/s    in 52s     
Downloading the icon...
/tmp/tmp.46vxuIJLVZ/ico 100%[==============================>]  41,14K  --.-KB/s    in 0,1s    
Extracting the binary to /tmp/tmp.46vxuIJLVZ...
/tmp/tmp.46vxuIJLVZ/phoenix-code/phoenix-code: error while loading shared libraries: libwebkit2gtk-4.0.so.37: cannot open shared object file: No such file or directory
Initial verification failed. Attempting to install dependencies...
Attempting to install required dependencies...
The installation of dependencies requires administrative access. You may be prompted to enter your password.
Please enter your password to proceed with the installation of dependencies.
Unsupported distribution. Please manually install the required dependencies.
(base) sglbl@ddspc:~$ wget -qO- https://updates.phcode.io/linux/installer.sh | bash
Using temporary directory /tmp/tmp.vyvHH4WXgV for processing
Fetching the latest release information from phcode-dev/phoenix-desktop...
Current GLIBC version: 2.39
Searching for a compatible binary...
Found a new best match: https://github.com/phcode-dev/phoenix-desktop/releases/download/prod-app-v4.0.3/phoenix-code_4.0.3_amd64_linux_bin-GLIBC-2.31.tar.gz with GLIBC version 2.31
Found a new best match: https://github.com/phcode-dev/phoenix-desktop/releases/download/prod-app-v4.0.3/phoenix-code_4.0.3_amd64_linux_bin-GLIBC-2.35.tar.gz with GLIBC version 2.35
Downloading the compatible binary from https://github.com/phcode-dev/phoenix-desktop/releases/download/prod-app-v4.0.3/phoenix-code_4.0.3_amd64_linux_bin-GLIBC-2.35.tar.gz...
/tmp/tmp.vyvHH4WXgV/pho 100%[==============================>]  82,53M  1,92MB/s    in 60s     
Downloading the icon...
/tmp/tmp.vyvHH4WXgV/ico 100%[==============================>]  41,14K  --.-KB/s    in 0,1s    
Extracting the binary to /tmp/tmp.vyvHH4WXgV...
/tmp/tmp.vyvHH4WXgV/phoenix-code/phoenix-code: error while loading shared libraries: libwebkit2gtk-4.0.so.37: cannot open shared object file: No such file or directory
Initial verification failed. Attempting to install dependencies...
Attempting to install required dependencies...
The installation of dependencies requires administrative access. You may be prompted to enter your password.
Please enter your password to proceed with the installation of dependencies.
Unsupported distribution. Please manually install the required dependencies.
(base) sglbl@ddspc:~$ libwebkit2
libwebkit2: command not found
(base) sglbl@ddspc:~$ sudo apt update
sudo apt install libwebkit2gtk-4.0-dev
[sudo] password for sglbl:  
Hit:1 https://brave-browser-apt-release.s3.brave.com stable InRelease
Hit:2 http://es.archive.ubuntu.com/ubuntu noble InRelease                                     
Hit:3 http://security.ubuntu.com/ubuntu noble-security InRelease                              
Hit:4 https://linux.teamviewer.com/deb stable InRelease                                       
Hit:5 https://download.docker.com/linux/ubuntu noble InRelease                                
Hit:6 https://packages.microsoft.com/repos/code stable InRelease                              
Hit:7 https://updates.signal.org/desktop/apt xenial InRelease                                 
Hit:8 https://ppa.launchpadcontent.net/psygreg/linuxtoys/ubuntu noble InRelease               
Get:9 http://es.archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]                    
Hit:10 https://ppa.launchpadcontent.net/rvm/smplayer/ubuntu noble InRelease                   
Hit:11 https://dl.google.com/linux/chrome/deb stable InRelease                                
Hit:12 https://ppa.launchpadcontent.net/zorinos/apps/ubuntu noble InRelease                   
Hit:13 https://ppa.launchpadcontent.net/zorinos/drivers/ubuntu noble InRelease                
Hit:14 https://ppa.launchpadcontent.net/zorinos/patches/ubuntu noble InRelease                
Hit:15 https://us-central1-apt.pkg.dev/projects/antigravity-auto-updater-dev antigravity-debian InRelease
Hit:16 https://ppa.launchpadcontent.net/zorinos/stable/ubuntu noble InRelease             
Hit:17 http://es.archive.ubuntu.com/ubuntu noble-backports InRelease
Hit:18 https://packages.zorinos.com/stable noble InRelease
Hit:19 https://packages.zorinos.com/patches noble InRelease
Hit:20 https://packages.zorinos.com/apps noble InRelease
Hit:21 https://packages.zorinos.com/drivers noble InRelease
Hit:22 https://packages.zorinos.com/premium noble InRelease
Fetched 126 kB in 3s (47,9 kB/s)
Reading package lists... 6%
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
99 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package libwebkit2gtk-4.0-dev
E: Couldn't find any package by glob 'libwebkit2gtk-4.0-dev'
(base) sglbl@ddspc:~$ 

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions