| 1 | == Installing from YUM == |
| 2 | |
| 3 | 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. |
| 4 | |
| 5 | [root@tesla yum.repos.d]# cat pb.repo |
| 6 | |
| 7 | [mondorpms] |
| 8 | name=Fedora Core $releasever - pb |
| 9 | baseurl=ftp://ftp.project-builder.org/fedora/$releasever/x86_64 |
| 10 | enabled=1 |
| 11 | gpgcheck=1 |
| 12 | gpgkey=ftp://ftp.project-builder.org/fedora/$releasever/x86_64/pb.pubkey |
| 13 | |
| 14 | 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 |
| 15 | |
| 16 | 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 |
| 17 | |
| 18 | Now just use the command: |
| 19 | |
| 20 | # yum install project-builder |
| 21 | |
| 22 | Here is a sequence of a successful installation of the stable version of project-builder in a CentOS 8 container |
| 23 | |
| 24 | $ docker run -ti --rm centos:8 |
| 25 | [root@fe4902a26572 /]# yum install -y wget |
| 26 | Failed to set locale, defaulting to C.UTF-8 |
| 27 | CentOS-8 - AppStream 6.7 MB/s | 5.8 MB 00:00 |
| 28 | CentOS-8 - Base 3.6 MB/s | 2.2 MB 00:00 |
| 29 | CentOS-8 - Extras 29 kB/s | 7.3 kB 00:00 |
| 30 | Dependencies resolved. |
| 31 | ======================================================================================================================================================================================================================================================================================== |
| 32 | Package Architecture Version Repository Size |
| 33 | ======================================================================================================================================================================================================================================================================================== |
| 34 | Installing: |
| 35 | wget x86_64 1.19.5-8.el8_1.1 AppStream 735 k |
| 36 | Installing dependencies: |
| 37 | libpsl x86_64 0.20.2-5.el8 BaseOS 61 k |
| 38 | publicsuffix-list-dafsa noarch 20180723-1.el8 BaseOS 56 k |
| 39 | |
| 40 | Transaction Summary |
| 41 | ======================================================================================================================================================================================================================================================================================== |
| 42 | Install 3 Packages |
| 43 | |
| 44 | Total download size: 852 k |
| 45 | Installed size: 3.0 M |
| 46 | Downloading Packages: |
| 47 | (1/3): publicsuffix-list-dafsa-20180723-1.el8.noarch.rpm 1.2 MB/s | 56 kB 00:00 |
| 48 | (2/3): libpsl-0.20.2-5.el8.x86_64.rpm 1.2 MB/s | 61 kB 00:00 |
| 49 | (3/3): wget-1.19.5-8.el8_1.1.x86_64.rpm 5.9 MB/s | 735 kB 00:00 |
| 50 | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 51 | Total 4.2 MB/s | 852 kB 00:00 |
| 52 | 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 |
| 53 | CentOS-8 - AppStream 1.6 MB/s | 1.6 kB 00:00 |
| 54 | Importing GPG key 0x8483C65D: |
| 55 | Userid : "CentOS (CentOS Official Signing Key) <security@centos.org>" |
| 56 | Fingerprint: 99DB 70FA E1D7 CE22 7FB6 4882 05B5 55B3 8483 C65D |
| 57 | From : /etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial |
| 58 | Key imported successfully |
| 59 | Running transaction check |
| 60 | Transaction check succeeded. |
| 61 | Running transaction test |
| 62 | Transaction test succeeded. |
| 63 | Running transaction |
| 64 | Preparing : 1/1 |
| 65 | Installing : publicsuffix-list-dafsa-20180723-1.el8.noarch 1/3 |
| 66 | Installing : libpsl-0.20.2-5.el8.x86_64 2/3 |
| 67 | Installing : wget-1.19.5-8.el8_1.1.x86_64 3/3 |
| 68 | Running scriptlet: wget-1.19.5-8.el8_1.1.x86_64 3/3 |
| 69 | Verifying : wget-1.19.5-8.el8_1.1.x86_64 1/3 |
| 70 | Verifying : libpsl-0.20.2-5.el8.x86_64 2/3 |
| 71 | Verifying : publicsuffix-list-dafsa-20180723-1.el8.noarch 3/3 |
| 72 | |
| 73 | Installed: |
| 74 | 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 |
| 75 | |
| 76 | Complete! |
| 77 | |
| 78 | [root@fe4902a26572 /]# wget ftp://ftp.project-builder.org/centos/8/x86_64/pb.repo |
| 79 | --2020-08-19 15:29:17-- ftp://ftp.project-builder.org/centos/8/x86_64/pb.repo |
| 80 | => 'pb.repo' |
| 81 | Resolving ftp.project-builder.org (ftp.project-builder.org)... 185.170.48.239 |
| 82 | Connecting to ftp.project-builder.org (ftp.project-builder.org)|185.170.48.239|:21... connected. |
| 83 | Logging in as anonymous ... Logged in! |
| 84 | ==> SYST ... done. ==> PWD ... done. |
| 85 | ==> TYPE I ... done. ==> CWD (1) /centos/8/x86_64 ... done. |
| 86 | ==> SIZE pb.repo ... 188 |
| 87 | ==> PASV ... done. ==> RETR pb.repo ... done. |
| 88 | Length: 188 (unauthoritative) |
| 89 | |
| 90 | pb.repo 100%[=========================================================================================================================================================================>] 188 --.-KB/s in 0s |
| 91 | |
| 92 | 2020-08-19 15:29:17 (30.7 MB/s) - 'pb.repo' saved [188] |
| 93 | |
| 94 | [root@fe4902a26572 /]# mv pb.repo /etc/yum.repos.d/ |
| 95 | /etc/yum.repos.d/CentOS-PowerTools.repo |
| 96 | [root@fe4902a26572 /]# yum install -y project-builder |
| 97 | |
| 98 | |
| 99 | |
| 100 | |
| 101 | Installing from APT |
| 102 | |
| 103 | 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. |
| 104 | |
| 105 | [root@tesla sources.list.d]# cat mondorescue.sources.list |
| 106 | deb ftp://ftp.mondorescue.org//debian 8 contrib |
| 107 | deb-src ftp://ftp.mondorescue.org//debian 8 contrib |
| 108 | |
| 109 | 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 |
| 110 | |
| 111 | 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 |
| 112 | |
| 113 | Now just use the commands: |
| 114 | |
| 115 | # cd /etc/apt/sources.list.d |
| 116 | # wget ftp://ftp.mondorescue.org/debian/8/mondorescue.sources.list |
| 117 | # wget ftp://ftp.mondorescue.org/debian/8/mondorescue.pubkey |
| 118 | # apt-key add mondorescue.pubkey |
| 119 | # rm -f mondorescue.pubkey |
| 120 | # apt-get update |
| 121 | # apt-get install mondo |
| 122 | |
| 123 | apt will discover that mindi is a dependency for mondo and add it to your list. |
| 124 | |
| 125 | Here is a sequence of a successful installation of the stable version of mondo in a Debian 8 container |
| 126 | |
| 127 | $ docker run -ti --rm debian:8 |
| 128 | root@907ee4f96ec1:/# cd /etc/apt/sources.list.d |
| 129 | root@907ee4f96ec1:/etc/apt/sources.list.d# apt-get update |
| 130 | Ign http://deb.debian.org jessie InRelease |
| 131 | Get:1 http://deb.debian.org jessie-updates InRelease [16.3 kB] |
| 132 | Get:2 http://deb.debian.org jessie Release.gpg [1652 B] |
| 133 | Get:3 http://security.debian.org jessie/updates InRelease [44.9 kB] |
| 134 | Get:4 http://deb.debian.org jessie-updates/main amd64 Packages [20 B] |
| 135 | Get:5 http://deb.debian.org jessie Release [77.3 kB] |
| 136 | Get:6 http://security.debian.org jessie/updates/main amd64 Packages [903 kB] |
| 137 | Get:7 http://deb.debian.org jessie/main amd64 Packages [9098 kB] |
| 138 | Fetched 10.1 MB in 5s (1806 kB/s) |
| 139 | Reading package lists... Done |
| 140 | root@907ee4f96ec1:/etc/apt/sources.list.d# apt-get install -y wget |
| 141 | Reading package lists... Done |
| 142 | Building dependency tree |
| 143 | Reading state information... Done |
| 144 | The following extra packages will be installed: |
| 145 | ca-certificates libicu52 libidn11 libpsl0 libssl1.0.0 openssl |
| 146 | The following NEW packages will be installed: |
| 147 | ca-certificates libicu52 libidn11 libpsl0 libssl1.0.0 openssl wget |
| 148 | 0 upgraded, 7 newly installed, 0 to remove and 13 not upgraded. |
| 149 | Need to get 9381 kB of archives. |
| 150 | After this operation, 35.7 MB of additional disk space will be used. |
| 151 | Get:1 http://security.debian.org/debian-security/ jessie/updates/main libssl1.0.0 amd64 1.0.1t-1+deb8u12 [1049 kB] |
| 152 | Get:2 http://deb.debian.org/debian/ jessie/main libicu52 amd64 52.1-8+deb8u7 [6807 kB] |
| 153 | Get:3 http://security.debian.org/debian-security/ jessie/updates/main libidn11 amd64 1.29-1+deb8u3 [137 kB] |
| 154 | Get:4 http://security.debian.org/debian-security/ jessie/updates/main wget amd64 1.16-1+deb8u6 [496 kB] |
| 155 | Get:5 http://deb.debian.org/debian/ jessie/main libpsl0 amd64 0.5.1-1 [41.6 kB] |
| 156 | Get:6 http://security.debian.org/debian-security/ jessie/updates/main openssl amd64 1.0.1t-1+deb8u12 [666 kB] |
| 157 | Get:7 http://security.debian.org/debian-security/ jessie/updates/main ca-certificates all 20141019+deb8u4 [185 kB] |
| 158 | Fetched 9381 kB in 3s (2750 kB/s) |
| 159 | debconf: delaying package configuration, since apt-utils is not installed |
| 160 | Selecting previously unselected package libssl1.0.0:amd64. |
| 161 | (Reading database ... 7627 files and directories currently installed.) |
| 162 | Preparing to unpack .../libssl1.0.0_1.0.1t-1+deb8u12_amd64.deb ... |
| 163 | Unpacking libssl1.0.0:amd64 (1.0.1t-1+deb8u12) ... |
| 164 | Selecting previously unselected package libidn11:amd64. |
| 165 | Preparing to unpack .../libidn11_1.29-1+deb8u3_amd64.deb ... |
| 166 | Unpacking libidn11:amd64 (1.29-1+deb8u3) ... |
| 167 | Selecting previously unselected package libicu52:amd64. |
| 168 | Preparing to unpack .../libicu52_52.1-8+deb8u7_amd64.deb ... |
| 169 | Unpacking libicu52:amd64 (52.1-8+deb8u7) ... |
| 170 | Selecting previously unselected package libpsl0:amd64. |
| 171 | Preparing to unpack .../libpsl0_0.5.1-1_amd64.deb ... |
| 172 | Unpacking libpsl0:amd64 (0.5.1-1) ... |
| 173 | Selecting previously unselected package wget. |
| 174 | Preparing to unpack .../wget_1.16-1+deb8u6_amd64.deb ... |
| 175 | Unpacking wget (1.16-1+deb8u6) ... |
| 176 | Selecting previously unselected package openssl. |
| 177 | Preparing to unpack .../openssl_1.0.1t-1+deb8u12_amd64.deb ... |
| 178 | Unpacking openssl (1.0.1t-1+deb8u12) ... |
| 179 | Selecting previously unselected package ca-certificates. |
| 180 | Preparing to unpack .../ca-certificates_20141019+deb8u4_all.deb ... |
| 181 | Unpacking ca-certificates (20141019+deb8u4) ... |
| 182 | Setting up libssl1.0.0:amd64 (1.0.1t-1+deb8u12) ... |
| 183 | debconf: unable to initialize frontend: Dialog |
| 184 | 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.) |
| 185 | debconf: falling back to frontend: Readline |
| 186 | debconf: unable to initialize frontend: Readline |
| 187 | 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.) |
| 188 | debconf: falling back to frontend: Teletype |
| 189 | Setting up libidn11:amd64 (1.29-1+deb8u3) ... |
| 190 | Setting up libicu52:amd64 (52.1-8+deb8u7) ... |
| 191 | Setting up libpsl0:amd64 (0.5.1-1) ... |
| 192 | Setting up wget (1.16-1+deb8u6) ... |
| 193 | Setting up openssl (1.0.1t-1+deb8u12) ... |
| 194 | Setting up ca-certificates (20141019+deb8u4) ... |
| 195 | debconf: unable to initialize frontend: Dialog |
| 196 | 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.) |
| 197 | debconf: falling back to frontend: Readline |
| 198 | debconf: unable to initialize frontend: Readline |
| 199 | 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.) |
| 200 | debconf: falling back to frontend: Teletype |
| 201 | Updating certificates in /etc/ssl/certs... 152 added, 0 removed; done. |
| 202 | Processing triggers for libc-bin (2.19-18+deb8u10) ... |
| 203 | Processing triggers for ca-certificates (20141019+deb8u4) ... |
| 204 | Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done. |
| 205 | Running hooks in /etc/ca-certificates/update.d....done. |
| 206 | root@907ee4f96ec1:/etc/apt/sources.list.d# wget ftp://ftp.mondorescue.org/debian/8/mondorescue.sources.list |
| 207 | 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) |
| 208 | --2019-11-11 00:12:35-- ftp://ftp.mondorescue.org/debian/8/mondorescue.sources.list |
| 209 | => 'mondorescue.sources.list' |
| 210 | Resolving ftp.mondorescue.org (ftp.mondorescue.org)... 185.170.48.239 |
| 211 | Connecting to ftp.mondorescue.org (ftp.mondorescue.org)|185.170.48.239|:21... connected. |
| 212 | Logging in as anonymous ... Logged in! |
| 213 | ==> SYST ... done. ==> PWD ... done. |
| 214 | ==> TYPE I ... done. ==> CWD (1) /debian/8 ... done. |
| 215 | ==> SIZE mondorescue.sources.list ... 100 |
| 216 | ==> PASV ... done. ==> RETR mondorescue.sources.list ... done. |
| 217 | Length: 100 (unauthoritative) |
| 218 | |
| 219 | mondorescue.sources.list 100%[=============================================================================================================>] 100 --.-KB/s in 0s |
| 220 | |
| 221 | 2019-11-11 00:12:36 (17.7 MB/s) - 'mondorescue.sources.list' saved [100] |
| 222 | root@907ee4f96ec1:/etc/apt/sources.list.d# wget ftp://ftp.mondorescue.org/debian/8/mondorescue.pubkey |
| 223 | converted 'ftp://ftp.mondorescue.org/debian/8/mondorescue.pubkey' (ANSI_X3.4-1968) -> 'ftp://ftp.mondorescue.org/debian/8/mondorescue.pubkey' (UTF-8) |
| 224 | --2019-11-11 00:13:43-- ftp://ftp.mondorescue.org/debian/8/mondorescue.pubkey |
| 225 | => 'mondorescue.pubkey' |
| 226 | Resolving ftp.mondorescue.org (ftp.mondorescue.org)... 185.170.48.239 |
| 227 | Connecting to ftp.mondorescue.org (ftp.mondorescue.org)|185.170.48.239|:21... connected. |
| 228 | Logging in as anonymous ... Logged in! |
| 229 | ==> SYST ... done. ==> PWD ... done. |
| 230 | ==> TYPE I ... done. ==> CWD (1) /debian/8 ... done. |
| 231 | ==> SIZE mondorescue.pubkey ... 30123 |
| 232 | ==> PASV ... done. ==> RETR mondorescue.pubkey ... done. |
| 233 | Length: 30123 (29K) (unauthoritative) |
| 234 | |
| 235 | mondorescue.pubkey 100%[=============================================================================================================>] 29.42K --.-KB/s in 0.07s |
| 236 | |
| 237 | 2019-11-11 00:13:43 (449 KB/s) - 'mondorescue.pubkey' saved [30123] |
| 238 | root@907ee4f96ec1:/etc/apt/sources.list.d# apt-key add mondorescue.pubkey |
| 239 | OK |
| 240 | root@907ee4f96ec1:/etc/apt/sources.list.d# rm mondorescue.pubkey |
| 241 | root@907ee4f96ec1:/etc/apt/sources.list.d# apt-get update |
| 242 | Get:1 ftp://ftp.mondorescue.org 8 InRelease |
| 243 | Ign ftp://ftp.mondorescue.org 8 InRelease |
| 244 | Hit http://security.debian.org jessie/updates InRelease |
| 245 | Ign http://deb.debian.org jessie InRelease |
| 246 | Hit http://deb.debian.org jessie-updates InRelease |
| 247 | Get:2 ftp://ftp.mondorescue.org 8 Release.gpg [931 B] |
| 248 | Hit http://deb.debian.org jessie Release.gpg |
| 249 | Hit http://deb.debian.org jessie Release |
| 250 | Get:3 ftp://ftp.mondorescue.org 8 Release [7749 B] |
| 251 | Get:4 http://security.debian.org jessie/updates/main amd64 Packages [903 kB] |
| 252 | Ign ftp://ftp.mondorescue.org 8 Release |
| 253 | Get:5 ftp://ftp.mondorescue.org 8/contrib Sources [17.0 kB] |
| 254 | Get:6 http://deb.debian.org jessie-updates/main amd64 Packages [20 B] |
| 255 | Get:7 http://deb.debian.org jessie/main amd64 Packages [9098 kB] |
| 256 | Get:8 ftp://ftp.mondorescue.org 8/contrib amd64 Packages [8504 B] |
| 257 | Fetched 10.0 MB in 5s (1841 kB/s) |
| 258 | Reading package lists... Done |
| 259 | root@907ee4f96ec1:/etc/apt/sources.list.d# apt-get install -y mondo |