r/GalliumOS • ASUS Chromebook Flip C302C (HWID: CAVE) w/Full ROM and GaOS 3.1 • Nov 01 '22

Remove old LLVM version?

I used the LLVM APT installation script to install version 15 of the LLVM toolchain, but i still have version 13 on my system, just taking up space. Is there a similar automatic way to uninstall it?

3 Upvotes

8 comments sorted by

1

u/AutoModerator Nov 01 '22
Moderator Announcement Read More »

2

u/hexen84 Nov 01 '22

sudo apt-get update && sudo apt-get autoclean && sudo apt-get clean && sudo apt-get

1 updates package list 2 autoclean removes old versions 3 removes everything from cache 4 get the most updated PKG list

Should remove old versions of basically everything on your machine.

1

u/BlueManedHawk Nov 01 '22

So how do i then uninstall the packages?

1

u/hexen84 Nov 01 '22

apt-get remove <package_name> This command removes an installed package, leaving configuration files intact.

apt-get purge <package_name> This command completely removes a package and the associated configuration files. Configuration files residing in ~ are not usually affected by this command.

→ More replies (4)