how to install MCUXpresso Installer on ubuntu

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

how to install MCUXpresso Installer on ubuntu

599 Views
sukhwan
Contributor III

I followed description at https://github.com/nxp-mcuxpresso/vscode-for-mcux/wiki/Dependency-Installation. Downloaded MCUXpressoInstaller.deb.bin for Ubuntu. I ran following commands to install it. But I had fails. how to install it on Ubuntu?

<1st command>

./SSD2TB_LINK/projects/tools/nxp/MCUXpressoInstaller.deb.bin
Verifying archive integrity... 100% All good.
Uncompressing MCUXpresso Installer 100%
Please run as root!

<2nd command>

sudo ./SSD2TB_LINK/projects/tools/nxp/MCUXpressoInstaller.deb.bin
Verifying archive integrity... 100% All good.
Uncompressing MCUXpresso Installer 100%
Unpackaging...
INFO: Installation directory: /home/sukhwan.y/MCUXpressoInstaller
INFO: To start the installer, please run /home/sukhwan.y/MCUXpressoInstaller/MCUXpressoInstaller
chown: invalid group: ‘sukhwan.y:sukhwan.y’

 

<3rd command>

$ ~/MCUXpressoInstaller/MCUXpressoInstaller
TypeError: Cannot read properties of undefined (reading 'toString')
at w (/home/sukhwan.y/MCUXpressoInstaller/resources/app/main.js:2:1187313)
at C (/home/sukhwan.y/MCUXpressoInstaller/resources/app/main.js:2:1188037)
at S (/home/sukhwan.y/MCUXpressoInstaller/resources/app/main.js:2:1187998)
at Object.error (/home/sukhwan.y/MCUXpressoInstaller/resources/app/main.js:2:1188208)
at process.<anonymous> (/home/sukhwan.y/MCUXpressoInstaller/resources/app/main.js:2:1274420)
at process.emit (node:events:518:28)
at emitUnhandledRejection (node:internal/process/promises:252:13)
at warnWithErrorCodeUnhandledRejectionsMode (node:internal/process/promises:407:19)
at processPromiseRejections (node:internal/process/promises:475:17)
at process.processTicksAndRejections (node:internal/process/task_queues:106:32)
error: Uncaught rejection with reason: Error: EACCES: permission denied, mkdir '/home/sukhwan.y/MCUXpressoInstaller/logs' {"errno":-13,"code":"EACCES","syscall":"mkdir","path":"/home/sukhwan.y/MCUXpressoInstaller/logs"}

 

<4th command>

~ sudo ~/MCUXpressoInstaller/MCUXpressoInstaller
[0729/181424.604549:FATAL:electron/shell/app/electron_main_delegate.cc:288] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.
Trace/breakpoint trap

Labels (1)
Tags (1)
0 Kudos
Reply
3 Replies

563 Views
sukhwan
Contributor III

I have a question about the end of the response for "sudo ./SSD2TB_LINK/projects/tools/nxp/MCUXpressoInstaller.deb.bin" , which is "chown: invalid group: ‘sukhwan.y:sukhwan.y’" 

My account is in the group of "ab02_sra_allusers". It looks it matters user group, doesn't it?

 


sudo ./SSD2TB_LINK/projects/tools/nxp/MCUXpressoInstaller.deb.bin
Verifying archive integrity... 100% All good.
Uncompressing MCUXpresso Installer 100%
Unpackaging...
INFO: Installation directory: /home/sukhwan.y/MCUXpressoInstaller
INFO: To start the installer, please run /home/sukhwan.y/MCUXpressoInstaller/MCUXpressoInstaller
chown: invalid group: ‘sukhwan.y:sukhwan.y’

$ ll ~/MCUXpressoInstaller
total 228180
drwxr-xr-x 9 root root 4096 Jun 30 01:35 ./
drwxr-x--- 47 sukhwan.y ab02_sra_allusers 4096 Jul 31 14:01 ../
-rw-r--r-- 1 root root 9 Jun 30 01:35 buildnumber.txt
-rw-r--r-- 1 root root 0 Jun 30 01:35 .changelog

 Thanks.

0 Kudos
Reply

527 Views
Harry_Zhang
NXP Employee
NXP Employee

Hi @sukhwan 

Yes, you're exactly right — the error message:

chown: invalid group: ‘sukhwan.y:sukhwan.y’

means the installer tried to set the ownership of a file or directory using a user:group pair (sukhwan.y:sukhwan.y), but the group sukhwan.y does not exist on your system.

I think it doesn't block the installer from working — it just means ownership wasn’t set correctly.

You can fix it by manually running chown with your real group.

BR

Harry

0 Kudos
Reply

