zigup icon indicating copy to clipboard operation
zigup copied to clipboard

zigup fails installation on fresh archlinux x86

Open jchatard opened this issue 1 year ago • 0 comments

Hi,

I'm trying to install and play with capy ui, which uses a nominated zig version. I just can't install the proper zig compiler.

Here's xhat I'm doing. Am I doing something wrong?

❯ pwd
/home/jchatard
❯ curl -L https://github.com/marler8997/zigup/releases/download/v2024_05_05/zigup-x86_64-linux.tar.gz | tar xz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 2734k  100 2734k    0     0  1926k      0  0:00:01  0:00:01 --:--:-- 6561k
❯ ./zigup 0.14.0-dev.1911+3bf89f55c
install directory '/home/jchatard/zig'
mkdir '/home/jchatard/zig'  # <--------- making a dir
rm -rf '/home/jchatard/zig/0.14.0-dev.1911+3bf89f55c.installing'
mkdir '/home/jchatard/zig/0.14.0-dev.1911+3bf89f55c.installing'
downloading 'https://ziglang.org/builds/zig-linux-x86_64-0.14.0-dev.1911+3bf89f55c.tar.xz' to '/home/jchatard/zig/0.14.0-dev.1911+3bf89f55c.installing/zig-linux-x86_64-0.14.0-dev.1911+3bf89f55c.tar.xz'
[RUN] tar xf /home/jchatard/zig/0.14.0-dev.1911+3bf89f55c.installing/zig-linux-x86_64-0.14.0-dev.1911+3bf89f55c.tar.xz -C /home/jchatard/zig/0.14.0-dev.1911+3bf89f55c.installing
rm -rf '/home/jchatard/zig/0.14.0-dev.1911+3bf89f55c.installing/zig-linux-x86_64-0.14.0-dev.1911+3bf89f55c.tar.xz'
mv '/home/jchatard/zig/0.14.0-dev.1911+3bf89f55c.installing/zig-linux-x86_64-0.14.0-dev.1911+3bf89f55c' '/home/jchatard/zig/0.14.0-dev.1911+3bf89f55c.installing/files'
mv '/home/jchatard/zig/0.14.0-dev.1911+3bf89f55c.installing' '/home/jchatard/zig/0.14.0-dev.1911+3bf89f55c'
unable to update/overwrite the 'zig' PATH symlink, the file '/home/jchatard/zig' already exists and is not a symlink
      ~    
OS: CachyOS Linux x86_64
        :*++====+++++=============-        .==:           Host: Laptop 13 (AMD Ryzen 7040Series) (A7)
       -*+++=====+***++==========:                        Kernel: Linux 6.11.4-5-cachyos
      =*++++========------------:                         Uptime: 31 mins
     =*+++++=====-                     ...                Packages: 1112 (pacman), 17 (flatpak)
   .+*+++++=-===:                    .=+++=:              Shell: zsh 5.9
  :++++=====-==:                     -*****+              Display (NE135A1M-NY1): 2880x1920 @ 60 Hz (as 1440x960) in ]
 :++========-=.                      .=+**+.              DE: GNOME 47.1
.+==========-.                          .                 WM: Mutter (Wayland)
 :+++++++====-                                .--==-.     WM Theme: Adwaita
  :++==========.                             :+++++++:    Theme: Adwaita [GTK2/3/4]
   .-===========.                            =*****+*+    Icons: Adwaita [GTK2/3/4]
    .-===========:                           .+*****+:    Font: Cantarell (11pt) [GTK2/3/4]
      -=======++++:::::::::::::::::::::::::-:  .---:      Cursor: Adwaita (24px)
       :======++++====+++******************=.             Terminal: GNOME Terminal 3.54.1
        :=====+++==========++++++++++++++*-               Terminal Font: Source Code Pro (10pt)
         .====++==============++++++++++*-                CPU: AMD Ryzen 7 7840U w/ Radeon  780M Graphics (16) @ 3.30z
          .===+==================+++++++:                 GPU: AMD Radeon 780M [Integrated]
           .-=======================+++:                  Memory: 4.88 GiB / 60.64 GiB (8%)
             ..........................                   Swap: 0 B / 60.63 GiB (0%)
                                                          Disk (/): 15.23 GiB / 3.64 TiB (0%) - btrfs
                                                          Local IP (wlan0): 192.168.130.148/24
                                                          Battery (FRANGWA): 32% [Discharging]
                                                          Locale: fr_FR.UTF-8

jchatard avatar Oct 22 '24 16:10 jchatard