- wget -q -O - http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add -
-
sudo sh -c 'echo deb http://pkg.jenkins-ci.org/debian binary/ > /etc/apt/sources.list.d/jenkins.list'
-
sudo apt-get update
-
sudo apt-get install jenkins
On Fedora-based distributions, such as Red Hat Enterprise Linux (RHEL), CentOS or Scientific Linux
-
sudo wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat/jenkins.repo
-
sudo rpm --import http://pkg.jenkins-ci.org/redhat/jenkins-ci.org.key
- sudo yum install jenkins