Dependencies¶
- Root Privileges. Ability to assume user with root privileges or access such privileges via sudo
- Python3-support via Operating System Packages. Dependencies on various operating system packages available from official Linux distribution’s repository. You can view os package dependencies with the following command once buildpy is installed:
- Bash 4.1 or higher. No preexisting python implementation is required. buildpy is written in bash.
Back to Table Of Contents
Installation¶
Debian, Ubuntu, Linux Mint, Ubuntu Variants¶
Method 1: Install the debian-tools repository.
The easiest way to install buildpy is via the Debian-tools repository:
Download the public key:
$ wget -qO - http://awscloud.center/keys/public.key | sudo apt-key add -
Install the repository:
$ string='deb [arch=amd64] http://deb.awscloud.center <distribution> main' ; \ sudo echo $string > /etc/apt/sources.list.d/debian-tools.list
Where
<distribution>
is one of the following:trusty
: Ubuntu 14.04, Ubuntu 14.04 based Linux distributionsxenial
: Ubuntu 16.04, 16.04 based Linux distributionsbionic
: Ubuntu 18.04, 18.04 based Linux distributions
Verify package repository installation
$ apt list buildpy -a
Update and install the package:
$ sudo apt update && sudo apt install buildpy
Verify Installation. To verify a Debian (.deb) package installation:
$ apt show buildpy
Back to Table Of Contents
Method 2: Install directly via .deb
package.
apt
or apt-get
package
mangers.Download: the .deb installation package (v1.6.3 shown):
$ wget https://bitbucket.org/blakeca00/buildpython3/downloads/buildpy-1.6.3_amd64.deb
Install via apt package manager:
$ sudo apt install ./buildpy-1.6.3_amd64.deb
Note:
- Installation of the .deb package will also install the
debian-tools repository on your local machine.
If you do not want this, please comment out the single line in
/etc/apt/sources.list.d/debian-tools.list
.
Back to Table Of Contents
Redhat, CentOS, Fedora RPM-based Distributions¶
The easiest way to install buildpy on redhat-based Linux distributions is via the developer-tools package repository:
(Fedora Users: use dnf
in place of yum
below)
Download and install the repo definition file
$ sudo yum install wget
$ wget https://bitbucket.org/blakeca00/buildpython3/downloads/developer-tools.repo
$ sudo mv developer-tools.repo /etc/yum.repos.d/ && sudo chown 0:0 developer-tools.repo
Update local repository cache
$ sudo yum update -y
Install buildpy os package
$ sudo yum install buildpy
Answer “y”:
Verify Installation
$ yum info buildpy