> For the complete documentation index, see [llms.txt](https://prosbcdocs.telcobridges.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://prosbcdocs.telcobridges.com/tmedia-documentation/server-and-os-administration/upgrade-centos-software-packages.md).

# Upgrade CentOS software packages

### Benefits

* Obtain the CentOS security updates
* Patch recent vulnerabilities
* Patch SNMP core files

### Applicable Products

* TMG800, TMG3200, TMG7800-CTRL, TSBC, FreeSBC, ProSBC
* TSG800, TSG3200
* Tdev Linux server (CentOS or RedHat) running Toolpack software

### TelcoBridges repository

The operating system (CentOS) software upgrade is performed using *yum* software package manager. The repositories sites providing RPM packages are configured from /etc/yum.repos.d/. TelcoBridges provides a modified CentOS repository copy (<http://repo.telcobridges.com>) of the official CentOS repository.

If the **unit or Linux server does not have access to Internet** (or does not have DNS configured), you should configure an offline CentOS repository on your local machine as explained in the section bellow.

#### Offline repository configuration

First, SSH to your unit do determine which version of the OS your system is using:

1. cat /etc/redhat-release **CentOS release 5**.11 (Final)

* [Configure a local offline Repository for CentOS5](https://github.com/telcobridges-main/tmedia-wiki/tree/main/tmedia/operations/offline-repository-procedure-for-centos-7/README.md)

**CentOS Linux release 7**(Core)

* [Configure a local offline Repository for CentOS7](https://github.com/telcobridges-main/tmedia-wiki/tree/main/tmedia/operations/offline-repository-procedure-for-centos-7/README.md)

### CentOS software packages update

The operator can use one of the two methods available: GUI/WebPortal or command line interface.

#### WebPortal

To upgrade CentOS software packages, follow this procedure from the web interface of the unit:

* Hosts -> Status -> TBxxxxxx -> Action -> Upgrade Linux Packages, then 'Apply Action': ![Upgrade Linux Packages](https://docs.telcobridges.com/w/images/7/7d/Upgrade_Linux_Packages.jpg)

When the upgrade is in progress, there is no status shown, and you will see the screen like this:

![Upgrade Linux Progress](https://docs.telcobridges.com/w/images/a/a0/Upgrade_Linux_Progress.jpg)

It may take a while 8-10 mins. You need to refresh the page until you see this:

![Centos Upgrade Complete](https://docs.telcobridges.com/w/images/d/d4/Centos_Upgrade_Complete.jpg)

Once complete, you need to reboot the host: Hosts -> Status -> TBxxxxxx -> Action -> Shutdown -> Reboot

#### Command line

Alternatively, you can ssh to the unit and run the following command:

1. yum clean all
2. yum update
3. yum group update

Reboot the unit

1. reboot

### Other Links

* Here is a link to the main [TelcoBridges repository](https://repo.telcobridges.com/centos/7/os/x86_64/Packages/)
* Here is a link to [upgrade the Telcobridges Linux](https://github.com/telcobridges-main/tmedia-wiki/tree/main/tmedia/operations/upgrade-telcobridges-linux-software-packages/README.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://prosbcdocs.telcobridges.com/tmedia-documentation/server-and-os-administration/upgrade-centos-software-packages.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
