Skip to content

Commit

Permalink
Merge pull request #3673 from ev-mp/current
Browse files Browse the repository at this point in the history
Debian packages update routine  - updated
  • Loading branch information
ev-mp authored Apr 4, 2019
2 parents e053cc6 + a3f07dc commit a052923
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions doc/distribution_linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,16 @@ Verify that the kernel is updated :
`modinfo uvcvideo | grep "version:"` should include `realsense` string

## Upgrading the Packages:
When upgrading, be sure to:
- Remove the old records and update your source list:
`sudo rm -f /etc/apt/sources.list.d/realsense-public.list`
`sudo apt-get update`
Refresh the local packages cache by invoking:
`sudo apt-get update`

Upgrade all the installed packages, including `librealsense` with:
`sudo apt-get upgrade`

To upgrade selected packages only a more granular approach can be applied:
`sudo apt-get --only-upgrade install <package1 package2 ...>`
E.g:
`sudo apt-get --only-upgrade install librealsense2-utils librealsense2-dkms`

## Uninstalling the Packages:
**Important** Removing Debian package is allowed only when no other installed packages directly refer to it. For example removing `librealsense2-udev-rules` requires `librealsense2` to be removed first.
Expand Down

0 comments on commit a052923

Please sign in to comment.