These repositories are available through Oregon State University's free mirroring service. Special thanks to Lance Albertson, Director of the Oregon State University Open Source Lab, who helped me with the initial setup.
Supported distributions:
- Debian 10 "buster"
- Debian 11 "bullseye"
- Debian 12 "bookworm"
Import the public key used by the package management system:
curl -sS https://ftp.osuosl.org/pub/sftpgo/apt/gpg.key | sudo gpg --dearmor -o /usr/share/keyrings/sftpgo-archive-keyring.gpg
If you receive an error indicating that gnupg
is not installed, you can install it using the following command:
sudo apt install gnupg
Create the SFTPGo source list file:
CODENAME=`lsb_release -c -s`
echo "deb [signed-by=/usr/share/keyrings/sftpgo-archive-keyring.gpg] https://ftp.osuosl.org/pub/sftpgo/apt ${CODENAME} main" | sudo tee /etc/apt/sources.list.d/sftpgo.list
Reload the package database and install SFTPGo:
sudo apt update
sudo apt install sftpgo
The YUM repository can be used on generic Red Hat based distributions as well as on Suse/OpenSuse.
Create the SFTPGo repository:
ARCH=`uname -m`
curl -sS https://ftp.osuosl.org/pub/sftpgo/yum/${ARCH}/sftpgo.repo | sudo tee /etc/yum.repos.d/sftpgo.repo
Reload the package database and install SFTPGo:
sudo yum update
sudo yum install sftpgo
Start the SFTPGo service and enable it to start at system boot:
sudo systemctl start sftpgo
sudo systemctl enable sftpgo
Import the public key used by the package management system:
sudo rpm --import https://ftp.osuosl.org/pub/sftpgo/apt/gpg.key
Add the SFTPGo repository:
ARCH=`uname -m`
sudo zypper addrepo -f "https://ftp.osuosl.org/pub/sftpgo/yum/${ARCH}" sftpgo
Reload the package database and install SFTPGo:
sudo zypper refresh
sudo zypper install sftpgo
Start the SFTPGo service and enable it to start at system boot:
sudo systemctl start sftpgo
sudo systemctl enable sftpgo