Install/Uninstall in Linux
Overview
This guide details how to install Phoenix Code on Linux systems. Our installer works with major Linux distributions(Ubuntu, Debian, Fedora, and Arch-based systems).
Automatic Installation
To install Phoenix Code automatically, execute the following command in your terminal:
wget -qO- https://updates.phcode.io/linux/installer.sh | bash
This script automatically installs Phoenix Code and all required dependencies. It will also setup app drawer shortcuts and file associations.
Uninstall
Execute the following command in your terminal.
wget -qO- https://updates.phcode.io/linux/installer.sh | bash -s -- --uninstall
Manual Installation
If automatic installation fails or manual installation is preferred, follow these steps:
-
Check GLIBC Version: Determine your system's GLIBC version using:
ldd --version | awk '/ldd/{print $NF}'
-
Download the Package: Visit the Phoenix Code Releases Page and download a version compatible with your GLIBC.
-
Extract the Package: Unpack the downloaded file with:
tar -xvf phoenix_code_version.tar.gz
-
Read Installation Instructions: Read the detailed instructions contained within the package:
cat extracted_folder/ReadMe.txt
-
Execute Installation Steps: Follow the instructions in
readme.txt
to complete the installation.
Desktop Environment Compatibility
Phoenix Code is tested with both Gnome
and KDE
desktop environments.
Other desktop environments may be compatible with Manual Installation.
FAQ
Q: How can I verify if my distribution is supported?
Run the Automatic Installation. If it completes successfully, your distribution is supported.
Q: How do I upgrade Phoenix Code?
For automatic installations, you will receive an update notification in the app itself. For Manual Installations, follow the section again.
Q: How do I uninstall Phoenix Code?
For automatic installations, use the command:
wget -qO- https://updates.phcode.io/linux/installer.sh | bash -s -- --uninstall
For manual installations, delete the folder where you placed Phoenix Code App and remove any related files.
Q: Phoenix is not starting up after install. What can I do?
Restart your system. Confirm that the required dependencies listed below in your Linux distribution are installed.
- Ubuntu/Debian
- Fedora/Red Hat
- Arch Linux
Update your package list:
sudo apt update
Install WebKitGTK and GTK:
sudo apt install libgtk-3-0 libwebkit2gtk-4.0-37
Note: In Ubuntu 22+ versions, WebKitGTK may be pre-installed.
Install optional GStreamer plugins for media playback:
sudo apt install gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-tools gstreamer1.0-libav
Update your package list:
sudo dnf update
Install WebKitGTK and GTK:
sudo dnf install webkit2gtk3 gtk3
Install optional GStreamer plugins for media playback:
sudo dnf install gstreamer1-plugins-base gstreamer1-plugins-good gstreamer1-plugins-bad-free gstreamer1-plugins-bad-freeworld gstreamer1-plugins-ugly gstreamer1-libav
Ensure your system is up to date:
sudo pacman -Syu
Install WebKitGTK and GTK:
sudo pacman -S webkit2gtk gtk3
Install optional GStreamer plugins for media playback:
sudo pacman -S gst-plugins-base gst-plugins-good gst-plugins-bad gst-plugins-ugly gst-libav