How to install Repocket on Linux server

Created by Repocket Support, Modified on Mon, 3 Jun, 2024 at 3:26 AM by Repocket Support

Requirement:
  • Linux server
  • RP_API_KEY
  • RP_EMAIL
Steps:
  1. Download the binary file for linux  with different architecture:
linux-amd64
linux-arm
Update soon
  • Command to download:
wget https://repocket-production.s3.fr-par.scw.cloud/repocket-executable/repocket-linux-amd64
sudo mv repocket-linux-amd64 /usr/local/bin sudo
chmod +x /usr/local/bin/repocket
2. Start your repocket:
  • With binary 
# Replace email and API key to match your your credentials, this command will make your repocket run in the background, but when the server reboots or crashes. You need to run this command again
RP_EMAIL=<YOUR_EMAIL> RP_API_KEY=<YOUR_API_KEY> ./usr/local/bin/repocket> repocket.log &
  • As a service
    • Create an environment file at /etc/default/repocket , replace email and API key
RP_EMAIL=<YOUR_EMAIL>
RP_API_KEY=<YOUR_API_KEY>
  • Create a service file at /etc/system/systemd/repocket.service :
[Unit]
Description=Repocket 

[Service]
User=root
Group=root
EnvironmentFile=/etc/default/repocket
ExecStart=/usr/local/bin/repocket 

[Install]
WantedBy=multi-user.target
  • Start service: sudo systemctl start repocket 
  • Restart service: sudo systemctl restart repocket 
  • Enable service start at boot: sudo systemctl enable repocket 


For MacOS

  • Download and install:
    • Apple Silicon CPU
  $ wget https://repocket-production.s3.fr-par.scw.cloud/repocket-executable/repocket-darwin-arm64  
    $ sudo mv repocket-darwin-arm64 /usr/local/bin
  $ sudo chmod +x /usr/local/bin/repocket

  • Intel CPU (update soon)


  • Start repocket with binary
# Replace email and API key to match your your credentials, this command will make your repocket run in the background, but when the server reboots or crashes. You need to run this command again
RP_EMAIL=<YOUR_EMAIL> RP_API_KEY=<YOUR_API_KEY> ./usr/local/bin/repocket > repocket.log &

For Windows (update soon)

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article