GDB package install onto FreeBSD 14.0 for Raspberry Pi 4B

 GDB package install onto FreeBSD 14.0 for Raspberry Pi 4B

 

 fred@Fred_RasPi4B:~ $ gdb
-sh: gdb: not found
fred@Fred_RasPi4B:~ $ whereis gdb
gdb: /usr/ports/devel/gdb
fred@Fred_RasPi4B:~ $ pkg install gdb
pkg: Insufficient privileges to install packages
fred@Fred_RasPi4B:~ $ sudo pkg install gdb
Password:
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 2 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
        gdb: 12.1_2
        source-highlight: 3.1.9_3

Number of packages to be installed: 2

The process will require 64 MiB more space.
13 MiB to be downloaded.

Proceed with this action? [y/N]: y
[1/2] Fetching gdb-12.1_2.pkg: 100%   12 MiB   4.1MB/s    00:03    
[2/2] Fetching source-highlight-3.1.9_3.pkg:  92%    1 MiB   1.1MB/s    00:00 ET[2/2] Fetching source-highlight-3.1.9_3.pkg: 100%    1 MiB   1.2MB/s    00:01    
Checking integrity... done (0 conflicting)
[1/2] Installing source-highlight-3.1.9_3...
[1/2] Extracting source-highlight-3.1.9_3: 100%
[2/2] Installing gdb-12.1_2...
[2/2] Extracting gdb-12.1_2: 100%
 
$  gdb --version
GNU gdb (GDB) 12.1 [GDB v12.1 for FreeBSD]
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
fred@Fred_RasPi4B:~ $


Comments

Popular posts from this blog

FreeBSD 14.0 Compiling kernel for Raspberry Pi 4B

HDMI Audio sound patches into GhostBSD source code /usr/ghost14/ghostbsd-src SOLVED Jan20 2024

How to install GhostBSD-Arm64 into a USB Flash Drive stick April 24, 2024 update edition.