[GH-ISSUE #3045] [Feature Request] Publish frps and frpc to package manager to allow auto upgrading. #2434

Closed
opened 2026-05-05 13:33:56 -06:00 by gitea-mirror · 4 comments
Owner

Originally created by @Anduin2017 on GitHub (Aug 4, 2022).
Original GitHub issue: https://github.com/fatedier/frp/issues/3045

Describe the feature request

Hi.

Since we are using FRP, every time it releases a new version, we need to manually update it on the server side and on the client side. It brings us possibility to make mistakes and have to do that manually.

Do your team ever consider to publish that to a package manager like 'apt' so I can do: 'sudo apt install frps' to install it and update it along side with system upsates?

Thanks!

Describe alternatives you've considered

Every time it releases a new version, we need to manually update it on the server side and on the client side.

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @Anduin2017 on GitHub (Aug 4, 2022). Original GitHub issue: https://github.com/fatedier/frp/issues/3045 ### Describe the feature request Hi. Since we are using FRP, every time it releases a new version, we need to manually update it on the server side and on the client side. It brings us possibility to make mistakes and have to do that manually. Do your team ever consider to publish that to a package manager like 'apt' so I can do: 'sudo apt install frps' to install it and update it along side with system upsates? Thanks! ### Describe alternatives you've considered Every time it releases a new version, we need to manually update it on the server side and on the client side. ### Affected area - [ ] Docs - [X] Installation - [ ] Performance and Scalability - [ ] Security - [X] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
gitea-mirror 2026-05-05 13:33:56 -06:00
Author
Owner

@fatedier commented on GitHub (Aug 18, 2022):

No experience and enough time to do this.

<!-- gh-comment-id:1219002762 --> @fatedier commented on GitHub (Aug 18, 2022): No experience and enough time to do this.
Author
Owner

@Anduin2017 commented on GitHub (Aug 18, 2022):

Got it. I will try to build a custom installation and upgrade script.

<!-- gh-comment-id:1219032753 --> @Anduin2017 commented on GitHub (Aug 18, 2022): Got it. I will try to build a custom installation and upgrade script.
Author
Owner

@Anduin2017 commented on GitHub (Sep 10, 2022):

I just wrote a very brief frpc upgrade script for myself to use, incase anyone need it.

sudo apt install tar wget jq
latestUrl=$(curl https://api.github.com/repos/fatedier/frp/releases/latest | jq -r '(.assets[] | select(.browser_download_url | contains("linux_amd64"))).browser_download_url')
echo "Latest download url is $latestUrl"
wget -O /home/anduin/frp.tar.gz $latestUrl
mkdir /home/anduin/temp
tar -zxvf /home/anduin/frp.tar.gz --directory /home/anduin/temp

frpcPath=$(find /home/anduin/temp/ -name "frpc")
frpsPath=$(find /home/anduin/temp/ -name "frps")

sudo systemctl stop   frpc.service
sudo systemctl stop   frps.service
sudo cp $frpcPath /usr/bin/
sudo cp $frpsPath /usr/bin/
sudo systemctl start  frpc.service
sudo systemctl start  frps.service

echo "Cleaning up..."
sudo rm /home/anduin/frp.tar.gz
sudo rm /home/anduin/temp -rvf
<!-- gh-comment-id:1242768241 --> @Anduin2017 commented on GitHub (Sep 10, 2022): I just wrote a very brief frpc upgrade script for myself to use, incase anyone need it. ```bash sudo apt install tar wget jq latestUrl=$(curl https://api.github.com/repos/fatedier/frp/releases/latest | jq -r '(.assets[] | select(.browser_download_url | contains("linux_amd64"))).browser_download_url') echo "Latest download url is $latestUrl" wget -O /home/anduin/frp.tar.gz $latestUrl mkdir /home/anduin/temp tar -zxvf /home/anduin/frp.tar.gz --directory /home/anduin/temp frpcPath=$(find /home/anduin/temp/ -name "frpc") frpsPath=$(find /home/anduin/temp/ -name "frps") sudo systemctl stop frpc.service sudo systemctl stop frps.service sudo cp $frpcPath /usr/bin/ sudo cp $frpsPath /usr/bin/ sudo systemctl start frpc.service sudo systemctl start frps.service echo "Cleaning up..." sudo rm /home/anduin/frp.tar.gz sudo rm /home/anduin/temp -rvf ```
Author
Owner

@github-actions[bot] commented on GitHub (Oct 11, 2022):

Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.

<!-- gh-comment-id:1273944672 --> @github-actions[bot] commented on GitHub (Oct 11, 2022): Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#2434
No description provided.