Version 1 (modified by 4 years ago) ( diff ) | ,
---|
Installing from YUM
The project-builder.org ftp site is also set up as a yum repository. You can install and update project-builder.org packages using yum. First add a file in your yum repo directory (most probably /etc/yum.repos.d) like the following (you may download it from our ftp server in each fedora|centos/version directory). Note that this sample is for fedora. You will need to edit a bit for other distros.
[root@tesla yum.repos.d]# cat pb.repo
[mondorpms] name=Fedora Core $releasever - pb baseurl=ftp://ftp.project-builder.org/fedora/$releasever/x86_64 enabled=1 gpgcheck=1 gpgkey=ftp://ftp.project-builder.org/fedora/$releasever/x86_64/pb.pubkey
Such a file is now automatically produced by project-builder.org and available on the ftp server at the same place as the packages. E.g. for Fedora 30 x86_64 download it from ftp://ftp.project-builder.org/fedora/30/x86_64/pb.repo
If you want to contribute to the testing of project-builder.org, also download the corresponding repo file under the test directory and the same subtree. In the above case it's ftp://ftp.project-builder.org/test/fedora/30/x86_64/pb.repo
Now just use the command:
# yum install project-builder
Here is a sequence of a successful installation of the stable version of project-builder in a CentOS 8 container
$ docker run -ti --rm centos:8 [root@fe4902a26572 /]# yum install -y wget Failed to set locale, defaulting to C.UTF-8 CentOS-8 - AppStream 6.7 MB/s | 5.8 MB 00:00 CentOS-8 - Base 3.6 MB/s | 2.2 MB 00:00 CentOS-8 - Extras 29 kB/s | 7.3 kB 00:00 Dependencies resolved. ========================================================================================================================================================================================================================================================================================
Package Architecture Version Repository Size
======================================================================================================================================================================================================================================================================================== Installing:
wget x86_64 1.19.5-8.el8_1.1 AppStream 735 k
Installing dependencies:
libpsl x86_64 0.20.2-5.el8 BaseOS 61 k publicsuffix-list-dafsa noarch 20180723-1.el8 BaseOS 56 k
Transaction Summary ======================================================================================================================================================================================================================================================================================== Install 3 Packages
Total download size: 852 k Installed size: 3.0 M Downloading Packages: (1/3): publicsuffix-list-dafsa-20180723-1.el8.noarch.rpm 1.2 MB/s | 56 kB 00:00 (2/3): libpsl-0.20.2-5.el8.x86_64.rpm 1.2 MB/s | 61 kB 00:00 (3/3): wget-1.19.5-8.el8_1.1.x86_64.rpm 5.9 MB/s | 735 kB 00:00
Total 4.2 MB/s | 852 kB 00:00 warning: /var/cache/dnf/AppStream-02e86d1c976ab532/packages/wget-1.19.5-8.el8_1.1.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 8483c65d: NOKEY CentOS-8 - AppStream 1.6 MB/s | 1.6 kB 00:00 Importing GPG key 0x8483C65D:
Userid : "CentOS (CentOS Official Signing Key) <security@…>" Fingerprint: 99DB 70FA E1D7 CE22 7FB6 4882 05B5 55B3 8483 C65D From : /etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial
Key imported successfully Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction
Preparing : 1/1 Installing : publicsuffix-list-dafsa-20180723-1.el8.noarch 1/3 Installing : libpsl-0.20.2-5.el8.x86_64 2/3 Installing : wget-1.19.5-8.el8_1.1.x86_64 3/3 Running scriptlet: wget-1.19.5-8.el8_1.1.x86_64 3/3 Verifying : wget-1.19.5-8.el8_1.1.x86_64 1/3 Verifying : libpsl-0.20.2-5.el8.x86_64 2/3 Verifying : publicsuffix-list-dafsa-20180723-1.el8.noarch 3/3
Installed:
wget-1.19.5-8.el8_1.1.x86_64 libpsl-0.20.2-5.el8.x86_64 publicsuffix-list-dafsa-20180723-1.el8.noarch
Complete!
[root@fe4902a26572 /]# wget ftp://ftp.project-builder.org/centos/8/x86_64/pb.repo --2020-08-19 15:29:17-- ftp://ftp.project-builder.org/centos/8/x86_64/pb.repo
=> 'pb.repo'
Resolving ftp.project-builder.org (ftp.project-builder.org)... 185.170.48.239 Connecting to ftp.project-builder.org (ftp.project-builder.org)|185.170.48.239|:21... connected. Logging in as anonymous ... Logged in! ==> SYST ... done. ==> PWD ... done. ==> TYPE I ... done. ==> CWD (1) /centos/8/x86_64 ... done. ==> SIZE pb.repo ... 188 ==> PASV ... done. ==> RETR pb.repo ... done. Length: 188 (unauthoritative)
pb.repo 100%[=========================================================================================================================================================================>] 188 --.-KB/s in 0s
2020-08-19 15:29:17 (30.7 MB/s) - 'pb.repo' saved [188]
[root@fe4902a26572 /]# mv pb.repo /etc/yum.repos.d/ /etc/yum.repos.d/CentOS-PowerTools.repo [root@fe4902a26572 /]# yum install -y project-builder
Installing from APT
The ftp site is also set up as an apt repository. You can install and update your mindi/mondo packages using apt. First create a file in your apt repo directory (most probably /etc/apt/sources.list.d) like the following (you may download it from our ftp server in each debian|ubuntu/version directory). Note that this sample is for debian. You will need to edit a bit for other distros.
[root@tesla sources.list.d]# cat mondorescue.sources.list deb ftp://ftp.mondorescue.org//debian 8 contrib deb-src ftp://ftp.mondorescue.org//debian 8 contrib
Such a file is now automatically produced by project-builder and available on the ftp server at the same place as the packages. E.g. for Debian 8 x86_64 download it from ftp://ftp.mondorescue.org/debian/8/mondorescue.sources.list
If you want to contribute to the testing of MondoRescue, also download the corresponding repo file under the test directory and the same subtree. In the above case it's ftp://ftp.mondorescue.org/test/debian/8/mondorescue-test.sources.list
Now just use the commands:
# cd /etc/apt/sources.list.d # wget ftp://ftp.mondorescue.org/debian/8/mondorescue.sources.list # wget ftp://ftp.mondorescue.org/debian/8/mondorescue.pubkey # apt-key add mondorescue.pubkey # rm -f mondorescue.pubkey # apt-get update # apt-get install mondo
apt will discover that mindi is a dependency for mondo and add it to your list.
Here is a sequence of a successful installation of the stable version of mondo in a Debian 8 container
$ docker run -ti --rm debian:8 root@907ee4f96ec1:/# cd /etc/apt/sources.list.d root@907ee4f96ec1:/etc/apt/sources.list.d# apt-get update Ign http://deb.debian.org jessie InRelease Get:1 http://deb.debian.org jessie-updates InRelease [16.3 kB] Get:2 http://deb.debian.org jessie Release.gpg [1652 B] Get:3 http://security.debian.org jessie/updates InRelease [44.9 kB] Get:4 http://deb.debian.org jessie-updates/main amd64 Packages [20 B] Get:5 http://deb.debian.org jessie Release [77.3 kB] Get:6 http://security.debian.org jessie/updates/main amd64 Packages [903 kB] Get:7 http://deb.debian.org jessie/main amd64 Packages [9098 kB] Fetched 10.1 MB in 5s (1806 kB/s) Reading package lists... Done root@907ee4f96ec1:/etc/apt/sources.list.d# apt-get install -y wget Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed:
ca-certificates libicu52 libidn11 libpsl0 libssl1.0.0 openssl
The following NEW packages will be installed:
ca-certificates libicu52 libidn11 libpsl0 libssl1.0.0 openssl wget
0 upgraded, 7 newly installed, 0 to remove and 13 not upgraded. Need to get 9381 kB of archives. After this operation, 35.7 MB of additional disk space will be used. Get:1 http://security.debian.org/debian-security/ jessie/updates/main libssl1.0.0 amd64 1.0.1t-1+deb8u12 [1049 kB] Get:2 http://deb.debian.org/debian/ jessie/main libicu52 amd64 52.1-8+deb8u7 [6807 kB] Get:3 http://security.debian.org/debian-security/ jessie/updates/main libidn11 amd64 1.29-1+deb8u3 [137 kB] Get:4 http://security.debian.org/debian-security/ jessie/updates/main wget amd64 1.16-1+deb8u6 [496 kB] Get:5 http://deb.debian.org/debian/ jessie/main libpsl0 amd64 0.5.1-1 [41.6 kB] Get:6 http://security.debian.org/debian-security/ jessie/updates/main openssl amd64 1.0.1t-1+deb8u12 [666 kB] Get:7 http://security.debian.org/debian-security/ jessie/updates/main ca-certificates all 20141019+deb8u4 [185 kB] Fetched 9381 kB in 3s (2750 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libssl1.0.0:amd64. (Reading database ... 7627 files and directories currently installed.) Preparing to unpack .../libssl1.0.0_1.0.1t-1+deb8u12_amd64.deb ... Unpacking libssl1.0.0:amd64 (1.0.1t-1+deb8u12) ... Selecting previously unselected package libidn11:amd64. Preparing to unpack .../libidn11_1.29-1+deb8u3_amd64.deb ... Unpacking libidn11:amd64 (1.29-1+deb8u3) ... Selecting previously unselected package libicu52:amd64. Preparing to unpack .../libicu52_52.1-8+deb8u7_amd64.deb ... Unpacking libicu52:amd64 (52.1-8+deb8u7) ... Selecting previously unselected package libpsl0:amd64. Preparing to unpack .../libpsl0_0.5.1-1_amd64.deb ... Unpacking libpsl0:amd64 (0.5.1-1) ... Selecting previously unselected package wget. Preparing to unpack .../wget_1.16-1+deb8u6_amd64.deb ... Unpacking wget (1.16-1+deb8u6) ... Selecting previously unselected package openssl. Preparing to unpack .../openssl_1.0.1t-1+deb8u12_amd64.deb ... Unpacking openssl (1.0.1t-1+deb8u12) ... Selecting previously unselected package ca-certificates. Preparing to unpack .../ca-certificates_20141019+deb8u4_all.deb ... Unpacking ca-certificates (20141019+deb8u4) ... Setting up libssl1.0.0:amd64 (1.0.1t-1+deb8u12) ... debconf: unable to initialize frontend: Dialog debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Readline debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/x86_64-linux-gnu/perl5/5.20 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl .) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.) debconf: falling back to frontend: Teletype Setting up libidn11:amd64 (1.29-1+deb8u3) ... Setting up libicu52:amd64 (52.1-8+deb8u7) ... Setting up libpsl0:amd64 (0.5.1-1) ... Setting up wget (1.16-1+deb8u6) ... Setting up openssl (1.0.1t-1+deb8u12) ... Setting up ca-certificates (20141019+deb8u4) ... debconf: unable to initialize frontend: Dialog debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Readline debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/x86_64-linux-gnu/perl5/5.20 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl .) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.) debconf: falling back to frontend: Teletype Updating certificates in /etc/ssl/certs... 152 added, 0 removed; done. Processing triggers for libc-bin (2.19-18+deb8u10) ... Processing triggers for ca-certificates (20141019+deb8u4) ... Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done. Running hooks in /etc/ca-certificates/update.d....done. root@907ee4f96ec1:/etc/apt/sources.list.d# wget ftp://ftp.mondorescue.org/debian/8/mondorescue.sources.list converted 'ftp://ftp.mondorescue.org/debian/8/mondorescue.sources.list' (ANSI_X3.4-1968) -> 'ftp://ftp.mondorescue.org/debian/8/mondorescue.sources.list' (UTF-8) --2019-11-11 00:12:35-- ftp://ftp.mondorescue.org/debian/8/mondorescue.sources.list
=> 'mondorescue.sources.list'
Resolving ftp.mondorescue.org (ftp.mondorescue.org)... 185.170.48.239 Connecting to ftp.mondorescue.org (ftp.mondorescue.org)|185.170.48.239|:21... connected. Logging in as anonymous ... Logged in! ==> SYST ... done. ==> PWD ... done. ==> TYPE I ... done. ==> CWD (1) /debian/8 ... done. ==> SIZE mondorescue.sources.list ... 100 ==> PASV ... done. ==> RETR mondorescue.sources.list ... done. Length: 100 (unauthoritative)
mondorescue.sources.list 100%[=============================================================================================================>] 100 --.-KB/s in 0s
2019-11-11 00:12:36 (17.7 MB/s) - 'mondorescue.sources.list' saved [100] root@907ee4f96ec1:/etc/apt/sources.list.d# wget ftp://ftp.mondorescue.org/debian/8/mondorescue.pubkey converted 'ftp://ftp.mondorescue.org/debian/8/mondorescue.pubkey' (ANSI_X3.4-1968) -> 'ftp://ftp.mondorescue.org/debian/8/mondorescue.pubkey' (UTF-8) --2019-11-11 00:13:43-- ftp://ftp.mondorescue.org/debian/8/mondorescue.pubkey
=> 'mondorescue.pubkey'
Resolving ftp.mondorescue.org (ftp.mondorescue.org)... 185.170.48.239 Connecting to ftp.mondorescue.org (ftp.mondorescue.org)|185.170.48.239|:21... connected. Logging in as anonymous ... Logged in! ==> SYST ... done. ==> PWD ... done. ==> TYPE I ... done. ==> CWD (1) /debian/8 ... done. ==> SIZE mondorescue.pubkey ... 30123 ==> PASV ... done. ==> RETR mondorescue.pubkey ... done. Length: 30123 (29K) (unauthoritative)
mondorescue.pubkey 100%[=============================================================================================================>] 29.42K --.-KB/s in 0.07s
2019-11-11 00:13:43 (449 KB/s) - 'mondorescue.pubkey' saved [30123] root@907ee4f96ec1:/etc/apt/sources.list.d# apt-key add mondorescue.pubkey OK root@907ee4f96ec1:/etc/apt/sources.list.d# rm mondorescue.pubkey root@907ee4f96ec1:/etc/apt/sources.list.d# apt-get update Get:1 ftp://ftp.mondorescue.org 8 InRelease Ign ftp://ftp.mondorescue.org 8 InRelease Hit http://security.debian.org jessie/updates InRelease Ign http://deb.debian.org jessie InRelease Hit http://deb.debian.org jessie-updates InRelease Get:2 ftp://ftp.mondorescue.org 8 Release.gpg [931 B] Hit http://deb.debian.org jessie Release.gpg Hit http://deb.debian.org jessie Release Get:3 ftp://ftp.mondorescue.org 8 Release [7749 B] Get:4 http://security.debian.org jessie/updates/main amd64 Packages [903 kB] Ign ftp://ftp.mondorescue.org 8 Release Get:5 ftp://ftp.mondorescue.org 8/contrib Sources [17.0 kB] Get:6 http://deb.debian.org jessie-updates/main amd64 Packages [20 B] Get:7 http://deb.debian.org jessie/main amd64 Packages [9098 kB] Get:8 ftp://ftp.mondorescue.org 8/contrib amd64 Packages [8504 B] Fetched 10.0 MB in 5s (1841 kB/s) Reading package lists... Done root@907ee4f96ec1:/etc/apt/sources.list.d# apt-get install -y mondo