575 Views
Harry_Zhang
NXP Employee
NXP Employee

Hi @sukhwan 

I tested it just now.

I downloaded the MCUXpressoInstaller.deb.bin.

zhangh@tic-public:~/software$ ./MCUXpressoInstaller.deb.bin
Verifying archive integrity... 100% All good.
Uncompressing MCUXpresso Installer 100%
Please run as root!
zhangh@tic-public:~/software$ sudo ./MCUXpressoInstaller.deb.bin
Verifying archive integrity... 100% All good.
Uncompressing MCUXpresso Installer 100%
Unpackaging...
INFO: Installation directory: /home/zhangh/MCUXpressoInstaller
INFO: To start the installer, please run /home/zhangh/MCUXpressoInstaller/MCUXpressoInstaller

And i try to run /home/zhangh/MCUXpressoInstaller/MCUXpressoInstaller

Harry_Zhang_0-1753930349632.png

It can work.

BR

Harry

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2143739%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3Ehow%20to%20install%20MCUXpresso%20Installer%20on%20ubuntu%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2143739%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20followed%20description%20at%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fnxp-mcuxpresso%2Fvscode-for-mcux%2Fwiki%2FDependency-Installation%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2Fnxp-mcuxpresso%2Fvscode-for-mcux%2Fwiki%2FDependency-Installation%3C%2FA%3E.%20Downloaded%26nbsp%3BMCUXpressoInstaller.deb.bin%20for%20Ubuntu.%20I%20ran%20following%20commands%20to%20install%20it.%20But%20I%20had%20fails.%20how%20to%20install%20it%20on%20Ubuntu%3F%3C%2FP%3E%3CP%3E%26lt%3B1st%20command%26gt%3B%3C%2FP%3E%3CP%3E.%2FSSD2TB_LINK%2Fprojects%2Ftools%2Fnxp%2FMCUXpressoInstaller.deb.bin%3CBR%20%2F%3EVerifying%20archive%20integrity...%20100%25%20All%20good.%3CBR%20%2F%3EUncompressing%20MCUXpresso%20Installer%20100%25%3CBR%20%2F%3EPlease%20run%20as%20root!%3C%2FP%3E%3CP%3E%26lt%3B2nd%20command%26gt%3B%3C%2FP%3E%3CP%3Esudo%20.%2FSSD2TB_LINK%2Fprojects%2Ftools%2Fnxp%2FMCUXpressoInstaller.deb.bin%3CBR%20%2F%3EVerifying%20archive%20integrity...%20100%25%20All%20good.%3CBR%20%2F%3EUncompressing%20MCUXpresso%20Installer%20100%25%3CBR%20%2F%3EUnpackaging...%3CBR%20%2F%3EINFO%3A%20Installation%20directory%3A%20%2Fhome%2Fsukhwan.y%2FMCUXpressoInstaller%3CBR%20%2F%3EINFO%3A%20To%20start%20the%20installer%2C%20please%20run%20%2Fhome%2Fsukhwan.y%2FMCUXpressoInstaller%2FMCUXpressoInstaller%3CBR%20%2F%3Echown%3A%20invalid%20group%3A%20%E2%80%98sukhwan.y%3Asukhwan.y%E2%80%99%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%26lt%3B3rd%20command%26gt%3B%3C%2FP%3E%3CP%3E%24%20~%2FMCUXpressoInstaller%2FMCUXpressoInstaller%3CBR%20%2F%3ETypeError%3A%20Cannot%20read%20properties%20of%20undefined%20(reading%20'toString')%3CBR%20%2F%3Eat%20w%20(%2Fhome%2Fsukhwan.y%2FMCUXpressoInstaller%2Fresources%2Fapp%2Fmain.js%3A2%3A1187313)%3CBR%20%2F%3Eat%20C%20(%2Fhome%2Fsukhwan.y%2FMCUXpressoInstaller%2Fresources%2Fapp%2Fmain.js%3A2%3A1188037)%3CBR%20%2F%3Eat%20S%20(%2Fhome%2Fsukhwan.y%2FMCUXpressoInstaller%2Fresources%2Fapp%2Fmain.js%3A2%3A1187998)%3CBR%20%2F%3Eat%20Object.error%20(%2Fhome%2Fsukhwan.y%2FMCUXpressoInstaller%2Fresources%2Fapp%2Fmain.js%3A2%3A1188208)%3CBR%20%2F%3Eat%20process.%3CANONYMOUS%3E%20(%2Fhome%2Fsukhwan.y%2FMCUXpressoInstaller%2Fresources%2Fapp%2Fmain.js%3A2%3A1274420)%3CBR%20%2F%3Eat%20process.emit%20(node%3Aevents%3A518%3A28)%3CBR%20%2F%3Eat%20emitUnhandledRejection%20(node%3Ainternal%2Fprocess%2Fpromises%3A252%3A13)%3CBR%20%2F%3Eat%20warnWithErrorCodeUnhandledRejectionsMode%20(node%3Ainternal%2Fprocess%2Fpromises%3A407%3A19)%3CBR%20%2F%3Eat%20processPromiseRejections%20(node%3Ainternal%2Fprocess%2Fpromises%3A475%3A17)%3CBR%20%2F%3Eat%20process.processTicksAndRejections%20(node%3Ainternal%2Fprocess%2Ftask_queues%3A106%3A32)%3CBR%20%2F%3Eerror%3A%20Uncaught%20rejection%20with%20reason%3A%20Error%3A%20EACCES%3A%20permission%20denied%2C%20mkdir%20'%2Fhome%2Fsukhwan.y%2FMCUXpressoInstaller%2Flogs'%20%7B%22errno%22%3A-13%2C%22code%22%3A%22EACCES%22%2C%22syscall%22%3A%22mkdir%22%2C%22path%22%3A%22%2Fhome%2Fsukhwan.y%2FMCUXpressoInstaller%2Flogs%22%7D%3C%2FANONYMOUS%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%26lt%3B4th%20command%26gt%3B%3C%2FP%3E%3CP%3E~%20sudo%20~%2FMCUXpressoInstaller%2FMCUXpressoInstaller%3CBR%20%2F%3E%5B0729%2F181424.604549%3AFATAL%3Aelectron%2Fshell%2Fapp%2Felectron_main_delegate.cc%3A288%5D%20Running%20as%20root%20without%20--no-sandbox%20is%20not%20supported.%20See%20%3CA%20href%3D%22https%3A%2F%2Fcrbug.com%2F638180%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fcrbug.com%2F638180%3C%2FA%3E.%3CBR%20%2F%3ETrace%2Fbreakpoint%20trap%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2143739%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3EMCXC%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2146089%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20how%20to%20install%20MCUXpresso%20Installer%20on%20ubuntu%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2146089%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F252274%22%20target%3D%22_blank%22%3E%40sukhwan%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYes%2C%20you're%20exactly%20right%20%E2%80%94%20the%20error%20message%3A%3C%2FP%3E%0A%3CP%3Echown%3A%20invalid%20group%3A%20%E2%80%98sukhwan.y%3Asukhwan.y%E2%80%99%3C%2FP%3E%0A%3CP%3Emeans%20the%20installer%20tried%20to%20set%20the%20ownership%20of%20a%20file%20or%20directory%20using%20a%20user%3Agroup%20pair%20(sukhwan.y%3Asukhwan.y)%2C%20but%20the%20group%20sukhwan.y%20does%20not%20exist%20on%20your%20system.%3C%2FP%3E%0A%3CP%3EI%20think%26nbsp%3Bit%20doesn't%20block%20the%20installer%20from%20working%20%E2%80%94%20it%20just%20means%20ownership%20wasn%E2%80%99t%20set%20correctly.%3C%2FP%3E%0A%3CP%3EYou%20can%20fix%20it%20by%20manually%20running%20chown%20with%20your%20real%20group.%3C%2FP%3E%0A%3CP%3EBR%3C%2FP%3E%0A%3CP%3EHarry%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2144750%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20how%20to%20install%20MCUXpresso%20Installer%20on%20ubuntu%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2144750%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20have%20a%20question%20about%20the%20end%20of%20the%20response%20for%20%22%3CEM%3Esudo%20.%2FSSD2TB_LINK%2Fprojects%2Ftools%2Fnxp%2FMCUXpressoInstaller.deb.bin%22%3C%2FEM%3E%26nbsp%3B%2C%20which%20is%20%22%3CSTRONG%3E%3CEM%3Echown%3A%20invalid%20group%3A%20%E2%80%98sukhwan.y%3Asukhwan.y%E2%80%99%22%3C%2FEM%3E%26nbsp%3B%3CBR%20%2F%3E%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3EMy%20account%20is%20in%20the%20group%20of%20%22%3CEM%3Eab02_sra_allusers%22.%20It%20looks%20it%20matters%20user%20group%2C%20doesn't%20it%3F%3C%2FEM%3E%3C%2FP%3E%3CBLOCKQUOTE%3E%3CBR%20%2F%3E%3CP%3E%3CBR%20%2F%3E%3CEM%3Esudo%20.%2FSSD2TB_LINK%2Fprojects%2Ftools%2Fnxp%2FMCUXpressoInstaller.deb.bin%3C%2FEM%3E%3CBR%20%2F%3E%3CEM%3EVerifying%20archive%20integrity...%20100%25%20All%20good.%3C%2FEM%3E%3CBR%20%2F%3E%3CEM%3EUncompressing%20MCUXpresso%20Installer%20100%25%3C%2FEM%3E%3CBR%20%2F%3E%3CEM%3EUnpackaging...%3C%2FEM%3E%3CBR%20%2F%3E%3CEM%3EINFO%3A%20Installation%20directory%3A%20%2Fhome%2Fsukhwan.y%2FMCUXpressoInstaller%3C%2FEM%3E%3CBR%20%2F%3E%3CEM%3EINFO%3A%20To%20start%20the%20installer%2C%20please%20run%20%2Fhome%2Fsukhwan.y%2FMCUXpressoInstaller%2FMCUXpressoInstaller%3C%2FEM%3E%3CBR%20%2F%3E%3CSTRONG%3E%3CEM%3Echown%3A%20invalid%20group%3A%20%E2%80%98sukhwan.y%3Asukhwan.y%E2%80%99%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FEM%3E%3C%2FSTRONG%3E%3CEM%3E%24%20ll%20~%2FMCUXpressoInstaller%3C%2FEM%3E%3CSTRONG%3E%3CEM%3E%3CBR%20%2F%3E%3C%2FEM%3E%3C%2FSTRONG%3E%3CEM%3Etotal%20228180%3C%2FEM%3E%3CEM%3E%3CBR%20%2F%3Edrwxr-xr-x%209%20root%20root%204096%20Jun%2030%2001%3A35%20.%2F%3CBR%20%2F%3Edrwxr-x---%2047%20sukhwan.y%20ab02_sra_allusers%204096%20Jul%2031%2014%3A01%20..%2F%3CBR%20%2F%3E-rw-r--r--%201%20root%20root%209%20Jun%2030%2001%3A35%20buildnumber.txt%3CBR%20%2F%3E%3C%2FEM%3E%3CEM%3E-rw-r--r--%201%20root%20root%200%20Jun%2030%2001%3A35%20.changelog%3C%2FEM%3E%3CSTRONG%3E%3CEM%3E%3CBR%20%2F%3E%3C%2FEM%3E%3C%2FSTRONG%3E%3C%2FP%3E%3C%2FBLOCKQUOTE%3E%3CP%3E%26nbsp%3BThanks.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2144069%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20how%20to%20install%20MCUXpresso%20Installer%20on%20ubuntu%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2144069%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F252274%22%20target%3D%22_blank%22%3E%40sukhwan%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20tested%20it%20just%20now.%3C%2FP%3E%0A%3CP%3EI%20downloaded%20the%26nbsp%3BMCUXpressoInstaller.deb.bin.%3C%2FP%3E%0A%3CP%3Ezhangh%40tic-public%3A~%2Fsoftware%24%20.%2FMCUXpressoInstaller.deb.bin%3CBR%20%2F%3EVerifying%20archive%20integrity...%20100%25%20All%20good.%3CBR%20%2F%3EUncompressing%20MCUXpresso%20Installer%20100%25%3CBR%20%2F%3EPlease%20run%20as%20root!%3CBR%20%2F%3Ezhangh%40tic-public%3A~%2Fsoftware%24%20sudo%20.%2FMCUXpressoInstaller.deb.bin%3CBR%20%2F%3EVerifying%20archive%20integrity...%20100%25%20All%20good.%3CBR%20%2F%3EUncompressing%20MCUXpresso%20Installer%20100%25%3CBR%20%2F%3EUnpackaging...%3CBR%20%2F%3EINFO%3A%20Installation%20directory%3A%20%2Fhome%2Fzhangh%2FMCUXpressoInstaller%3CBR%20%2F%3EINFO%3A%20To%20start%20the%20installer%2C%20please%20run%20%2Fhome%2Fzhangh%2FMCUXpressoInstaller%2FMCUXpressoInstaller%3C%2FP%3E%0A%3CP%3EAnd%20i%20try%20to%20run%26nbsp%3B%2Fhome%2Fzhangh%2FMCUXpressoInstaller%2FMCUXpressoInstaller%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Harry_Zhang_0-1753930349632.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Harry_Zhang_0-1753930349632.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F350361i94841C2D3C616C73%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Harry_Zhang_0-1753930349632.png%22%20alt%3D%22Harry_Zhang_0-1753930349632.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EIt%20can%20work.%3C%2FP%3E%0A%3CP%3EBR%3C%2FP%3E%0A%3CP%3EHarry%3C%2FP%3E%3C%2FLINGO-BODY%3E