Welcome to the IPFire Wiki

This wiki is a community-maintained resource about everything there is to know about IPFire.

Please join in and help us improving it!

Differences in Revisions: How to change into the testing branch

»
Newer Revision
October 8 at 1:05 pm
fix code blocks
# How to change into the testing branch
 
To test any addon that isn't in the stable branch of IPFire you have to make a tiny modification of your pakfire.conf. You need access IPFire via console or SSH. Please change to following:
 
Change in file `/opt/pakfire/etc/pakfire.conf` :
 
 
## 32bit Version of IPFire
```text
 
<file>
$version = "2.23";
</file>
```
 
to
 
<file>
```text
$version = "2.23.1";
</file>
\\
```
 
 
## 64bit Version of IPFire
```text
 
<file>
$version = "2.23-x86_64";
</file>
```
 
to
 
<file>
```text
$version = "2.23.1-x86_64";
</file>
```
 
\\
After that execute:
 
```text
`pakfire update --force`
pakfire update --force
```
 
After executing the above command you'll see this:
 
![](pakfire_update_force.png)
 
Go to the IPFire menu **System** > **Home** and you'll see this [Notification](/configuration/system/startpage#notifications):
 
![](/configuration/system/home_notice.png)
 
Click to the **Notice** and go to the Pakfire page (menu **IPFire** > **Pakfire**) and complete the upgrade.
 
You are now inside the testing branch.
 
\\ The testing branches may **not** be stable.
The testing branches may **not** be stable.
 
# How to change from Stable to the Release Candidate (RC)
## How to change from Stable to the Release Candidate (RC)
 
To test a RC that is not the stable branch of IPfire you have to make a tiny modification of your pakfire.conf. You need access IPFire via console or SSH. Please change to following:
 
Change in file /opt/pakfire/etc/pakfire.conf :
 
32bit Version of IPFire
###32bit Version of IPFire
```text
 
<file>
$version = "2.23";
</file>
```
 
to
 
<file>
```text
$version = "2.23.1";
</file>
```
 
64bit Version of IPFire
###64bit Version of IPFire
```text
 
<file>
$version = "2.23-x86_64";
</file>
```
 
to
 
<file>
```text
$version = "2.23.1-x86_64";
</file>
```
 
After that execute:
 
```text
`pakfire update --force`
pakfire update --force
```
 
Then to upgrade execute:
 
```text
`pakfire upgrade --force`
pakfire upgrade --force
```
 
You are now using the RC version of IPfire. **These Release Candidates may not be stable and are only for testing purposes.** Please install this RC only if you know what you are doing...
 
 
# Change back to the stable branch
## Change back to the stable branch
 
If you want to return to the stable branch, the following files must be processed:
 
* **Leave Testing Tree**
 
<code bash>
```text
vi /opt/pakfire/etc/pakfire.conf
</code>
```
 
Change the Version
 
32bit Version of IPFire
### 32bit Version of IPFire
 
<code bash>
```text
`...`
...
`$version = "2.23.1";`
$version = "2.23.1";
`...`
...
</code>
```
 
to
 
<code bash>
```text
`...`
...
`$version = "2.23";`
$version = "2.23";
`...`
...
</code>
```
 
64bit Version of IPFire
### 64bit Version of IPFire
 
<code bash>
```text
`...`
...
`$version = "2.23.1-x86_64";`
$version = "2.23.1-x86_64";
`...`
...
</code>
```
 
to
 
<code bash>
```text
`...`
...
`$version = "2.23-x86_64";`
$version = "2.23-x86_64";
`...`
...
</code>
```
 
* **Mine-File edit**
 
<code bash>
```text
vi /opt/pakfire/db/core/mine
</code>
```
 
Change to core update number of stable version.