Visual Stuido Code on Fossapup64?

Moderators: 666philb, Forum moderators

Post Reply
pitju
Posts: 5
Joined: Wed Jan 12, 2022 6:43 am

Visual Stuido Code on Fossapup64?

Post by pitju »

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

mistfire
Posts: 662
Joined: Thu Jul 16, 2020 2:16 am
Location: CALABARZON, PH
Has thanked: 3 times
Been thanked: 143 times

Re: Visual Stuido Code on Fossapup64?

Post 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
User avatar
rockedge
Site Admin
Posts: 5847
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 2096 times
Been thanked: 2188 times
Contact:

Re: Visual Stuido Code on Fossapup64?

Post by rockedge »

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

Code: Select all

run-as-spot code
pitju
Posts: 5
Joined: Wed Jan 12, 2022 6:43 am

Re: Visual Stuido Code on Fossapup64?

Post by pitju »

Thank you for help!

pitju
Posts: 5
Joined: Wed Jan 12, 2022 6:43 am

Re: Visual Stuido Code on Fossapup64?

Post 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).

mistfire
Posts: 662
Joined: Thu Jul 16, 2020 2:16 am
Location: CALABARZON, PH
Has thanked: 3 times
Been thanked: 143 times

Re: Visual Stuido Code on Fossapup64?

Post 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

User avatar
rockedge
Site Admin
Posts: 5847
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 2096 times
Been thanked: 2188 times
Contact:

Re: Visual Stuido Code on Fossapup64?

Post 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 3957 times
pitju
Posts: 5
Joined: Wed Jan 12, 2022 6:43 am

Re: Visual Stuido Code on Fossapup64?

Post by pitju »

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

User avatar
bigpup
Moderator
Posts: 6420
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 766 times
Been thanked: 1327 times

Re: Visual Stuido Code on Fossapup64?

Post by bigpup »

So, is this working in Fossapup64 9.5 or QuickPup64?

Forum Global Moderator
The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

mistfire
Posts: 662
Joined: Thu Jul 16, 2020 2:16 am
Location: CALABARZON, PH
Has thanked: 3 times
Been thanked: 143 times

Re: Visual Stuido Code on Fossapup64?

Post 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.

dkf
Posts: 2
Joined: Tue Sep 13, 2022 12:13 am

Re: Visual Stuido Code on Fossapup64?

Post 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#
User avatar
rockedge
Site Admin
Posts: 5847
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 2096 times
Been thanked: 2188 times
Contact:

Re: Visual Stuido Code on Fossapup64?

Post 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

dkf
Posts: 2
Joined: Tue Sep 13, 2022 12:13 am

Re: Visual Stuido Code on Fossapup64?

Post by dkf »

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

Thanks a lot for your fast respon.

Gagan
Posts: 1
Joined: Wed Oct 18, 2023 7:45 am

Re: Visual Stuido Code on Fossapup64?

Post 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.

User avatar
user1234
Posts: 413
Joined: Sat Feb 26, 2022 5:48 am
Location: Somewhere on earth
Has thanked: 154 times
Been thanked: 88 times

Re: Visual Stuido Code on Fossapup64?

Post 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.

PuppyLinux 🐾 gives new life to old computers ✨

Post Reply

Return to “Fossapup64”