[TIL] Cài Postman trên Fedora 39

Dạo này mình chuyển qua dùng Fedora 39. Có 1 cái hơi ngáo là cài Postman từ app store thì cứ vào là crash. Điên không chịu được.

Sau khi thử qua 7749 cách thì đây là cách duy nhất work, mình viết bài để note lại

Bước 1: tạo file sh: install_postman.sh

#!/bin/bash
wget https://dl.pstmn.io/download/latest/linux64 -O postman-linux-x64.tar.gz
sudo tar xvzf postman-linux-x64.tar.gz -C /opt
sudo ln -s /opt/Postman/Postman /usr/bin/postman
cat << EOF > ~/.local/share/applications/postman2.desktop
[Desktop Entry]
Name=Postman
GenericName=API Client
X-GNOME-FullName=Postman API Client
Comment=Make and view REST API calls and responses
Keywords=api;
Exec=/opt/Postman/Postman
Terminal=false
Type=Application
Icon=/opt/Postman/app/resources/app/assets/icon.png
Categories=Development;Utilities;
EOF

Bước 2: cấp quyền cho file

chmod +x install_postman.sh

Bước 3: run file

./install_postman.sh

Bước 4: Search “Postman” ở menu là thấy. Mở lên và hưởng thụ thành quả.

Cảm ơn bạn đã đọc bài. Chúc bạn ngày mới tốt lành và làm việc hiệu quả ^^

Bình luận về bài viết này