llnode icon indicating copy to clipboard operation
llnode copied to clipboard

docs: update Ubuntu install instructions for 20.04 LTS

Open liamaharon opened this issue 4 years ago • 1 comments

Instructions to install lldb and other dependencies do not work on Ubuntu 20.04 (latest LTS).

liam@sleeper:~$ sudo apt-get install lldb-4.0 liblldb-4.0-dev                                                                                                                                              
[sudo] password for liam:                                                                                                                                                                                  
Reading package lists... Done                                                                                                                                                                              
Building dependency tree                                                                                                                                                                                   
Reading state information... Done                                                                                                                                                                          
E: Unable to locate package lldb-4.0                                                                                                                                                                       
E: Couldn't find any package by glob 'lldb-4.0'                                                                                                                                                            
E: Couldn't find any package by regex 'lldb-4.0'                                                                                                                                                           
E: Unable to locate package liblldb-4.0-dev                                                                                                                                                                
E: Couldn't find any package by glob 'liblldb-4.0-dev'                                                                                                                                                     
E: Couldn't find any package by regex 'liblldb-4.0-dev'

Removing the version from lldb and liblldb-dev worked.

liam@sleeper:~$ sudo apt-get install lldb liblldb-dev                                                                                                                                                      
Reading package lists... Done                                                                                                                                                                              
Building dependency tree                                                                                                                                                                                   
Reading state information... Done                                                                                                                                                                          
The following additional packages will be installed:                                                                                                                                                       
  liblldb-10 liblldb-10-dev lldb-10 python3-lldb-10                                                                                                                                                        
The following NEW packages will be installed:                                                                                                                                                              
  liblldb-10 liblldb-10-dev liblldb-dev lldb lldb-10 python3-lldb-10                                                                                                                                       
0 to upgrade, 6 to newly install, 0 to remove and 0 not to upgrade.                                                                                                                                        
Need to get 4,824 kB of archives.                                                                                                                                                                          
After this operation, 22.6 MB of additional disk space will be used.                                                                                                                                       
Do you want to continue? [Y/n]

lldb and liblldb-dev are official Ubuntu packages now, seems specifying like this will install the latest stable release of each package. https://packages.ubuntu.com/focal/lldb https://packages.ubuntu.com/focal/liblldb-dev

liamaharon avatar Jan 03 '21 21:01 liamaharon

When #389 lands we can look to merge this as we will then have support for lldb-10 which is currently broken https://github.com/nodejs/llnode/runs/7138856705?check_suite_focus=true

No9 avatar Aug 14 '22 08:08 No9