Skip to content

Commit fb334ad

Browse files
committed
README.md: update with descructions for local repo + use of tdnf
1 parent ebc5f8c commit fb334ad

File tree

1 file changed

+18
-26
lines changed

1 file changed

+18
-26
lines changed

README.md

Lines changed: 18 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -45,22 +45,21 @@ rm -rf /usr/sgug/*
4545

4646
(4) Download the artifacts for the latest version from the github releases tab (assuming they aren't too big).
4747

48-
You'll find three main archives - and there might be "update" archives too that need to be extracted:
48+
You'll find three main archives:
4949

5050
```
5151
sgug-rse-selfhoster-0.0.7beta.tar.gz
52+
sgug-rse-localrepo-0.0.7beta.tar.gz
5253
sgug-rse-srpms-0.0.7beta.tar.gz
53-
sgug-rse-rpms-0.0.7beta.tar.gz
54-
55-
sgug-rse-rpms-0.0.7betaupdateNUM.tar.gz
5654
```
5755

58-
(5) Extract the selfhoster archive under /usr as root (important, sgug-rse _installation_ files are root owned and managed):
56+
(5) Extract the selfhoster and local repo archives under /usr as root (important, sgug-rse _installation_ files are root owned and managed):
5957

6058
```
6159
su - (enter root password)
6260
cd /usr
6361
gunzip -dc /path/to/sgug-rse-selfhoster-0.0.7beta.tar.gz |tar xf -
62+
gunzip -dc /path/to/sgug-rse-localrepo-0.0.7beta.tar.gz |tar xf -
6463
(log out of root)
6564
```
6665

@@ -73,47 +72,40 @@ mkdir -p ~/rpmbuild/SRPMS
7372
mkdir -p ~/rpmbuild/RPMS
7473
```
7574

76-
(7) As your user extract the SRPMs and RPMs in an appropriate place.
75+
(7) As your user extract the SRPMs in an appropriate place (if you wish for source)
7776

7877
```
7978
cd ~/rpmbuild
8079
gunzip -dc /path/to/sgug-rse-srpms-0.0.7beta.tar.gz | tar xf -
81-
gunzip -dc /path/to/sgug-rse-rpms-0.0.7beta.tar.gz | tar xf -
82-
# Optional
83-
mkdir ~/rpmupdates
84-
cd ~/rpmupdates
85-
gunzip -dc /path/to/sgug-rse-rpms-0.0.7betaupdateNUM.tar.gz | tar xf -
8680
```
8781

88-
(8) You'll need to clone this repo (sgug-rse) -
82+
(8) Now you can install packages - you have two options (8a) or (8b)
83+
84+
(8a) Install everything (Just under 3GB total in 0.0.7beta)
8985

9086
```
91-
cd ~
92-
/usr/sgug/bin/git clone https://github.com/sgidevnet/sgug-rse.git sgug-rse.git
87+
/usr/sgug/bin/sgugshell
88+
cd /usr/sguglocalrepo/RPMS
89+
sudo rpm --reinstall -ivh noarch/*.rpm mips/*.rpm
9390
```
94-
Adjust that path as appropriate for where you wish the repo to live.
9591

96-
(Of course you can fork the repo and clone from your own copy!)
92+
or
9793

98-
(9) Now you can install all packages (you can pick and choose if that's your thing):
94+
(8b) Install chosen packages (and their dependencies)
9995

10096
```
10197
/usr/sgug/bin/sgugshell
102-
cd ~/rpmbuild/RPMS
103-
sudo rpm --reinstall -ivh noarch/*.rpm mips/*.rpm
98+
sudo tdnf install git
10499
```
105100

106-
and for any upgrades/updates:
107-
108-
* CARE: You must use the "upgrade" flag for any upgraded packages to avoid double-installs
101+
You can search for packages with
109102

110103
```
111104
/usr/sgug/bin/sgugshell
112-
cd ~/rpmupdates/RPMS
113-
sudo rpm -Uvh noarch/*.rpm mips/*.rpm
105+
sudo tdnf search boost
114106
```
115107

116-
(10) Now you can rebuild one of the out-of-the-box packages with:
108+
(9) If you installed the source, you can rebuild one of the out-of-the-box packages with:
117109

118110
```
119111
/usr/sgug/bin/sgugshell
@@ -123,7 +115,7 @@ cp -r ~/sgug-rse.git/packages/m4/* ~/rpmbuild/
123115
rpmbuild -ba m4.spec --nocheck
124116
```
125117

126-
(11) Installing RPMs must be done as root (add `--reinstall` to refresh an already installed package):
118+
(10) After building, install of fresh RPMs must be done as root (add `--reinstall` to refresh an already installed package):
127119

128120
```
129121
/usr/sgug/bin/sgugshell

0 commit comments

Comments
 (0)