Development stuff

Hiya,

OK, the obligatory output thing is down at the end - hope that’s OK.

Basically, I’m trying to replicate my setup from Ubuntu where installing meta-packages ‘build-essential’ and ’ libboost-all-dev’ (and then setting up the relevant lib and include paths) would get me most of what I need to build my little home projects.

Struggling here, as pretty much every search page tells me how to do this on Ubuntu, which is less than helpful.

If someone wouldn’t mind steering me in the right direction, I’d be grateful.

Thanks!
K

╰─λ garuda-inxi
System:
Kernel: 6.5.7-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
clocksource: tsc available: acpi_pm
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=360ddc4a-a310-4174-b63c-ffe8787a1f4c rw rootflags=subvol=@
rd.luks.uuid=1358f973-b13a-473d-843e-792ec54a2721 quiet
rd.udev.log_priority=3 vt.global_cursor_default=0 loglevel=3 ibt=off
Desktop: KDE Plasma v: 5.27.8 tk: Qt v: 5.15.11 wm: kwin_x11 vt: 2
dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Laptop System: HP product: HP EliteBook 840 G3 v: N/A
serial: <superuser required> Chassis: type: 10 serial: <superuser required>
Mobo: HP model: 8079 v: KBC Version 85.77 serial: <superuser required>
UEFI: HP v: N75 Ver. 01.18 date: 10/17/2017
Battery:
ID-1: BAT0 charge: 35.7 Wh (94.4%) condition: 37.8/37.8 Wh (100.0%)
volts: 12.6 min: 11.4 model: Hewlett-Packard Primary type: Li-ion
serial: <filter> status: not charging
CPU:
Info: model: Intel Core i7-6600U bits: 64 type: MT MCP arch: Skylake
gen: core 6 level: v3 note: check built: 2015 process: Intel 14nm family: 6
model-id: 0x4E (78) stepping: 3 microcode: 0xF0
Topology: cpus: 1x cores: 2 tpc: 2 threads: 4 smt: enabled cache:
L1: 128 KiB desc: d-2x32 KiB; i-2x32 KiB L2: 512 KiB desc: 2x256 KiB
L3: 4 MiB desc: 1x4 MiB
Speed (MHz): avg: 3271 high: 3401 min/max: 400/3400 scaling:
driver: intel_pstate governor: powersave cores: 1: 3200 2: 3401 3: 3214
4: 3272 bogomips: 22399
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities: <filter>
Graphics:
Device-1: Intel Skylake GT2 [HD Graphics 520] vendor: Hewlett-Packard
EliteBook 840 G3 driver: i915 v: kernel arch: Gen-9 process: Intel 14n
built: 2015-16 ports: active: DP-1 off: eDP-1
empty: DP-2,HDMI-A-1,HDMI-A-2 bus-ID: 00:02.0 chip-ID: 8086:1916
class-ID: 0300
Device-2: Lite-On HP HD Webcam driver: uvcvideo type: USB rev: 2.0
speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-9:5 chip-ID: 04ca:7054
class-ID: 0e02 serial: <filter>
Display: x11 server: X.Org v: 21.1.8 with: Xwayland v: 23.2.1
compositor: kwin_x11 driver: X: loaded: modesetting
alternate: fbdev,intel,vesa dri: iris gpu: i915 display-ID: :0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
s-diag: 582mm (22.93")
Monitor-1: DP-1 pos: primary model: HP E24 G4 serial: <filter> built: 2022
res: 1920x1080 hz: 60 dpi: 93 gamma: 1.2 size: 527x296mm (20.75x11.65")
diag: 604mm (23.8") ratio: 16:9 modes: max: 1920x1080 min: 720x400
Monitor-2: eDP-1 note: disabled model: LG Display 0x04f3 built: 2014
res: 1920x1080 dpi: 210 gamma: 1.2 size: 310x174mm (12.2x6.85")
diag: 355mm (14") ratio: 16:9 modes: 2560x1440
API: EGL v: 1.5 hw: drv: intel iris platforms: device: 0 drv: iris
device: 1 drv: swrast surfaceless: drv: iris x11: drv: iris
inactive: gbm,wayland
API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa v: 23.2.1-arch1.2
glx-v: 1.4 direct-render: yes renderer: Mesa Intel HD Graphics 520 (SKL GT2)
device-ID: 8086:1916 memory: 30.5 GiB unified: yes
API: Vulkan v: 1.3.264 layers: 3 device: 0 type: integrated-gpu name: Intel
HD Graphics 520 (SKL GT2) driver: mesa intel v: 23.2.1-arch1.2
device-ID: 8086:1916 surfaces: xcb,xlib device: 1 type: cpu name: llvmpipe
(LLVM 16.0.6 256 bits) driver: mesa llvmpipe v: 23.2.1-arch1.2 (LLVM
16.0.6) device-ID: 10005:0000 surfaces: xcb,xlib
Audio:
Device-1: Intel Sunrise Point-LP HD Audio vendor: Hewlett-Packard EliteBook
840 G3 driver: snd_hda_intel v: kernel alternate: snd_soc_skl,snd_soc_avs
bus-ID: 00:1f.3 chip-ID: 8086:9d70 class-ID: 0403
Device-2: HP USB Audio driver: hid-generic,snd-usb-audio,usbhid type: USB
rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-5.2:6
chip-ID: 03f0:056b class-ID: 0300 serial: <filter>
API: ALSA v: k6.5.7-zen1-1-zen status: kernel-api tools: N/A
Server-1: PipeWire v: 0.3.81 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
Device-1: Intel Ethernet I219-LM vendor: Hewlett-Packard EliteBook 840 G3
driver: e1000e v: kernel port: N/A bus-ID: 00:1f.6 chip-ID: 8086:156f
class-ID: 0200
IF: enp0s31f6 state: down mac: <filter>
Device-2: Intel Wireless 8260 driver: iwlwifi v: kernel pcie: gen: 1
speed: 2.5 GT/s lanes: 1 bus-ID: 02:00.0 chip-ID: 8086:24f3 class-ID: 0280
IF: wlp2s0 state: down mac: <filter>
Device-3: Realtek RTL8153 Gigabit Ethernet Adapter driver: r8152 type: USB
rev: 3.2 speed: 5 Gb/s lanes: 1 mode: 3.2 gen-1x1 bus-ID: 2-3.4:6
chip-ID: 0bda:8153 class-ID: 0000 serial: <filter>
IF: enp0s20f0u3u4 state: up speed: 1000 Mbps duplex: full mac: <filter>
IF-ID-1: tun0 state: unknown speed: 10000 Mbps duplex: full mac: N/A
Bluetooth:
Device-1: Intel Bluetooth wireless interface driver: btusb v: 0.8 type: USB
rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-7:3 chip-ID: 8087:0a2b
class-ID: e001
Report: btmgmt ID: hci0 rfk-id: 0 state: down bt-service: enabled,running
rfk-block: hardware: no software: yes address: <filter> bt-v: 4.2 lmp-v: 8
status: discoverable: no pairing: no
Drives:
Local Storage: total: 2.29 TiB used: 984.18 GiB (42.1%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: SanDisk model: SD8SN8U-512G-1006
size: 476.94 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
tech: SSD serial: <filter> fw-rev: 0006 scheme: GPT
ID-2: /dev/sdb maj-min: 8:16 vendor: Samsung model: PSSD T7
size: 931.51 GiB block-size: physical: 512 B logical: 512 B type: USB
rev: 3.2 spd: 5 Gb/s lanes: 1 mode: 3.2 gen-1x1 tech: SSD serial: <filter>
scheme: MBR
ID-3: /dev/sdc maj-min: 8:32 vendor: Samsung model: PSSD T7
size: 931.51 GiB block-size: physical: 512 B logical: 512 B type: USB
rev: 3.2 spd: 5 Gb/s lanes: 1 mode: 3.2 gen-1x1 tech: SSD serial: <filter>
Partition:
ID-1: / raw-size: 476.64 GiB size: 476.64 GiB (100.00%)
used: 36.07 GiB (7.6%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
mapped: luks-1358f973-b13a-473d-843e-792ec54a2721
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 720 KiB (0.2%) fs: vfat dev: /dev/sda1 maj-min: 8:1
ID-3: /home raw-size: 476.64 GiB size: 476.64 GiB (100.00%)
used: 36.07 GiB (7.6%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
mapped: luks-1358f973-b13a-473d-843e-792ec54a2721
ID-4: /var/log raw-size: 476.64 GiB size: 476.64 GiB (100.00%)
used: 36.07 GiB (7.6%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
mapped: luks-1358f973-b13a-473d-843e-792ec54a2721
ID-5: /var/tmp raw-size: 476.64 GiB size: 476.64 GiB (100.00%)
used: 36.07 GiB (7.6%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
mapped: luks-1358f973-b13a-473d-843e-792ec54a2721
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
ID-1: swap-1 type: zram size: 31.23 GiB used: 0 KiB (0.0%) priority: 100
comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 4 dev: /dev/zram0
Sensors:
System Temperatures: cpu: 61.0 C pch: 37.5 C mobo: N/A
Fan Speeds (rpm): N/A
Info:
Processes: 232 Uptime: 47m wakeups: 2 Memory: total: 32 GiB
available: 31.23 GiB used: 3.43 GiB (11.0%) Init: systemd v: 254
default: graphical tool: systemctl Compilers: gcc: 13.2.1 Packages:
pm: pacman pkgs: 1454 libs: 424 tools: octopi,pamac,paru pm: flatpak pkgs: 0
Shell: fish v: 3.6.1 default: Bash v: 5.1.16 running-in: konsole
inxi: 3.3.30
Garuda (2.6.17-1):
System install date:     2023-09-21
Last full system update: 2023-10-13 ↻
Is partially upgraded:   No
Relevant software:       snapper NetworkManager dracut
Windows dual boot:       No/Undetected
Failed units:

Maybe this is helpful

https://wiki.archlinux.org/title/Pacman/Rosetta

1 Like

Most of what you want is probably in base-devel but I suspect you already have it installed. You can install anything you are missing with sudo pacman -Syu base-devel --needed

3 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.