Page 1 of 1

Visual Stuido Code on Fossapup64?

Posted: Wed Jan 12, 2022 6:49 am
by pitju

Hi all,
possible to run Visual Studio Code on Fossapup64?


Re: Visual Stuido Code on Fossapup64?

Posted: Wed Jan 12, 2022 7:39 am
by mistfire

QuickPup64 runs vscode flawlessly when installed
viewtopic.php?t=3171

If you still want to run vscode on FossaPup64
Just get deb package from vscode site
install it then go to terminal and enter this code

Code: Select all

code --no-sandbox

Re: Visual Stuido Code on Fossapup64?

Posted: Wed Jan 12, 2022 12:04 pm
by rockedge

Also this works in Fossapup64 instead of using --no-sandbox

Code: Select all

run-as-spot code

Re: Visual Stuido Code on Fossapup64?

Posted: Wed Jan 12, 2022 12:18 pm
by pitju

Thank you for help!


Re: Visual Stuido Code on Fossapup64?

Posted: Sat Jan 15, 2022 8:42 am
by pitju

I installed a QuickPup64, but I can't figure out, how to install a git and node js with Terminal. It's necessary for typescript develop. (I'm newbye in Puppy Linux).


Re: Visual Stuido Code on Fossapup64?

Posted: Sat Jan 15, 2022 10:23 am
by mistfire
pitju wrote: Sat Jan 15, 2022 8:42 am

I installed a QuickPup64, but I can't figure out, how to install a git and node js with Terminal. It's necessary for typescript develop. (I'm newbye in Puppy Linux).

Install git using PPM or pkg. refer visual studio code documentation or watch fireship.io YT channel for installing node.js


Re: Visual Stuido Code on Fossapup64?

Posted: Sat Jan 15, 2022 3:35 pm
by rockedge

Download the version nodejs you need. I grabbed the LTS version 64 bit Linux, extracted the file to /root/my-applications. Then symlink everything in from /root/my-applications/node-v16/bin to /root/my-applications/bin then it is ready to use.

Screenshot(29).png
Screenshot(29).png (68.83 KiB) Viewed 4943 times

Re: Visual Stuido Code on Fossapup64?

Posted: Sun Jan 16, 2022 12:26 pm
by pitju

Thanks for info, I upgraded the PPM, and after upgrading I found a corresponding node js for myself.


Re: Visual Stuido Code on Fossapup64?

Posted: Mon Jan 17, 2022 2:46 am
by bigpup

So, is this working in Fossapup64 9.5 or QuickPup64?


Re: Visual Stuido Code on Fossapup64?

Posted: Mon Jan 17, 2022 10:56 am
by mistfire
bigpup wrote: Mon Jan 17, 2022 2:46 am

So, is this working in Fossapup64 9.5 or QuickPup64?

On QuickPup64, yes it works and tested flawlessly upon installation. All you need was to install backend programs for vscode plugins that you loaded.

On Fossapup64, you need to run manually with few parameters on terminal unless you logged in as non-root account.


Re: Visual Stuido Code on Fossapup64?

Posted: Wed Sep 14, 2022 6:41 am
by dkf

Hi, there ..... I had this error. Help me, please.

Code: Select all

root# dpkg -i code_1.71.1_1662667267_amd64.deb 
Selecting previously unselected package code.
(Reading database ... 37 files and directories currently installed.)
Preparing to unpack code_1.71.1_1662667267_amd64.deb ...
Unpacking code (1.71.1-1662667267) ...
dpkg: dependency problems prevent configuration of code:
 code depends on ca-certificates; however:
  Package ca-certificates is not installed.
 code depends on libasound2 (>= 1.0.16); however:
  Package libasound2 is not installed.
 code depends on libatk-bridge2.0-0 (>= 2.5.3); however:
  Package libatk-bridge2.0-0 is not installed.
 code depends on libatk1.0-0 (>= 2.2.0); however:
  Package libatk1.0-0 is not installed.
 code depends on libatspi2.0-0 (>= 2.9.90); however:
  Package libatspi2.0-0 is not installed.
 code depends on libc6 (>= 2.14); however:
  Package libc6:amd64 is not installed.
 code depends on libc6 (>= 2.17); however:
  Package libc6:amd64 is not installed.
 code depends on libc6 (>= 2.2.5); however:
  Package libc6:amd64 is not installed.
 code depends on libcairo2 (>= 1.6.0); however:
  Package libcairo2 is not installed.
 code depends on libcurl3-gnutls | libcurl3-nss | libcurl4 | libcurl3; however:
  Package libcurl3-gnutls is not installed.
  Package libcurl3-nss is not installed.
  Package libcurl4 is not installed.
  Package libcurl3 is not installed.
 code depends on libdbus-1-3 (>= 1.5.12); however:
  Package libdbus-1-3 is not installed.
 code depends on libdrm2 (>= 2.4.38); however:
  Package libdrm2 is not installed.
 code depends on libexpat1 (>= 2.0.1); however:
  Package libexpat1 is not installed.
 code depends on libgbm1 (>= 8.1~0); however:
  Package libgbm1 is not installed.
 code depends on libglib2.0-0 (>= 2.16.0); however:
  Package libglib2.0-0 is not installed.
 code depends on libglib2.0-0 (>= 2.39.4); however:
  Package libglib2.0-0 is not installed.
 code depends on libgtk-3-0 (>= 3.9.10); however:
  Package libgtk-3-0 is not installed.
 code depends on libgtk-3-0 (>= 3.9.10) | libgtk-4-1; however:
  Package libgtk-3-0 is not installed.
  Package libgtk-4-1 is not installed.
 code depends on libnspr4 (>= 2:4.9-2~); however:
  Package libnspr4 is not installed.
 code depends on libnss3 (>= 2:3.22); however:
  Package libnss3 is not installed.
 code depends on libnss3 (>= 3.26); however:
  Package libnss3 is not installed.
 code depends on libpango-1.0-0 (>= 1.14.0); however:
  Package libpango-1.0-0 is not installed.
 code depends on libsecret-1-0 (>= 0.18); however:
  Package libsecret-1-0 is not installed.
 code depends on libx11-6; however:
  Package libx11-6 is not installed.
 code depends on libx11-6 (>= 2:1.4.99.1); however:
  Package libx11-6 is not installed.
 code depends on libxcb1 (>= 1.9.2); however:
  Package libxcb1 is not installed.
 code depends on libxcomposite1 (>= 1:0.4.4-1); however:
  Package libxcomposite1 is not installed.
 code depends on libxdamage1 (>= 1:1.1); however:
  Package libxdamage1 is not installed.
 code depends on libxext6; however:
  Package libxext6 is not installed.
 code depends on libxfixes3; however:
  Package libxfixes3 is not installed.
 code depends on libxkbcommon0 (>= 0.4.1); however:
  Package libxkbcommon0 is not installed.
 code depends on libxkbfile1; however:
  Package libxkbfile1 is not installed.
 code depends on libxrandr2; however:
  Package libxrandr2 is not installed.
 code depends on xdg-utils (>= 1.0.2); however:
  Package xdg-utils is not installed.

dpkg: error processing package code (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 code
root#

Re: Visual Stuido Code on Fossapup64?

Posted: Wed Sep 14, 2022 3:03 pm
by rockedge

Hello! :welcome:

to install the .deb file, instead open up the directory where code_1.71.1_1662667267_amd64.deb resides with Rox (file manager)
Then simply click on the .deb file. It should now get installed via Fossapup's internal package management.

Using the command dpkg -i code_1.71.1_1662667267_amd64.deb will not quite work as it does in Ubuntu or Debian, though it does show information on the dependencies.

Try the simple method above and let us know if Visual Code will start and run! There might be a step or 2 to adjust to have success.

I use Visual Code in both Bionic64 and Fossapup64


Re: Visual Stuido Code on Fossapup64?

Posted: Wed Sep 14, 2022 4:22 pm
by dkf

:thumbup2: so simple.
It's work. And i am so sorry for this simple problem.

Thanks a lot for your fast respon.


Re: Visual Stuido Code on Fossapup64?

Posted: Sat Feb 03, 2024 8:23 am
by Gagan
mistfire wrote: Wed Jan 12, 2022 7:39 am

QuickPup64 runs vscode flawlessly when installed
https://forum.puppylinux.com/viewtopic.php?t=3171

If you still want to run vscode on FossaPup64
Just get deb package from vscode site
install it then go to terminal and enter this code

Code: Select all

code --no-sandbox

When I ran no sandbox code it got :
You are trying to start Visual Studio Code as a super user which isn't recommended. If this was intended, please add the argument --no-sandbox and specify an alternate user data directory using the --user-data-dir argument.


Re: Visual Stuido Code on Fossapup64?

Posted: Sat Feb 03, 2024 9:13 am
by user1234
Gagan wrote: Sat Feb 03, 2024 8:23 am
mistfire wrote: Wed Jan 12, 2022 7:39 am

QuickPup64 runs vscode flawlessly when installed
https://forum.puppylinux.com/viewtopic.php?t=3171

If you still want to run vscode on FossaPup64
Just get deb package from vscode site
install it then go to terminal and enter this code

Code: Select all

code --no-sandbox

When I ran no sandbox code it got :
You are trying to start Visual Studio Code as a super user which isn't recommended. If this was intended, please add the argument --no-sandbox and specify an alternate user data directory using the --user-data-dir argument.

You can run it as spot instead:

Code: Select all

run-as-spot code

Although after that you'll have to move all your coding files into spot's home folder (/home/spot) since, as spot, you won't be able to access any files located in root's home folder.