# Notes on source-debugging Cumulus packages

**URL:** <https://forum.mergetb.net/t/notes-on-source-debugging-cumulus-packages/101>\
**Category:** Uncategorized\
**Created:** [June 5, 2021, 4:17pm UTC](https://forum.mergetb.net/t/notes-on-source-debugging-cumulus-packages/101 "2021-06-05T16:17:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ry](https://forum.mergetb.net/user_avatar/forum.mergetb.net/ry/32/64_2.png) [@ry](https://forum.mergetb.net/u/ry)\
**Post date:** [June 5, 2021, 4:17pm UTC](https://forum.mergetb.net/t/notes-on-source-debugging-cumulus-packages/101/1 "2021-06-05T16:17:29Z")

</div>

The Cumulus versions of some packages are not upstream, so to get at the source, getting the source version of the corresponding Debian package is necessary. For example, this is the case with [FRR](https://frrouting.org).

## Procedure to get source code

1. Update package index

```auto
apt update

```

1. Get necessary tools

```auto
apt install dpkg-dev

```

1. Get desired package source

```auto
apt-get source frr

```

This will dump the source in your current working directory

```auto
root@infra:mgmt:~# ls
frr-7.5+cl4.3.0u1 frr_7.5+cl4.3.0u1.dsc frr_7.5+cl4.3.0u1.tar.gz

```

Which we can verify corresponds to to the FRR version we are running on the switch

```auto
root@infra:mgmt:~# vtysh

Hello, this is FRRouting (version 7.5+cl4.3.0u1).
Copyright 1996-2005 Kunihiro Ishiguro, et al.

```
