Skip to content

Commit 360c8be

Browse files
authored
Merge pull request #47 from sgidevnet/release0.0.5beta
Release0.0.5beta
2 parents 069107f + 7be65ad commit 360c8be

File tree

1 file changed

+18
-8
lines changed

1 file changed

+18
-8
lines changed

README.md

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,17 @@ NOTE: While we are not yet out of beta, it is recommended to remove any previous
1818

1919
(0) Add your user account to the irix `sys` group - this will allow you to use the sgug `sudo` out of the box with your user password - then you can follow the steps below without additional hoop jumping.
2020

21-
(1) Download the artifacts for the latest version from the github releases tab (assuming they aren't too big).
21+
(1) Optional - remove any previous sgug-rse installation:
22+
23+
```
24+
# As your user
25+
rm -rf ~/rpmbuild/SRPMS/*
26+
rm -rf ~/rpmbuild/RPMS/*
27+
# As root
28+
rm -rf /usr/sgug/*
29+
```
30+
31+
(2) Download the artifacts for the latest version from the github releases tab (assuming they aren't too big).
2232

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

@@ -30,7 +40,7 @@ sgug-rse-rpms-0.0.5beta.tar.gz
3040
sgug-rse-rpms-0.0.5betaupdateNUM.tar.gz
3141
```
3242

33-
(2) Extract the selfhoster archive under /usr as root (important, sgug-rse _installation_ files are root owned and managed):
43+
(3) Extract the selfhoster archive under /usr as root (important, sgug-rse _installation_ files are root owned and managed):
3444

3545
```
3646
su - (enter root password)
@@ -39,7 +49,7 @@ gunzip -dc /path/to/sgug-rse-selfhoster-0.0.5beta.tar.gz |tar xf -
3949
(log out of root)
4050
```
4151

42-
(3) You'll need to setup some new directories for your user:
52+
(4) You'll need to setup some new directories for your user:
4353

4454
```
4555
mkdir -p ~/rpmbuild/SPECS
@@ -48,7 +58,7 @@ mkdir -p ~/rpmbuild/SRPMS
4858
mkdir -p ~/rpmbuild/RPMS
4959
```
5060

51-
(4) As your user extract the SRPMs and RPMs in an appropriate place.
61+
(5) As your user extract the SRPMs and RPMs in an appropriate place.
5262

5363
```
5464
cd ~/rpmbuild
@@ -60,7 +70,7 @@ cd ~/rpmupdates
6070
gunzip -dc /path/to/sgug-rse-rpms-0.0.5betaupdateNUM.tar.gz | tar xf -
6171
```
6272

63-
(5) You'll need to clone this repo (sgug-rse) -
73+
(6) You'll need to clone this repo (sgug-rse) -
6474

6575
```
6676
cd ~
@@ -70,7 +80,7 @@ Adjust that path as appropriate for where you wish the repo to live.
7080

7181
(Of course you can fork the repo and clone from your own copy!)
7282

73-
(6) Now you can install all packages (you can pick and choose if that's your thing):
83+
(7) Now you can install all packages (you can pick and choose if that's your thing):
7484

7585
```
7686
cd ~/sgug-rse.git
@@ -90,7 +100,7 @@ cd ~/rpmupdates/RPMS
90100
sudo rpm -Uvh noarch/*.rpm mips/*.rpm
91101
```
92102

93-
(7) Now you can rebuild one of the out-of-the-box packages with:
103+
(8) Now you can rebuild one of the out-of-the-box packages with:
94104

95105
```
96106
cd ~/sgug-rse.git
@@ -101,7 +111,7 @@ cp -r ~/sgug-rse.git/packages/m4/* ~/rpmbuild/
101111
rpmbuild -ba m4.spec --nocheck
102112
```
103113

104-
(8) Installing RPMs must be done as root (add `--reinstall` to refresh an already installed package):
114+
(9) Installing RPMs must be done as root (add `--reinstall` to refresh an already installed package):
105115

106116
```
107117
cd ~user/sgug-rse.git

0 commit comments

Comments
 (0)