How to Install and Uninstall gdb Package on Ubuntu 18.04 LTS (Bionic Beaver)
Last updated: November 07,2024
1. Install "gdb" package
This is a short guide on how to install gdb on Ubuntu 18.04 LTS (Bionic Beaver)
$
sudo apt update
Copied
$
sudo apt install
gdb
Copied
2. Uninstall "gdb" package
This guide covers the steps necessary to uninstall gdb on Ubuntu 18.04 LTS (Bionic Beaver):
$
sudo apt remove
gdb
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the gdb package on Ubuntu 18.04 LTS (Bionic Beaver)
Package: gdb
Architecture: amd64
Version: 8.1.1-0ubuntu1
Multi-Arch: allowed
Priority: optional
Section: devel
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Héctor Orón Martínez
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 8504
Depends: libbabeltrace1 (>= 1.2.1), libc6 (>= 2.17), libexpat1 (>= 2.0.1), liblzma5 (>= 5.1.1alpha+20110809), libmpfr6 (>= 3.1.3), libncursesw5 (>= 6), libpython3.6 (>= 3.6.5), libreadline7 (>= 6.0), libtinfo5 (>= 6), zlib1g (>= 1:1.2.0)
Recommends: libc-dbg, libcc1-0, gdbserver
Suggests: gdb-doc
Conflicts: gdb
Replaces: gdb, gdb-doc (<< 7.8-1~)
Filename: pool/main/g/gdb/gdb_8.1.1-0ubuntu1_amd64.deb
Size: 2937252
MD5sum: fc5098598586be66f78e084928220652
SHA1: 8b8d2bfe4f2a9a9de78298102af62dad9799e6f5
SHA256: 2d9bf5c46fa595005f22687811ecaebd3364c0f314114200ece59871e98aca5d
SHA512: 8005340c8bffdc58dfa840086df2a51f0d53a2d0eaf0dffa115f15def4bfc765851b9462598743959ed967c940df9829423841d2d7273df7f72043d3f4b488ed
Homepage: http://www.gnu.org/s/gdb/
Description: GNU Debugger
Description-md5: 4f2b8eb95df2ba7a5b11e0301c48b8e4
Task: ubuntu-desktop, kubuntu-desktop, kubuntu-full, xubuntu-desktop, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop
Supported: 5y
Package: gdb
Architecture: amd64
Version: 8.1-0ubuntu3
Multi-Arch: allowed
Priority: optional
Section: devel
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Héctor Orón Martínez
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 8487
Depends: libbabeltrace1 (>= 1.2.1), libc6 (>= 2.17), libexpat1 (>= 2.0.1), liblzma5 (>= 5.1.1alpha+20110809), libmpfr6 (>= 3.1.3), libncursesw5 (>= 6), libpython3.6 (>= 3.6.4~rc1), libreadline7 (>= 6.0), libtinfo5 (>= 6), zlib1g (>= 1:1.2.0)
Recommends: libc-dbg, libcc1-0, gdbserver
Suggests: gdb-doc
Conflicts: gdb
Replaces: gdb, gdb-doc (<< 7.8-1~)
Filename: pool/main/g/gdb/gdb_8.1-0ubuntu3_amd64.deb
Size: 2937476
MD5sum: 99f595f6f306d309b01ea5b57ef0e223
SHA1: 2333e7508e2c118c811686e0e10824e31e737024
SHA256: 23abb51a5a2045777e0762c0dd5312daffb8495901967f2c8cbf062586e532b0
Homepage: http://www.gnu.org/s/gdb/
Description: GNU Debugger
Description-md5: 4f2b8eb95df2ba7a5b11e0301c48b8e4
Task: ubuntu-desktop, kubuntu-desktop, kubuntu-full, xubuntu-desktop, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop
Supported: 5y
Architecture: amd64
Version: 8.1.1-0ubuntu1
Multi-Arch: allowed
Priority: optional
Section: devel
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Héctor Orón Martínez
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 8504
Depends: libbabeltrace1 (>= 1.2.1), libc6 (>= 2.17), libexpat1 (>= 2.0.1), liblzma5 (>= 5.1.1alpha+20110809), libmpfr6 (>= 3.1.3), libncursesw5 (>= 6), libpython3.6 (>= 3.6.5), libreadline7 (>= 6.0), libtinfo5 (>= 6), zlib1g (>= 1:1.2.0)
Recommends: libc-dbg, libcc1-0, gdbserver
Suggests: gdb-doc
Conflicts: gdb
Replaces: gdb, gdb-doc (<< 7.8-1~)
Filename: pool/main/g/gdb/gdb_8.1.1-0ubuntu1_amd64.deb
Size: 2937252
MD5sum: fc5098598586be66f78e084928220652
SHA1: 8b8d2bfe4f2a9a9de78298102af62dad9799e6f5
SHA256: 2d9bf5c46fa595005f22687811ecaebd3364c0f314114200ece59871e98aca5d
SHA512: 8005340c8bffdc58dfa840086df2a51f0d53a2d0eaf0dffa115f15def4bfc765851b9462598743959ed967c940df9829423841d2d7273df7f72043d3f4b488ed
Homepage: http://www.gnu.org/s/gdb/
Description: GNU Debugger
Description-md5: 4f2b8eb95df2ba7a5b11e0301c48b8e4
Task: ubuntu-desktop, kubuntu-desktop, kubuntu-full, xubuntu-desktop, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop
Supported: 5y
Package: gdb
Architecture: amd64
Version: 8.1-0ubuntu3
Multi-Arch: allowed
Priority: optional
Section: devel
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Héctor Orón Martínez
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 8487
Depends: libbabeltrace1 (>= 1.2.1), libc6 (>= 2.17), libexpat1 (>= 2.0.1), liblzma5 (>= 5.1.1alpha+20110809), libmpfr6 (>= 3.1.3), libncursesw5 (>= 6), libpython3.6 (>= 3.6.4~rc1), libreadline7 (>= 6.0), libtinfo5 (>= 6), zlib1g (>= 1:1.2.0)
Recommends: libc-dbg, libcc1-0, gdbserver
Suggests: gdb-doc
Conflicts: gdb
Replaces: gdb, gdb-doc (<< 7.8-1~)
Filename: pool/main/g/gdb/gdb_8.1-0ubuntu3_amd64.deb
Size: 2937476
MD5sum: 99f595f6f306d309b01ea5b57ef0e223
SHA1: 2333e7508e2c118c811686e0e10824e31e737024
SHA256: 23abb51a5a2045777e0762c0dd5312daffb8495901967f2c8cbf062586e532b0
Homepage: http://www.gnu.org/s/gdb/
Description: GNU Debugger
Description-md5: 4f2b8eb95df2ba7a5b11e0301c48b8e4
Task: ubuntu-desktop, kubuntu-desktop, kubuntu-full, xubuntu-desktop, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop
Supported: 5y