Files
zed/script
Aditya Kumar 45d4de75b3 Add jq as a dependency for Linux script for Arch Linux (#13569)
## Error
```sh
./script/install-linux 

+ [[ 0 -gt 0 ]]
+ export ZED_CHANNEL=dev
+ ZED_CHANNEL=dev
++ pwd
+ export 'ZED_UPDATE_EXPLANATION=You need to fetch and rebuild zed in /home/adityakrcodes/repos/zed'
+ ZED_UPDATE_EXPLANATION='You need to fetch and rebuild zed in /home/adityakrcodes/repos/zed'
+ script/bundle-linux
+ getopts h flag
+ export ZED_BUNDLE=true
+ ZED_BUNDLE=true
+ channel=dev
++ script/get-crate-version zed
script/get-crate-version: line 16: jq: command not found <-- ERROR
+ version=
```
The script fails to install zed on Arch Linux due to a missing
dependency, `jq`.
## My machine info
OS: Arch Linux
Kernel: 6.6.34-1-lts 
WM: dwm 
Terminal: kitty
CPU: Ryzen 5 5500U with Radeon Graphics
GPU: AMD ATI 04:00.0 Lucienne 
Memory: 16 GB

## Error Description
The error occurs when running the script in `script/install-linux`,
which is unable to find the `jq` package, which is not installed by
default on the machine.
## Solution
To resolve this issue, you can install `jq` independently by running
`sudo pacman -S jq`. Alternatively, I have updated script `script/linux`
to include `jq` as a dependency ([link to the
commit](2349ad111f)),
ensuring it is installed automatically when running the initial script
for system libraries.

Release Notes:

- N/A
2024-06-27 09:58:53 -06:00
..
2024-06-14 11:18:41 -04:00
2024-06-10 16:09:18 -04:00
2024-04-23 13:31:21 -04:00
2024-04-16 19:32:51 -06:00
2024-06-18 13:49:44 -06:00
2024-03-06 21:35:46 -07:00
2024-03-22 08:44:56 -06:00
2024-02-01 11:57:09 -07:00
2024-04-26 17:18:17 -06:00
2023-04-05 08:18:51 -06:00
2022-10-26 16:19:19 -07:00
2024-01-23 16:52:08 +01:00
2024-06-10 20:43:13 -06:00
2022-01-27 08:51:55 +01:00
2023-09-25 21:45:28 -04:00
2024-04-02 21:02:25 -04:00